Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Making an aircraft game
- iPlane_Flyer
-
1 post
Making an aircraft game
I am making an aircraft game, and the objective is to avoid the other aircraft. I have posted an example of the game so far here.
I would like the stage to change from the ‘sky’ stage to the ‘game over’ stage when the aircraft hits the other. How do I do this?
Also, I would like to have the aircraft make an exploding sound when it hits others. The attempt I have made to do this has failed. How can I do this?
Thanks.
I would like the stage to change from the ‘sky’ stage to the ‘game over’ stage when the aircraft hits the other. How do I do this?
Also, I would like to have the aircraft make an exploding sound when it hits others. The attempt I have made to do this has failed. How can I do this?
Thanks.
- drmcw
-
1000+ posts
Making an aircraft game
You need to put your color touching script in a forever loop otherwise it runs once and then ends. You need to keep checking. To change a backdrop use
To detect whether the aircrafts hit use
To detect whether the aircrafts hit use
which should be better than detecting color.
Last edited by drmcw (June 17, 2014 20:53:44)
- VynilScratch
-
3 posts
Making an aircraft game
Ok, ok.
What you really need to do is, well first, make it so the plane can go either forwards or backwards. then, follow drmcw's tips. Maybe have a theme.
What you really need to do is, well first, make it so the plane can go either forwards or backwards. then, follow drmcw's tips. Maybe have a theme.
- deck26
-
1000+ posts
Making an aircraft game
Please don't spam the forum. nl;lbklnm;v,.;n @VB@k,'v;khb,n
Last edited by deck26 (Oct. 23, 2015 12:28:10)
- Discussion Forums
- » Help with Scripts
-
» Making an aircraft game