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

#1 2012-06-25 16:05:08

grinneydude
New Scratcher
Registered: 2012-05-09
Posts: 9

Hi i need a bit of help.

i maeking a fighting game but when player attacks the bad guy i need help so that he will stay down for a bit then get back up any ideas.
                Also any ideas how to stop one script in a sprite for a moment and then start back up? please help.

Offline

 

#2 2012-06-25 16:12:25

wahoo77
New Scratcher
Registered: 2012-06-17
Posts: 27

Re: Hi i need a bit of help.

use a wait x seconds block

wait [x] seconds

Offline

 

#3 2012-06-25 16:36:27

PhirripSyrrip
Scratcher
Registered: 2012-02-11
Posts: 100+

Re: Hi i need a bit of help.

wahoo77 wrote:

use a wait x seconds block

wait (1) secs

yeah, this should work unless your scripts need to do a specific thing during this time in which case you should make a second script

Last edited by PhirripSyrrip (2012-06-25 16:36:50)


http://i46.tinypic.com/ao03lk.png

Offline

 

#4 2012-06-26 12:45:21

grinneydude
New Scratcher
Registered: 2012-05-09
Posts: 9

Re: Hi i need a bit of help.

sorry, but i wounder how do u get wait x block,
i tried putting x in the wait but would not allow me.

Offline

 

#5 2012-06-26 13:27:05

Saca312
Scratcher
Registered: 2011-03-24
Posts: 100+

Re: Hi i need a bit of help.

grinneydude wrote:

sorry, but i wounder how do u get wait x block,
i tried putting x in the wait but would not allow me.

No XD x is a variable in it, just put in any number for how much seconds to wait


http://i.imgur.com/AeIvr.png

Offline

 

#6 2012-06-26 15:52:06

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Hi i need a bit of help.

Put however many seconds you want the person to stay down in the [wait] block.

Lets say you want your character to stay down for 3 seconds:

wait (3) secs
If you want the person to stay down for only 2, then:
wait (2) secs
Have fun and scratch on!

Last edited by fg123 (2012-06-26 15:52:36)


Hai.

Offline

 

Board footer