Game
Hensen Hopper
1 year ago

I've published a small update to the game! Sadly, the beetle enemy isn't yet implemented, but I'm working on that and I HAVE implemented the new enemy spawning mechanics! The full changelog can be found in each zip archive but it's also pasted below.


Changes in v0.1.2:

- replaced PrefabSpawner script with a simpler Spawner script that simply spawns the prefab passed in the method call.

- Reworked how enemy spawning is handled. The previous system utilized a SpawnPattern structure which contained an enemy prefab and the columns in which to spawn it. The updated system still uses this but instead of a single prefab and a list of columns, it now uses a list of "SpawnInstance" struct instances each of which contain an enemy prefab and a column in which to spawn it. This allows me to fully control which enemies spawn in which columns on a per-pattern basis, including the ability to have multiple spawn in the same column (which will be useful later for the beetle enemy).

- Spawn patterns have been changed some, certain patterns from before no longer exist and have been replaced with new patterns (this is a result of loosing all spawn patterns I had previously put together when I reworked the enemy spawning behavior)



0 comments

Loading...

Next up

I've worked out a process for drawing bushes that I'm using for the backdrop! First I draw the branches, then "paint" where the bush texture will be, copy it's alpha to a new layer in white, then draw it's shadows in a layer over the bush layer.

I've been working on the backdrop today! Among other things I've done, I made a bush! I know, SOOOO impressive lol.

This is just about the only situation in which I'll ever do this. I almost never put multiple calls to methods on the same line but here I've logged a warning to remind furure me to do something I didn't have time to do today in a glaringly obvious way.

Who do you like more?

- OLD or New

Here's a short video showing off the improved gameplay loop and "stage complete" screen. The updated artwork for Hensen and his gun and the honey bullets can also be seen.

Alright, I've been thinking... I wanna do a fly-off-screen when you complete a stage in Hensen Hopper (classic shmup stuff) and I COULD just hardcode it into the character controller script but I came up with a more nuanced solution.

Very unfinished but the backdrop image, as it is in this video, is already leagues better than what I had last weekend! I'm going to work on it incrementally over the coming weeks as I work on implementing the stages idea I talked about before!

This is a short video showing off the new procedurally generated enemy waves in Hensen! In theory, the game will become more and more unpredictable as I continue to build and implement new enemies!!!

Close-up of the re-shaded Hensen!

Okay, so the stages and score saving are both more or less working. Your score and high score will be saved throughout the lifetime of the application. Currently nothing saves when the game is closed, though, I'll be working on that next weekend.