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

#1 2012-04-17 21:58:56

HydroCity
New Scratcher
Registered: 2012-02-09
Posts: 35

Platforming Game Help. Side Scroll or Platforms.

How would I go about making a side scroller or Platforms to jump on? If i cant make a side scroller then the platform will be fine.

Offline

 

#2 2012-04-18 15:09:48

PhirripSyrrip
Scratcher
Registered: 2012-02-11
Posts: 100+

Re: Platforming Game Help. Side Scroll or Platforms.

Scrolling help:
http://wiki.scratch.mit.edu/wiki/Scrolling
Platforms:

when gf clicked
forever
if <not<touching[platforms v]>>//or colour of platforms
change y by [-10]
end
if <key[up arrow v]pressed>
repeat [5]//however high
change y by [5]//again, you change this
end
end
end
this is a simple way. there is a better, much more complicated way involving variables but this is good enough to start of with.


http://i46.tinypic.com/ao03lk.png

Offline

 

#3 2012-04-18 16:31:28

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: Platforming Game Help. Side Scroll or Platforms.

Additionally, This article on jumping might be useful.


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#4 2012-04-19 14:47:26

HydroCity
New Scratcher
Registered: 2012-02-09
Posts: 35

Re: Platforming Game Help. Side Scroll or Platforms.

Ill take a look, thanks alot! ill look into these

Offline

 

Board footer