Newgrounds Background Image Theme

Our goal is for Newgrounds to be ad free for everyone! Become a Supporter today and help make this dream a reality!

Need help with some Action Scripting

329 Views | 0 Replies
New Topic Respond to this Topic

Hey there - I want to make a game that functions exactly like the old arcade game Dragon's Lair. I'm doing all of the art, however I don't really know where to start with the action script side of things, never used it much. I'm using AS3 with Adobe Animate.

So what I would need is basically code that will look for a a specific input (up, down, left, right, sword, no input) within a specific period of time, then go to the appropriate frame in the timeline & play (where I would have the 'success' animation or the 'failure' animation)

Any nudge in the general right direction would be appreciated. Thanks!