Home Artists Posts Import Register

Content

Colors and drones and levels, oh my!

I decided to do a rewrite on the code for the enemy, the Mustard Knife drone. The initial hacked code was basically just a bunch of simple if/thens but I knew that wasn't going to cut it once I started having them do more complicated stuff than just move left and right and change animations. It's now a simple state machine where I check for inputs and assign states to the enemy THEN the code acts on those states. It just means I can track more complicated stuff easier.

Since all that is under the hood and look absolutely the same on screen when it's working... and it took me 3 rewrites to get it working to basically what I had a few days earlier. I did fix some bugs where it wasn't changing animations from walk to idle even though it did change to the idle state. I also tried to add some sound effects and a music track in but they weren't working out so I put that on hold for now.

I did some more experimenting with the background look. Painting up some bits and grabbing elements from previous tries at making some tile sets from years back. It feels much better with some less crappy looking art :) 

While I was at it I thought I see if I could work out a way to do some cheat lighting using an old tinting method I came up with for Amazon Queen and used again in the first TY (Before we had proper lighting systems). Basically sprites check if they're overlapping some light objects and then the game tints them with the color of the light object. Not great for brightening things but great for shading. I also added some tweening to the values so it's a little smoother (the light objects are basically just boxes.

Oh yeah and if you look at the jumping I made it so Kit goes behind the top platform when she jumps up and then in front of it on the way down. I thought that was going to be painful to implement but it turned out to be super easy :)


I'll... probably... add some props and more combat stuff this weekend. Although if I get an idea for something cool I'll probably do that first.  

 

Files

Bossa Nova Dev 4

I did a full rewrite of the basic AI for the enemy drone - like, 3 times. Since you can't see anything I also did some more experimenting with the background look as well as a simple colored lighting hack. You can read more detail over here on my Patreon (free post) https://www.patreon.com/posts/bossa-nova-dev-4-75437517

Comments

No comments found for this post.