Pages: 1
Here is my game so far. http://scratch.mit.edu/projects/WoopAhhh/2684686
(Note that it doesn't start till 15 seconds, because sound will be added for the first 15 seconds.) Please view the game to see what I have done so far.
What I need help with:
If you look at the game, you see there is a picture of my nephew. I want it to be like he is the player in the game, so I want his character to shoot something at the correct letter when the spacebar is pressed. Kind of like a shooting game. Left and right arrow keys will move his character, as you can see in the game so far. Thanks!
(For more info on this game: When the mini game starts, there is a 15-second pause, in which I plan to add a voice clip of a family member explaining what to do. The voice will also spell a word. That word will then appear on the box below for 5 seconds so he can see the letters in order. Once that is finished, letters will begin flashing on the train, and he has to hit the correct letters in order to spell the appropriate word. He will get points for each correct word he spells.)
Offline
maxdoss wrote:
So the shooting part?
Basically. I want it to shoot when spacebar is pressed.
I also want there to be a specific sound when the correct letter is hit with the ball. When the correct letter is hit, I want it to appear in the box above.
Offline
I don't know about the sound part, but for the shooting you could have the bullet/laser sprite do this:
when gf clicked forever if (shot) = no goto (your nephew's sprite) else repeat (100) move (4 steps)I know im missing something, but that's basicly how you fire
Offline
Hi WoopAhhh!
The game you're trying to make is pretty complicated, and there's no simple answer to the shooting question you have. Checking which letter has been shot and if it's in the right order will take a bit of setup and organization in more than one sprite, and I'm tempted to add that in for you myself and upload it.
Is that the kind of help you're looking for? Or is this something you want to figure out on your own with guidance on the forums like you're getting now?
Offline
silvershine wrote:
Hi WoopAhhh!
The game you're trying to make is pretty complicated, and there's no simple answer to the shooting question you have. Checking which letter has been shot and if it's in the right order will take a bit of setup and organization in more than one sprite, and I'm tempted to add that in for you myself and upload it.
Is that the kind of help you're looking for? Or is this something you want to figure out on your own with guidance on the forums like you're getting now?
No, that'd help a lot! I can learn from your changes. Thanks!
Offline
WoopAhhh wrote:
No, that'd help a lot! I can learn from your changes. Thanks!
Ok, cool!
I uploaded an example that I slapped together in a few minutes to prove that this will work. You can see it here on my test account. Feel free to download it and take a look! Most of the scripts that I added are in the sprite that follows the mouse. Basically, a variable keeps track of what letter should be hit next, and if the player shoots sprite with the costume that matches up with the required next letter, then the letter shows up on the top of the screen.
The problem with what I uploaded is that it would be extremely difficult and time consuming to add more words to spell, but I have an idea for a system that would be much more efficient. I'll try to work on that and then upload it with a lengthy explanation of how it works, but I'm a bit busy with summer activities, so that could be a bit delayed. I'll get started and see how it goes.
Offline
Almost done! Just checking in so you know that I haven't given up on this.
http://scratch.mit.edu/projects/silvershineTEST/2685636
Offline
Pages: 1