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

#1 2012-11-23 02:55:43

WEMNGB
New Scratcher
Registered: 2012-11-22
Posts: 1

Help with my new game

Hello, i've recently been making a game on scratch and i've wrote lots of code, it is a platformer game and whenever I jump and hit the edge of some floor, I go right through it. I've tried making a forever loop for if on edge bounce or forever if touching floor colour on edge bounce but i'm really not sure what to do.
Please keep in mind i'm relatively new at scratch.
Thanks!  smile

Offline

 

#2 2012-11-23 12:07:07

30-1
Scratcher
Registered: 2012-08-08
Posts: 100+

Re: Help with my new game

Maybe the scratch wiki would help:http://wiki.scratch.mit.edu/wiki/Jumpin … ed_Jumping
If that link is not helpful I'm sure you will find something helpful on the rest of the wiki. And also

if on edge, bounce
only bounces if touching the edge of the stage, so is almost useless for a platformer.  smile

Last edited by 30-1 (2012-11-23 12:08:25)


http://i.imgur.com/ocOya7x.gif
I. Text I Based I Games I

Offline

 

#3 2012-11-25 10:39:37

mathfreak231
Scratcher
Registered: 2012-10-24
Posts: 80

Re: Help with my new game

How about:

forever if <touching color (platform color)?>
turn cw (180) degrees
end


~This sig is false~
I'm on teh wiki!

Offline

 

Board footer