Forum Discussion
Trying to build a Space Invaders Note Identification Game
Hi everyone! I have hit a roadblock in Storyline. I'm able to move the spaceship up and down, the whole notes (offscreen on the right), move left and disappear when laser beams hit them, and the spaceship explodes if a whole note hits it. However, here are my remaining problems:
- I can't get the laser beams to shoot more than once when I tap the space bar ("key press" trigger).
- I anticipate that once I'm able to get the laser beams to shoot more than once, they'll still shoot even when the spaceship isn't touching the laser ("when object intersects" trigger).
- I may need to create conditions, like another creator did... %ShipPos% had values of L1, L2, L3, 0, R1, R2, R3, which were rectangles in the timeline, and apparently positions of the spaceship, but the rectangles did not appear onscreen but were not set to "hidden" in the timeline.
Can anyone help me? Have any of you created a game similar to this? How did you make it work? Thanks!
9 Replies
- DanielLindeyCommunity Member
I tweaked it a bit... This uses motion paths and a random number variable. I'm able to get the whole notes to move across the screen in a random order, but don't know how to get them to repeat. There must be a way to do this because I'm able to get the lasers to shoot multiple times. The key press triggers are E, G, B, D, F, which are the 5 notes on the 5 lines of the treble clef staff.https://360.articulate.com/review/content/2c7b5adf-7be6-431e-9c47-d1488bc3d36a/review?fbclid=IwAR0-lgrwxUH7AWNEVOqFug66teeATepcNFVdvy_T8et7OpR2qAs6AbT3o68
- MariaCSStaff
Hi, Daniel, and welcome to E-Learning Heroes! ✨
First of all, let me say this is a fantastic idea to teach music!
I'm looking forward to what other community members will suggest for you, but it might be easier if they can see the .story file. Are you comfortable sharing it here?
- DanielLindeyCommunity Member
I am sharing two versions of the project. Both have many issues.
- DanielLindeyCommunity Member
There is something going on with the motion path animation not repeating because of the random number variable I attached to it. For example, if first line E moves along its motion path when RandNum = 1, it won't repeat its motion path the next time RandNum = 1. Has anyone had this issue before?
- MathNotermans-9Community Member
As i love creating games...i probably take a shot at this ( when time permits ). Basically i use Javascript to do things like this, so probably replacing the motion paths can make it work.
Kind regards,
Math Notermans- DanielLindeyCommunity Member
Hi Math, Please let me know if/when you're able to look at this. I don't have experience with javascript... perhaps I should learn it. Thanks!
- MathNotermans-9Community Member
Already did some work on it, then we finally got some nice weather overhere in the Netherlands, so my wife dragged me outside ;-) Continuing with it...
Related Content
- 2 years ago