Forum rules - please read before posting.

Possible bug - menu not appearing when expected

Hi, new AC user here (so please do forgive any glaring ignorance on my part, though I've had a look through the manual and other answers on here and can't find much to help me understand what's happening here).

So I have my player in a "main room" scene. What is meant to happen is: the player clicks on a hotspot (named console1). Then the game switches scene and a menu is supposed to appear at the same time.

The action list is here: https://ibb.co/3yTnfmy.
The asset properties can be viewed here: https://ibb.co/8NRbQBm.

Here is a screenshot of the menu if this helps: https://ibb.co/qpkMTJQ.

The problem I am having is that sometimes it works and sometimes it doesn't. I will play the game once and it works and then I won't be able to get it to work again. I occasionally get lucky and sometimes just disabling and re-enabling the "Turn on menu" action gets it to work again, but not every time.

At the bottom here https://ibb.co/ZGW8B55 you can see how the menu is meant to appear (and indeed it occasionally does). Here https://ibb.co/zZQPxTq is what actually shows during gameplay most of the time.

This is a fairly crucial part of the game - you need to be able to answer the question to progress to the next scene so I'm quite frustrated as I can't think what I'm doing wrong.

Any help at all would be deeply appreciated as I'm making this game to a deadline (for a puzzle club of school children).

Please let me know if there's further information/screenshots you need to see.

Comments

  • Never mind! Problem seemingly solved (hopefully for good)? Changed it so that the change menu state action comes before the scene switch as in picture here
    https://ibb.co/LpBwvTn.

  • Welcome to the community, @shannonblob.

    It may be that this is a bug. Your workaround should be enough for it to work, but I'll look into this further on my end - thanks for the details.

  • Don't know if I was just being silly but have since realised it was because anything that comes after a Scene Switch isn't going to work

  • No mistake on your part - so long as the ActionList asset is set to survive scene changes, then Actions that follow the scene-switch should run just fine.

    I haven't been able to recreate the issue, but have you tested this in the most recent release? If it's still occuring, try inserting an Engine: Wait Action immediately after Scene: Switch with a very low duration. It might be enough to have a value of -1, which AC will equate to a single-frame delay.

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.