Instructables
Picture of Programming in Scratch.
This tutorial will show you some programming useful in programing your own DDR style game.
 
Remove these adsRemove these ads by Signing Up

Step 1: Before Starting you need to have...

1) Before you start this tutorial make sure you have done the tutorial for putting sound and graphics.

2) You need to have four sprites. One for the alien body, head, and legs. Another for the arms, and another for the instrument.

Step 2: Observation of Already Made Programs.

If you go into the Scratch program that you downloaded for the Noah1194 gallery and go into the alien sprite, you will see five programming start blocks. Three of them start with the command "when I receive". Those three commands say if my key is received and pressed, then the alien will switch costumes, an awesome sound will be played, and points will be increased by one. Or if the key is received but not pressed, then the points will decrease by one.

If you go into the stage sprite, you will see a programing block starting with the "when flag clicked" command with many blocks after. In this program it has three "if" blocks inside of a huge "forever" block. What that big program chain is saying is, pick a random command, either right, left, or up. For each left, right, or up command there is a program inside of it saying broadcast it and play the voice command.

Step 3: Observation of Already Made Programs Continued.

If you go into the guitar and hands sprites you will notice that their programs all include a movement. As you see when you play the game, the guitar and hands only move. There is no voice command or "when key pressed" command in those programs.

Step 4: Finishing.

Picture of Finishing.
That's the basic programing involved with the DDR game. Feel free to edit the code to make it your own!
trollface3414 days ago

check out my car game by trollface34

trollface3414 days ago

check out my car game by trollface34

trollface3414 days ago

check out my car game by trollface34

trollface3414 days ago

check out my car game by trollface34

trollface3414 days ago

check out my car game by trollface34

Derin6 years ago
I love scratch!
ME TOO!
yay
 Scratch rocks!
timothymh4 years ago
 I <3 Scratch. They should make a more advanced version called Claw. :P Check out my tutorial too! You might learn a trick you didn't know before.
casey321b5 years ago
whats scratch?
Noah1194 (author)  casey321b5 years ago
Scratch is a great program where you can make animations, games, stories, and more. It is still in Beta so you can download it free at www.scratch.mit.edu If you are new to Scratch I recommend that you start with the racing game tutorial! Have fun with Scratch!
 Not in beta anymore!
zurich5 years ago
I"m the bomb @ scratch look me up "Zurich"
 Cool, you're Zurich? I'm timothymh (bet you couldn't guess... :) )