After some reading numerous examples online and practicing some code, I had decided on using missiles for the cars, or at least until I come up with a better idea if one does exist. I am still working on the other sprites, like the Fake Service Dog. So far I have figured out how to make the missile as an 8x8 square. While it requires some imagination to think of it as a car, right now it is better than nothing and gives me a starting point. I am considering make a car that sustains damage from the carts by changing the size of the missile with each collision.
For example, start with a 8x8 missiles side by side to make a "car." With each collision, the missile will half in size. When the missile is reduced to zero a new "car" will generate, or maybe a life is lost.
Or I may have a car health bar on the bottom of the screen by the score.
Or I may have a car health bar on the bottom of the screen by the score.
Not sure.
Currently I have the Car generate on the right side of the screen and scroll to the left, attracting the shopping cart. When the car reaches the left side of the screen it randomly generates back onto the right side of the screen with new y-coordinates. So far it keeps going after a collision.
In this latest update I had also added sprite reflection so that the shopping cart always faces the car and player 1 changes direction, but I would much rather animate player 1 in the future.
Currently I have the Car generate on the right side of the screen and scroll to the left, attracting the shopping cart. When the car reaches the left side of the screen it randomly generates back onto the right side of the screen with new y-coordinates. So far it keeps going after a collision.
In this latest update I had also added sprite reflection so that the shopping cart always faces the car and player 1 changes direction, but I would much rather animate player 1 in the future.
No comments:
Post a Comment