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

#1 2012-06-26 07:06:00

benmarriott
New Scratcher
Registered: 2012-06-26
Posts: 1

helpwithscriptplease

cansumeonetellmehowtomakemyspriterunsmuth

Offline

 

#2 2012-06-26 07:10:02

daniel_j
Scratcher
Registered: 2012-05-22
Posts: 100+

Re: helpwithscriptplease

I do not quite understand, do you want your sprite to walk/run smoothly? Is your space bar broken? lol  smile  happy to help, but we need more info!


http://i50.tinypic.com/2dhgnsx.jpg

Offline

 

#3 2012-06-26 07:16:35

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: helpwithscriptplease

Please, supply more information. There are lots of people out there that are willing to help, but are unable due to lack of information. Can you upload and link to the project? Thanks!

Last edited by SciTecCf (2012-06-26 07:17:14)


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&display=small

Offline

 

#4 2012-06-26 09:51:26

powerpoint56
Scratcher
Registered: 2012-04-19
Posts: 500+

Re: helpwithscriptplease

You could use velocities, but we're not sure if running means moving, or scrolling, or even processing. I'd be glad to help if I could understand.  smile  Thanks!


http://i48.tinypic.com/2072ctw.gif

Offline

 

#5 2012-06-26 12:32:43

Corwen
New Scratcher
Registered: 2012-06-23
Posts: 28

Re: helpwithscriptplease

if you mean running, you can just make a script where:

when you press right arrow key, change x by 1
and
left arrow, change x by -1

that is a really simple one, for a platforming game, see my game platform mk4:
http://scratch.mit.edu/projects/Corwen/2630226
if you go on the player sprite and look at the script, there is one which is quite big, and you can probs tell which one it is (in fact, there are a few smaller ones). these scripts allow for basic moving and jumping, check out my earlier version:
http://scratch.mit.edu/projects/Corwen/2629804
which should be easier to find the right code.

Offline

 

#6 2012-06-26 15:55:03

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

Re: helpwithscriptplease

I believe they want to use velocity because using the move or change x block tends to be very choppy and "unsmooth".

Magnie, a fellow scratch user, has written an awesome guide on velocity which you can see here: LINK

Last edited by fg123 (2012-06-26 15:55:19)


Hai.

Offline

 

Board footer