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

#1 2012-05-28 13:29:07

Cherry3417
New Scratcher
Registered: 2012-05-28
Posts: 1

New Scratcher needs help with Games!

At the moment the only thing I'm able to do is make short stories and scenes. How do I make ACTUAL games, like Platform Adventure or something like that?

Please reply if you think you can help!

Offline

 

#2 2012-05-28 13:53:32

wasabi56
Scratcher
Registered: 2012-02-10
Posts: 500+

Re: New Scratcher needs help with Games!

when gf clicked
forever
if <[left arrow v]key pressed?>
repeat until <not <[left arrow v] key pressed?>>
change x by [-1]
end
end
if <[right arrow v] key pressed?>
repeat until < not <[right arrow v] key pressed?>>
change x by [1]
end
end
when gf clicked
forever
if <touching color [color of ground]?>
change y by [5]
end
if <not <touching color [color of ground]?>>
change y by [-5]
end
<when[space v] key pressed>
if <touching color [color of ground]?>
perform jump you wish it to
else
stop script
end
In order from top to bottom:
Smooth, clean moving
Gravity
Single jumping

Just post if you want to know how to scroll, too.  smile

Last edited by wasabi56 (2012-05-28 23:12:34)


http://i.picasion.com/pic58/c23d4d2fc75f459dcf3d9ebf3e8ba395.gif
http://www.weebly.com/uploads/1/0/1/4/10146167/2294523_orig.png

Offline

 

#3 2012-05-28 14:04:48

AgentRoop
Scratcher
Registered: 2012-02-11
Posts: 1000+

Re: New Scratcher needs help with Games!

When I want to make a game that is similar to another, I download it and look at the scripts.
So if you want to make a platform adventure game, look for a game like that and download it to see how they did it. A good example of a platform game is Blob.
Look at the scripts to help you make your own game.


La La
I wrote an album.

Offline

 

#4 2012-05-30 04:16:53

suma1234
New Scratcher
Registered: 2012-03-26
Posts: 13

Re: New Scratcher needs help with Games!

how to make a line move by itself differently every time?

Offline

 

#5 2012-05-30 08:09:51

SciTecCf
Scratcher
Registered: 2011-11-23
Posts: 1000+

Re: New Scratcher needs help with Games!

suma1234 wrote:

how to make a line move by itself differently every time?

You use the "Pick Random" block found under Operators. Example:

when gf clicked
forever
 change x by (pick random (-5) to (5))
 wait (0.5) secs
end

Last edited by SciTecCf (2012-05-30 08:10:05)


http://bit.ly/LCZEJRhttp://bit.ly/LSONcOhttp://bit.ly/LF3vIc
http://trinary.site40.net/images/scratchrank.php?username=SciTecCf&amp;display=small

Offline

 

Board footer