Category Archives: GameDev

Manjaro + Unity

I’ve run into issues with manjaro and unity in the past. I thought I’d just get a post together on what I’ve done this time around to get it up and running again. This time around it took me a little less than an hour to get it working but I don’t want to keep hunting for the problems I’ve solved in the past.

From a fresh install (with proprietary drivers):

Enable AUR in package manager. Install yay. Do a little update.

sudo pacman -Syu
sudo pacman -S base-devel
sudo pacman -S dotnet-sdk
yay -S unityhub

When selecting how the dependencies compile… Choose All and None (or All if you care about the diffs)

Launch unityhub.

Download whatever version of Unity is required in the hub – I’ve been using 2021.3 for awhile.

First launch of Unity failed… or never really started and hung on an asset refresh. I recalled having to deal with bee_backend last time I did this, so:

cd ~/Unity/Hub/Editor/2021.3.45f2/Editor/Data
cp bee_backend bee_backend_real
vi bee_backend

#! /bin/bash
args=("$@")
for ((i=0; i<"${#args[@]}"; ++i))
do
    case ${args[i]} in
        --stdin-canary)
            unset args[i];
            break;;
    esac
done
${0}_real "${args[@]}"   

chmod +x ./bee_backend

Launching Unity again I was faced with “compilation” errors because libssl wasn’t found.

Install openssl-1.1 but… I had to do this using the package manager and the AUR.

Download Rider for Linux

… and that was it! I hope!

Debuggery

I was having a terrible time finding if a sword slash hit a barrel or not… which, it clearly did not because the barrel did not trigger a collision. After numerous attempts to figure out what was going on, I started on a path to debug … well … the path the collider was on! So I wrote a script.

I’m using box colliders since everything I’m doing does not require precision. This makes it easy to script up something to highlight the path my colliders have been on.

Continue reading Debuggery

Zero percent days

After looking into Unity’s 9-slice sprites I haven’t spent a lot of time (read: zero) working on my project. Turns out the 9-slice sprites really suck for grid alignment and tilemaps.

I’m moving over to use Super Tilemap Editor instead. It has some nice editing tools that I hope will be useful in designing rooms for the dungeons. Today I’m breaking my zero percent streak.

Lacking Updates Again

Can’t say much other than life has been fairly busy. Our kitchen remodel is finally done. It only took 3+ months of actual construction but that was after 6 months of waiting for them to get started. Now that it is done I expect to send out some invites to friends in the area for a potluck!

Game development has been slow but I have been working step by step on http://www.averagejoesoftware.com/. I have automated builds published to the site (that I’m not publicly sharing yet) and a link to a Trello bug board. I haven’t exposed the feature board yet but that’s setup too.

Continue reading Lacking Updates Again

Action Sequence

I’ve been working on a simple platforming dungeon crawler. I’m not a super game developer or an amazing artist but it’s not stopping me from building something I want to play.

In my dungeon crawler I want to do more than just whack skeletons with a big ol’ axe. I want to play with multiple people on the screen, cast spells that help my allies and hurt my foes, and I want the experience to be fun.

Continue reading Action Sequence

Parallax Scrolling

I found a fantastic post here for building a parallax background in Unity.

I had a parallax background done in 5 minutes. The hardest part was figuring out if I wanted to use a plane with a texture material or something else. (I went with a plane for this one).