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

#1 2011-08-12 22:30:36

Pineappl
Scratcher
Registered: 2011-08-11
Posts: 6

How to make a scrolling game with platforms and gravity and epicness?

I'd like to make a scrolling game with platforms gravity and epicness.
Like a super mario kind of game you know? The epicness - I'll handle that myself  cool

lol  ●ριηєαρρℓ●  lol

Offline

 

#2 2011-08-12 23:08:27

4lover
Scratcher
Registered: 2010-04-24
Posts: 500+

Re: How to make a scrolling game with platforms and gravity and epicness?

This is how you do it: if < touching [ sprite ] > <--- You could also use a colour, but you have to make sure all platforms are coloured the same.
  change y by 2
else
  change y by -2
=

That should take care of gravity and keep it so that it won't fall through.

Hope that helped!


Check out this awesome new zombie-cod type of game: http://scratch.mit.edu/projects/4lover/1975649

Offline

 

Board footer