Forum rules - please read before posting.

Correct construction of scenes

Hello. In my game, a character sometimes returns to the same scene several times. But the interaction with hotspots is different every time. How to do it better? Create a new scene with new hotspots or do everything in one scene, disabling hotspots that are not needed at the moment?

Comments

  • Welcome to the community, @InterSGames.

    There's a few ways you can do it, depending on the complexity / amount of changes you need.  Generally it makes more sense to stick to one scene and change its contents.

    Unless your Hotspot changes position, or the changes made to it are very great, you can create each interaction necessary within a single Hotspot and turn each of the interactions on or off as necessary.  This can be done with the Hotspot: Change interaction Action - just be sure to attach the Remember Hotspot component to the Hotspot to save any changes you make to it at runtime.

    If the changes to the interactions are subtle, you may wish to re-use the same interaction(s) instead of enabling/disabling separate ones, and simply change the logic within the ActionList itself.  To do this, you can create a new variable and use the Variable: Check / Variable: Set Actions to read and change its value as your game progresses.  This way, you can run the same Interaction ActionList, but tweak which Actions within it are run depending on your variable's value.
  • Thank. Really good advice. And variables are saved when autosave game?
  • Yes - see the Manual's "Saving and loading overview" for a full description of what data is saved when recording save game files.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.