Spaced repetition system and other mechanics.

Hi, I'm trying to set up an event triggered by the player actor bumping into an enemy and use a Spaced Repetition system on my game that would work like this.
- Player actor bumps into an enemy actor and triggers an event that will stop the player
- The enemy will then ask a question (display it in the scene) and multiple answers boxes (actors) show up on screen.
- The player will answer by touching one of the boxes
- If the player touches the right answer the enemy actor looses hp and asks another question until it reaches 0 hp and dies and the player moves on to the next enemy.
- If the player touches the wrong answer the player actor looses hp until it reaches 0hp
(so far it must be really simple for you guys...but I really have zero programming experience and i've just started using Gamesalad)

Now the hard part...
- The enemy will be retrieving the questions from a list, based on a spaced repetition system described below:
- The enemy will aways get the first question on that list
- When the player answers correctly for the first time, the question has to go to the back 25 positions (or the last available position)
- When the player answers correctly for the second time, the question has to go to the back 100 positions (or the last available position)
- When the player answers correctly for the third time, the question has to go to the last position
- And when the player answers INcorrectly, the question has to go to the back 10 positions

I hope it's not too difficult to do this.
So far I've only managed to create the scene, the player actor, the enemy actors and make the player actor run forward and pass through all enemies or push them all the way to the end of the level...

Any help or reference will be greatly appreciated!

Comments

Sign In or Register to comment.