Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

What kind of code do you use to move to a new/next screen?

New Here ,
Oct 05, 2016 Oct 05, 2016

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

TOPICS
ActionScript
315
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Oct 05, 2016 Oct 05, 2016

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)

Translate
LEGEND ,
Oct 05, 2016 Oct 05, 2016

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)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 05, 2016 Oct 05, 2016

That looks indeed exactly as for what I'm looking for. Thank you so much!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 05, 2016 Oct 05, 2016
LATEST

You're welcome. Good luck with the project.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines