Finite Runner Game
Aug 13, 2019
By
Reginald J
Hello all!
This is a short finite Runner Game I threw together to see how closely I could use Storyline to emulate a gaming engine. I'm using collision events (via Object Intersect) for the lose condition and created a light state machine so players can't activate a jump unless the full jump (itself a motion path) has completed.
I was going to wait for the next Challenge that involved games, but figured I might as well get it out there now. Enjoy!
https://360.articulate.com/review/content/701ba14b-8393-4f74-b55c-3087d6217d9f/review
8 Replies
Hey Reggie,
Well done. I enjoyed it.
That's pretty cool, Reggie. Thank you for sharing :)
Beautiful game! How did you prevent the user from "spamming" multiple animations to cheat the game by "levitating" the object via pressing "UP" continuously?
HiI I created a state machine to switch back and forth between a few variables.
So when users Press UP:
When the motion path of the jump completes, it sets JUMPING to False and JUMPREADY to True to allow jumping again. This way they can hit UP over and over, but nothing happens until after the motion path completes and resets the variables.
Thank you! That's a high integrity design to ensure proper user interaction and prevention of loopholes! Brilliant.
A-mazing!!! Storyline can be a true gaming environment, thank you for showing that!
Love it Reggie, great example. I tried something similar a few years ago in SL2 before the object intersect trigger was released, that would have made things a bit easier in the development of my game then!
https://community.articulate.com/discussions/articulate-storyline/wip-demo-game-arcade-style-platform-e-learning-game
My demo version is a bit outdated now and would love to do a v2 using the object intersect triggers you have utilised. and next on the list was to randomise the objects coming in. Have you thought about that and how it can be achieved in Storyline?
I have republished the game in SL360 and noticed that that key press triggers now dont function as they did originally. I have made a small update to this and the first 3 levels should work now although I have found it to be a bit temperamental depending on the browser you are using. I need to revisit the game fully and totally update it. Zone 2 level 1 introduces questions in to the mix to add in that learning aspect but I havent fixed these levels just yet but if you click on sonic the key press should work.
You can play the first 3 levels of the game here:
http://dh-e-learning.s3.amazonaws.com/sonic-sprint/story_html5.html
http://dh-e-learning.s3.amazonaws.com/sonic-sprint/story_flash.html
I had issues with the images loading, but I attribute that to connection problems/permissions on my end.
Randomizing a value is way easier now, so (without testing) I think a good way to do it would be:
That should make it that every 5 seconds, RANDOM changes to another number. That number activates a specific trigger, such as spawning enemies. Five seconds later, RANDOM changes again and spawns another random event.
This discussion is closed. You can start a new discussion or contact Articulate Support.