Cutscene/ “hide cursor” not working? [solved]

  • #1, by linda-adm-Tuesday, 08. June 2021, 19:43 3 years ago
    Hello,

    I am  having some Problems with creating a “cutscene” at the beginning of a scene. 
    My idea is that I want to hide the cursor until the scene has scrolled to and centred on a character.
    But whatever way I tried it, using the “hide cursor” and “show cursor” or a cutscene, the cursor is still visible and the player can still interact with the scene before the scrolling stops.

    After trying countless times I really cannot find my error- so any help is greatly appreciated, as I am very new to Visionaire Studio!
     

    Newbie

    3 Posts


  • #2, by afrlmeWednesday, 09. June 2021, 00:36 3 years ago
    A'llo, quick question. Have you assigned a cursor to the wait cursor drop down menu in the main game settings section of Visionaire? If you have then it will show that cursor whenever a cutscene wrapper is used via begin/end cutscene or hide/show cursor.

    Or the issue could be that the scene hasn't loaded yet, thus the action parts aren't getting executed. Try adding a pause action part at the top of the at begin of scene action block, with a pause value somewhere between 20ms to 100ms & see if that works.

    Imperator

    7278 Posts

  • #3, by linda-adm-Wednesday, 09. June 2021, 07:00 3 years ago
    Thank you for the quick response!
    I am afraid neither of these have worked for me. But after some trial and error I discovered that it somehow works if I put it in a seperate "at beginning of scene"- action block.
    So I just timed it with the scrolling and sound and used a pause inbetween the "hide cursor"-wrappers.

    Newbie

    3 Posts

  • #4, by esmeraldaWednesday, 09. June 2021, 09:01 3 years ago
    I think the problem is, that the scrolling has no "wait" function.
    So when the engine iterates through the actions it starts the scrolling action and immediately after that starts the show cursor action (or end cutscene) instead of waiting for the scrolling to end.
    So you could add the pause inside the same action at the beginning of the scene:

    begin of cutscene
       center scene on character
       pause 10 sec
    end of cutscene



    Key Killer

    508 Posts

  • #5, by linda-adm-Wednesday, 09. June 2021, 10:00 3 years ago
    Ah! That's it, thank you very much for your help.

    Newbie

    3 Posts

  • #6, by afrlmeWednesday, 09. June 2021, 11:24 3 years ago
    I think the problem is, that the scrolling has no "wait" function.
    So when the engine iterates through the actions it starts the scrolling action and immediately after that starts the show cursor action (or end cutscene) instead of waiting for the scrolling to end.
    So you could add the pause inside the same action at the beginning of the scene:

    begin of cutscene
       center scene on character
       pause 10 sec
    end of cutscene



    Good catch. I missed that as I wasn't paying attention to the action parts in the screenshot.

    Imperator

    7278 Posts