Does anyone have any info or advice on how to handle this. I've been banging my head on a wall for the past 2 days now trying to think on how to tackle this. Staring at the triggers for hours is not working for me lol. Maybe i'm over thinking it, does anybody know how to get the position of an object in Storyline ? Any help will be greatly appreciated.
Are you looking to gather the XY position of an object like the coordinates? I know it's been mentioned before and it's not a current functionality of Storyline - but you may be able to work with the work around detailed here.
Hope that helps - and you could always reach out to members in that forum thread for additional information or ideas.
Thanks for the reply Ashley, I was looking for something along the lines of this. Collision detection using triggers. Been searching the forums but can't seem to find an example.
There is a thread around somewhere with a "Missile Command" demo, but I can't locate the thread. I had saved the original author's .story file, so I'm attaching it here. Credit to original author, whoever you are! :) Hopefully there is something in that project that will help you.
At the moment collision detection is really a case of working out x,y coordinates and then working out if they intersect. I am holding out hope that SL3 will have collision detection.
Ah, the guy used sliders for both asteroids and space ship and when the slide values meant the objects were close to each other the damage variable was activated. Nothing less than blood genius!
COLLISION DETECTION What’s a deep space asteroid dodging game without any risk? To detect if the space craft and asteroid are colliding, I added a trigger that would add to a “damage” variable when the variable for that asteroid changed IF the asteroid was within a certain range and the variable for the space craft was within a certain range. This formed a kind of box. If the two numbers were inside the box then the user takes damage, if not then nothing happens. It isn’t perfect, but I couldn’t find any alternatives.
Thanks Eric for sharing information on what you did to update it! This thread is a bit older so I'm not sure if folks are still subscribed, but if you've made updates to the .story file you're also welcome to share that here so that others in the community can see what you were able to accomplish.
Ah, the guy used sliders for both asteroids and space ship and when the slide values meant the objects were close to each other the damage variable was activated. Nothing less than blood genius!
Hi Eric. Do you have a link to this Storyline game?
It looks like the link JD shared here is no longer active, but perhaps you could post in that discussion or message JD directly using the Contact Me on his profile.
12 Replies
Hi Deez,
Are you looking to gather the XY position of an object like the coordinates? I know it's been mentioned before and it's not a current functionality of Storyline - but you may be able to work with the work around detailed here.
Hope that helps - and you could always reach out to members in that forum thread for additional information or ideas.
Thanks for the reply Ashley, I was looking for something along the lines of this. Collision detection using triggers. Been searching the forums but can't seem to find an example.
Ahh, that's well outside anything I could create - so I'll defer to the community for thoughts and ideas.
Well thanks for trying, it is a difficult one.
There is a thread around somewhere with a "Missile Command" demo, but I can't locate the thread. I had saved the original author's .story file, so I'm attaching it here. Credit to original author, whoever you are! :) Hopefully there is something in that project that will help you.
I found that original thread, and found that the creator did not post the .story file. Please contact him directly to get it: https://community.articulate.com/discussions/articulate-storyline/free-old-school-arcade-game-built-in-storyline
At the moment collision detection is really a case of working out x,y coordinates and then working out if they intersect. I am holding out hope that SL3 will have collision detection.
I was also hoping to do this. How was it done in the missile command game then?
Ah, the guy used sliders for both asteroids and space ship and when the slide values meant the objects were close to each other the damage variable was activated. Nothing less than blood genius!
COLLISION DETECTION
What’s a deep space asteroid dodging game without any risk? To detect if the space craft and asteroid are colliding, I added a trigger that would add to a “damage” variable when the variable for that asteroid changed IF the asteroid was within a certain range and the variable for the space craft was within a certain range. This formed a kind of box. If the two numbers were inside the box then the user takes damage, if not then nothing happens. It isn’t perfect, but I couldn’t find any alternatives.
Thanks Eric for sharing information on what you did to update it! This thread is a bit older so I'm not sure if folks are still subscribed, but if you've made updates to the .story file you're also welcome to share that here so that others in the community can see what you were able to accomplish.
Glad you were able to drill down Eric :) Thanks for popping in with an update.
This post was removed by the author
Hi Eric. Do you have a link to this Storyline game?
Hi Daniel,
It looks like the link JD shared here is no longer active, but perhaps you could post in that discussion or message JD directly using the Contact Me on his profile.
This discussion is closed. You can start a new discussion or contact Articulate Support.