Pages: 1
Topic closed
A lot of the beginning projects I see often use this kind of simple sprite control:
Probably because it's in some of the sample projects and it's easy to understand.whenUp Arrow ▼key pressedpoint in direction0 ▼move10stepswhenDown Arrow ▼key pressedpoint in direction180 ▼move10stepswhenRight Arrow ▼key pressedpoint in direction90 ▼move10stepswhenLeft Arrow ▼key pressedpoint in direction-90 ▼move10steps
whenclicked
setSpeed ▼to4foreverifkeyUp Arrow ▼pressed?point in direction0 ▼moveSpeedstepsifkeyDown Arrow ▼pressed?point in direction180 ▼moveSpeedstepsifkeyRight Arrow ▼pressed?point in direction90 ▼moveSpeedstepsifkeyLeft Arrow ▼pressed?point in direction-90 ▼moveSpeedsteps
Last edited by Paddle2See (2012-02-08 18:40:31)
Offline
Actually TRocket, he did it just fine. Technically it's supposed to be like this:
whenclicked
setSpeed ▼to4foreverifkeyUp Arrow ▼pressed?point in direction0 ▼moveSpeedstepsifkeyDown Arrow ▼pressed?point in direction180 ▼moveSpeedstepsifkeyRight Arrow ▼pressed?point in direction90 ▼moveSpeedstepsifkeyLeft Arrow ▼pressed?point in direction-90 ▼moveSpeedsteps
Last edited by Magnie (2012-02-08 15:53:00)
Offline
Awesome.
Offline
Wow, my first ever project used the method with the hat blocks :') It's really annoying when I find a project which would he awesome, but it uses the method with the hat blocks, so then you can't move properly :l
Offline
Magnie wrote:
Actually TRocket, he did it just fine. Technically it's supposed to be like this:
Thanks
Fixed.
Offline
Great tutorial! In many New Scratcher projects, I see the basic jump down"formulae" and the sprite hangs in mid-air. I'm sure it was based on a sample project, where the sprite hangs in mid-air and drops down again?
Offline
Good guide, this should come in handy for New Scratchers!
Offline
This will be very helpful to new scratchers.
Offline
Topic closed
Pages: 1