Copy link to clipboard
Copied
Greetings,
I've been working with Animate CC and a bit of ActionScript 3.0 for about roughly a month as part of my IT study. As part of my final project for this Animate CC course I have chosen to create a short Visual Novel game. Basically the idea is that you get to see a screen, you click on a 'talk' option (like 'move to your house' or 'visit the city') and clicking an option results in switching to a new screen (with a house/city as the background image).
Sadly I didn't have to do any assignments in the past involving 'screen switching', so I have no clue as for what kind of code I need to make this work. Googled for it as well, with no luck. So now my question is, what kind of ActionScript 3.0 code/functions/etc. do I apply to simply be able to 'switch to the next screen' in a selfmade game in Animate CC?
Thanks in advance,
Sander
I'm guessing that you are using the timeline to develop each of these individual screens. You are probably using the stop(); command to hold the playback head on the frame where the first decision point, your option screen. You will need to make each of the options a button and attach some Actionscript to the keyframe where this decision point is located.
Here's a good tutorial for that sort of thing: Creating a Basic Flash Website (AS3 Version)
Copy link to clipboard
Copied
I'm guessing that you are using the timeline to develop each of these individual screens. You are probably using the stop(); command to hold the playback head on the frame where the first decision point, your option screen. You will need to make each of the options a button and attach some Actionscript to the keyframe where this decision point is located.
Here's a good tutorial for that sort of thing: Creating a Basic Flash Website (AS3 Version)
Copy link to clipboard
Copied
That looks indeed exactly as for what I'm looking for. Thank you so much!
Copy link to clipboard
Copied
You're welcome. Good luck with the project.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now