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

#1 2011-05-29 16:02:37

Flying_Narwhal
New Scratcher
Registered: 2011-05-28
Posts: 4

Making in-game platforms - HELP!

So in the game I'm making, I want to make platforms so the characters can jump on them. How would I go about doing that? Would the platforms be sprites or part of the stage?

Offline

 

#2 2011-05-31 07:51:38

ZKrusty
New Scratcher
Registered: 2011-05-31
Posts: 2

Re: Making in-game platforms - HELP!

Yah, Same question here. But, theres a example that comes with scratch.

Offline

 

#3 2011-05-31 11:20:58

werdna123
Scratcher
Registered: 2010-06-12
Posts: 1000+

Re: Making in-game platforms - HELP!

The platforms can be the background or a sprite. It doesn't matter usually, because people usually use colour sensing for platforms.

Offline

 

#4 2011-05-31 11:53:29

undefeatedgames
Scratcher
Registered: 2011-05-22
Posts: 1000+

Re: Making in-game platforms - HELP!

Flying_Narwhal wrote:

So in the game I'm making, I want to make platforms so the characters can jump on them. How would I go about doing that? Would the platforms be sprites or part of the stage?

They can be sprites or part of the stage, depending which one you want. Though I do not think it matters...


Please call me udg or bearsfan, not undefeated.
Scratch and Misc.! Click here for Misc.'s Successorhttps://lh3.googleusercontent.com/-jkhes3yzmQk/T7G_BnxT9xI/AAAAAAAABYI/xhoN1Jk2M08/s513/sigp1.gif

Offline

 

#5 2011-05-31 13:04:51

OrangeOzTests
Scratcher
Registered: 2011-05-03
Posts: 5

Re: Making in-game platforms - HELP!

they could be either

Offline

 

#6 2011-05-31 13:15:14

silvershine
Scratcher
Registered: 2010-11-21
Posts: 500+

Re: Making in-game platforms - HELP!

Platformers can be made by having all the platforms be one color, then making the following sprite on the main character:
[blocks]
<when green flag clicked>
<forever>
<if><touching color[ color of platforms
<change y by( 5
<else>
<change y by( -5
[/blocks]

Or something along those lines.

Offline

 

#7 2011-05-31 17:30:24

Flying_Narwhal
New Scratcher
Registered: 2011-05-28
Posts: 4

Re: Making in-game platforms - HELP!

Color sensing? Never thought of that! Thanks everyone!  smile

Offline

 

Board footer