I believe I posted this in the right section, but I am starting to make a shooting game as a school project and would like to know what the best way of doing this is. I am thinking of having bullets rebound off of the wall and that way you can die if you do not jump out of the way fast enough. I think the bullets are just going to go straight but how do I make it that the charactors don't die after one hit? How do I make bullets come out of the gun!? etc.
Offline
You could at least try to create one before asking for help.
There are many games of this type already as well, so I suggest you go and find one and take a look at the scripts for inspiration.
Offline
You could:
-Create a variable called "lives"
-Slow down the bullet speed (change "glide" seconds or xvel/yvel)
-Put a bullet sprite "go back (1) layer" over a gun sprite, and then, say "space" is shoot, say
when [space v] key pressed broadcast [shoot]And then:
when i receive [shoot] go to front glide (0.5) secs to [wall v] if on edge, bounceI hope you found my suggestions helpful.
Offline