Pages: 1
Topic closed
I made a shooting game.
It works, but at the end, when the time is up, the background changes to a "well done" notice, when the background changed the game stops. But the flying sprites stay on and
cover the words. Even though they stopped moving, they stay still covering the image.
At the last scrips part of the well done notice, I put it as.
'switch to background [trophy]'
<stop all>
The flying targets is just a loop making them randomly fly, and randomly reappear when shot after 0.1 - 2 seconds.
Chat can I add on to the targets and final background to make the targets hide?
Thanks, I will post my game after.
Offline
make a variable called Game Over
right after a "Green Flag clicked" block, set Game Over to no
when time is up, set Game Over to yes
in the flying sprites, add a block that says if Game Over = Yes, Stop Script
Offline
could u just post the game now... i can make the modifications to it and don't want any credit
Offline
DemonRider wrote:
I made a shooting game.
It works, but at the end, when the time is up, the background changes to a "well done" notice, when the background changed the game stops. But the flying sprites stay on and
cover the words. Even though they stopped moving, they stay still covering the image.
At the last scrips part of the well done notice, I put it as.
'switch to background [trophy]'
<stop all>
The flying targets is just a loop making them randomly fly, and randomly reappear when shot after 0.1 - 2 seconds.
Chat can I add on to the targets and final background to make the targets hide?
Thanks, I will post my game after.
when the timer ends, make it broadcast win. on the sprite, make a when i receive win block and attach a hide block to that.
Offline
sorry, none of your suggestions work?
And no, I will not let anyone edit my games
Offline
emboar30's suggestion should work. Just make a script on the stage that broadcasts 'end' when the background switches to the right one, and have this script in the sprites.
When I receive 'end' hide
Offline
Harakou wrote:
emboar30's suggestion should work. Just make a script on the stage that broadcasts 'end' when the background switches to the right one, and have this script in the sprites.
Code:
When I receive 'end' hide
Cheers dude
Offline
Topic closed
Pages: 1