This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-11-03 20:10:54

shera
New Scratcher
Registered: 2010-10-29
Posts: 16

Help with my new version of my game

Help with my game

1. When life = 0 it doesn't go to game over it continues to negitives in both survival and homer rush
2. when its game over the failing object would appear at the top in both survival and homer rush ( If i put stop all when it broadcast game over when it game over the sound doesn't appear)

this is the game
http://scratch.mit.edu/projects/shera/1393284

Offline

 

#2 2010-11-03 20:23:39

12three
Scratcher
Registered: 2008-06-12
Posts: 1000+

Re: Help with my new version of my game

Tell the script to say that if the sprite goes negative to set it to zero. That solves the first one.

Offline

 

#3 2010-11-03 22:22:43

shera
New Scratcher
Registered: 2010-10-29
Posts: 16

Re: Help with my new version of my game

http://scratch.mit.edu/projects/shera/1393284
here the link of the game
Also the life variable and score,time variable keep appearing at the top of the screen how do i get it to stay where it is

Offline

 

#4 2010-11-04 03:50:23

shera
New Scratcher
Registered: 2010-10-29
Posts: 16

Re: Help with my new version of my game

i tried that it doesn't work

Offline

 

#5 2010-11-04 11:06:42

poopo
Scratcher
Registered: 2009-09-20
Posts: 1000+

Re: Help with my new version of my game

Try if score-1<0
for the first one. smile


http://i45.tinypic.com/28rnqki.jpg

Offline

 

#6 2010-11-04 17:17:05

shera
New Scratcher
Registered: 2010-10-29
Posts: 16

Re: Help with my new version of my game

I tried it, not working

Offline

 

#7 2010-11-07 09:12:05

shera
New Scratcher
Registered: 2010-10-29
Posts: 16

Re: Help with my new version of my game

i got it to go gameover if life = 0, now 2 problems
1. the variables doeesnt stay where i place it, instead it appears in the top left conor.
2. After game over the failing objects appear at the top of the screen

Offline

 

#8 2010-11-07 09:24:39

mathematics
Scratcher
Registered: 2009-03-01
Posts: 1000+

Re: Help with my new version of my game

For Number 1, have your variables showing when you save.

For Number 2, <hide>[/blocks] the sprites or make them <go back(  )layers>[/blocks].

Offline

 

#9 2010-11-07 20:28:33

shera
New Scratcher
Registered: 2010-10-29
Posts: 16

Re: Help with my new version of my game

I did put hide and go back 1 layer it does not work
I upload the version with game over = 0
but 
1. the time still continues after gameover and will result in a win so how do i stop time when it broadcast gameover
2. the drop item appear at top when gameover. in survival
3. In homey run when you lose the voice doesn't go on and when I go to title the sprite is still there it doesn't go away when i look at it the script that has show is highlighted and stays highlighted
3. in homey rush when time = 0 it doesnt broadcast game it continue at 0 time

Im sure the script is ok but it doesn't seem to work can some1 check my scratch script

Offline

 

Board footer