I worked on the shooter. I found some code that allowed me to easily create circles that I am going to use as my targets, at least temporarily. The way I am defining things, it should be easy to use a sprite or a 3d object later without much effort. I setup objects to spawn at regular intervals, and created a way for them to be maintained and drawn easily.
I made a simplistic bitmap that I could use as the player avatar (the shooter) and stuck that into the game. I hooked it up to the left thumbstick and played around with moving my little guy around. It was surprising just how intuitive it was to get it working.
I'm not sure exactly what my next step will be. I'll probably work on getting bounding boxes set up, since currently the shooter can walk over the other objects. I also need to implement the actual shooting part, and I will need to do some investigation for this. Also, I need to work on how the objects are destroyed when shot, but I can just make them disappear to start with. The objects that are shot at are have some growth properties to them that I need to implement. And, I need to get the random spawn portion working, since I am spawning predictably right now.
Post a Comment