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

#1 2012-02-19 13:44:00

imsosuperswell1
Scratcher
Registered: 2010-12-04
Posts: 1000+

How to make a sprite move by itself

How do you? I want it to move by it self but I don't know how. And don't go too into detail just give me a basic awnser.


http://i43.tinypic.com/34y3brb.png

Offline

 

#2 2012-02-19 14:02:10

Greenatic
Scratcher
Registered: 2009-05-03
Posts: 1000+

Re: How to make a sprite move by itself

I'm not quite sure what you want.  Have you tried using this?  Make the number lower to move slower, and higher to move faster.

when gf clicked
forever
move (10) steps
if on edge, bounce

Last edited by Greenatic (2012-02-19 14:02:50)

Offline

 

#3 2012-02-19 14:03:40

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: How to make a sprite move by itself

Use the

move [] steps
block.


Why

Offline

 

#4 2012-02-19 15:27:50

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

Re: How to make a sprite move by itself

If you mean to make it look like a person if moving it, kind of like enemies, try this project: Order of Camelot AI and Player Movement

It's an example of player movement and AI script.

Last edited by G0D_M0D3 (2012-02-19 15:28:06)


I made a MC texture pack! Get it at planetminecraft!
http://i.imgur.com/0EG0u.png

Offline

 

#5 2012-02-19 19:56:26

imsosuperswell1
Scratcher
Registered: 2010-12-04
Posts: 1000+

Re: How to make a sprite move by itself

No, I am making a game with creatures and once my creature hatches it supposed to move without me pressing anything on the keyboard, so its a self moving creature without my help. No pressing buttons or nothing.


http://i43.tinypic.com/34y3brb.png

Offline

 

#6 2012-02-19 19:58:16

imsosuperswell1
Scratcher
Registered: 2010-12-04
Posts: 1000+

Re: How to make a sprite move by itself

G0D_M0D3 wrote:

If you mean to make it look like a person if moving it, kind of like enemies, try this project: Order of Camelot AI and Player Movement

It's an example of player movement and AI script.

Exactly what I mean its just not really far at once and I looked at the script thats complicated I wanna make this as simple as possible yet being optimistic and fun.


http://i43.tinypic.com/34y3brb.png

Offline

 

#7 2012-02-19 19:59:21

CheeseMunchy
Scratcher
Registered: 2008-10-13
Posts: 1000+

Re: How to make a sprite move by itself

imsosuperswell1 wrote:

No, I am making a game with creatures and once my creature hatches it supposed to move without me pressing anything on the keyboard, so its a self moving creature without my help. No pressing buttons or nothing.

when I receive [hatch creature]
move [] steps
:/


6418,

Offline

 

#8 2012-02-19 20:09:53

imsosuperswell1
Scratcher
Registered: 2010-12-04
Posts: 1000+

Re: How to make a sprite move by itself

Uh okay. Lemme try that.


http://i43.tinypic.com/34y3brb.png

Offline

 

#9 2012-02-19 20:19:55

imsosuperswell1
Scratcher
Registered: 2010-12-04
Posts: 1000+

Re: How to make a sprite move by itself

Well fellas this is fixed. Thank you!


http://i43.tinypic.com/34y3brb.png

Offline

 

Board footer