Good night
I'm new in game programming, so I have some questions.
I'm doing a shooter game, like Gradius, a 2d game with side scrolling.
I have my ship controls working fine, but now the problem is: How can I make a shot (a bullet, for example) starts to navigate across screen when I activate "space" key on keyboard?
I know how to make something to move based on a specific key, but I cant figure how to make this key trigger an event as a bullet, and in what I could base this bullet to navigate in screen.
Sorry for my low quality English, I'm from Brazil, so English is a foreign language for me.
Thanks in advance.