Saturday, October 6, 2018

Bag Boy Walks!

I have been working on the power up system now for a little bit and cannot seem to wrap my head around why I cannot get it to stick.  The power ups generate.  I don't know why it flashes around for a little, which I don't really mind because I do kind of like the appearance of it.  I would like it to where you cannot benefit by clicking on the flickers for points but again, that is not a big deal because it disappears when you grab the next cart and it also is an added plus - risk the cart hitting the car for a few points or grab the cart.  The issue is that while the power up generates, I cannot seem to get it to change color, and by extension I cannot get each color to have an attribute that change's Bag Boy's properties.

Once I get the power up system figured out the next step is creating the two other playfield "levels," which is Ice Parking Lot and Rainy Parking Lot.  I have the code kind of down for the appearance of rain or snow:

 rem SNOW
 COLUBK=14
 missile1x=(rand&100)
 missile1y=(rand&100)

or:

REM RAIN
COLUBK=156
 rem rain
 NUSIZ1=$10
 missile1height=
 missile1x=(rand&124)-1
 missile1y=(rand&100)-1

While this code isn't perfect, I find it provides for the appropriate aesthetic for this game in the simplest way.  I use the missile1 instead of the ball because the color of missile1 would be the same as the shopping cart, which would work well on as snow or rain and show up on a blue (rainy) or white (snowy) background.

I have also been playing around with the titlescreen.  I have yet to figure out how to use the titlescreen kernels but I was bothered by my original appearance of the game name, which I thought looked like a ghost.

I also added sprite animation for Bag Boy although I cannot quite figure out why he moves like Gumby every once and a while.  I suspect it has something to do with joy0fire being held down and needing to be reset but not sure how to implement that.



UPDATE:

Fixed animation and power up spawning!


Manatee Madness!

Stage work is coming along nicely, with the foundations laid down for the Rain, Snow, and Volcano stage. The Black Friday stage is proving ...