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

#1 2012-07-12 09:06:58

Garr8
Scratcher
Registered: 2011-08-10
Posts: 1000+

Script Trouble

Hello, I am Garr8. I have been hanging around the forums alot these days, but I want to do it less and make more projects instead. The thing is, I am not very good at scripting, so I usually get on here to chat cause I had nothing else to do. Anyway, on topic.

I am working on a war game set in the Stone Age, but I have some trouble with scripts. I got the caveman to go into the enemy cave as I wanted, but he zooms by at lightning speed. I want him to walk slowly towards it.

I will post my current script for the caveman sprite if you want.


What I scored on Pokemon Quiz: Porygon

Offline

 

#2 2012-07-12 09:12:25

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: Script Trouble

What's the script?


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#3 2012-07-12 13:21:15

Garr8
Scratcher
Registered: 2011-08-10
Posts: 1000+

Re: Script Trouble

I dont know how to add scripts on the forum.


What I scored on Pokemon Quiz: Porygon

Offline

 

#4 2012-07-12 13:44:18

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Script Trouble

Even without the script, I can probably help.
If you're using "glide" then increase the time in the glide block.
if you have a script like this:

when gf clicked
move (50) steps

when gf clicked//use this instead
repeat (10)
move (5) steps


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#5 2012-07-13 00:00:32

owlman
Scratcher
Registered: 2010-09-15
Posts: 100+

Re: Script Trouble

If your doing 'move (amount of steps) steps', try doing one step, using the repeat block and putting a 0.1 second wait in between.

Last edited by owlman (2012-07-13 08:16:06)

Offline

 

#6 2012-07-13 10:56:39

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Script Trouble

owlman wrote:

If your doing 'move (amount of steps) steps', try doing one step, using the repeat block and putting a 0.1 second wait in between.

Don't need that wait, flow control blocks in scratch already have one built in


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

Board footer