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

#1 2013-01-17 20:37:19

ethwok
Scratcher
Registered: 2012-09-10
Posts: 100+

Moving Platformer help please

I need a script for a moving platformer, where when you get to, lets say, scrollx 400, something appears(platform) and if you go past it, but then go backwards back to it, it shows again. I dont know how to do this.

Thank YOU!


http://displaypicks.com/wp-content/uploads/2013/01/Animals-12.jpg
I AM ETHWOK

Offline

 

#2 2013-01-18 11:36:09

iaoumeur
Scratcher
Registered: 2012-11-24
Posts: 500+

Re: Moving Platformer help please

ethwok wrote:

I need a script for a moving platformer, where when you get to, lets say, scrollx 400, something appears(platform) and if you go past it, but then go backwards back to it, it shows again. I dont know how to do this.

Thank YOU!

Well, if you look at the examples on scratch you can find a platformer that shows you how to use scrollx.
Hope this helps!


The Dot 3 is out!!! Play it here!

Offline

 

#3 2013-01-19 00:37:13

randomgamemaker
Scratcher
Registered: 2010-06-14
Posts: 32

Re: Moving Platformer help please

ethwok wrote:

I need a script for a moving platformer, where when you get to, lets say, scrollx 400, something appears(platform) and if you go past it, but then go backwards back to it, it shows again. I dont know how to do this.

Thank YOU!

You can try having a platform always (forever) set its x position to

(([0] - (scrollx)) + [400])

Offline

 

#4 2013-01-19 01:36:17

mrn0body
Scratcher
Registered: 2012-12-11
Posts: 37

Re: Moving Platformer help please

try looking at my project 'Run, Block, Run' which uses scrollx. It is based on a different project so I didnt make all of it


Why Fit In When You Were Born To Stand Out

Offline

 

Board footer