Computer Science Canada Help shooting in megaman program |
Author: | nick48 [ Thu Apr 29, 2010 7:36 am ] | ||
Post subject: | Help shooting in megaman program | ||
What is it you are trying to achieve? I need it to shoot straight across. What is the problem you are having? I can't figure out how to do it. Describe what you have tried to solve this problem Everything Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Please specify what version of Turing you are using 4.1.1 |
Author: | USEC_OFFICER [ Thu Apr 29, 2010 11:43 am ] |
Post subject: | RE:Help shooting in megaman program |
We need a better explaination than trying to shoot straight across. I'm not a mind reader... Yet. |
Author: | Turing_Gamer [ Thu Apr 29, 2010 11:54 am ] |
Post subject: | RE:Help shooting in megaman program |
What you need to do is have an if statement saying if bullet is onscreen, then xbullet will change or ybullet if you aim up. Else reset bullet position offscreen and don't move it. |