Pretty cool. I had an idea and have tried to implement it. Maybe you can take it one step further than I've been able to.
Remember the code you and SeaGtGruff did for a scrolling playfield?
I like both demos, this one and the playfield one. I thought this one could be improved upon. I took your playfield scrolling code and combined it with this
code.
Here is what I've implemented so far:
Your original: When you move in your original demo it would just change the playfield to one of three showing the movement of the gun.
What I changed: The gun is now a player sprite. When you move, it does a gosub to the gun drawing routine and then comes back out of it.
My problem: I can't figure out how to change the sprite color. I've tried, it doesn't seem to work. It ends up the same color as the playfield and is
"hidden" because of the color. You can see it's there and that it moves when you move, though. I like the original color of the playfield (redish) but would
like to see the gun a different color. Since I can't figure out the color, obviously the missle being shot gets "hidden" in the playfield as well.
----
What I changed: Moved crosshair to top for now just for demo purposes. I have not set any boundries of where it can and cannot travel, thus since it's the
same color as the playfield it gets "hidden" down there. The boundries need to be set to only allow it up top.
Attached to this is the code I've done in case anyone wants to fool around with it.. oh, I've changed the title screen so you need to hit F2 to start now.
Edited just to say hope you like it and that we can make it into something cool.
Edited by yuppicide, Wed Sep 10, 2008 12:33 PM.