We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Detect user input during app initialization?

Home Forums Puzzles Detect user input during app initialization?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #83503
    c4cc
    Customer

    during scene loading, how to detect user input like mouseclicks? I’m trying to get variable puzzles’ values triggered for fullscreen even though scene is initially loading, via clicking on fullscreen html element

    Meaning the puzzle variables’ values for small screen mode still apply when app is fullscreened via html element, during app initialization.

    These only work after scene loads. How to get variable values for fullscreen to trigger before scene loads?

    • This topic was modified 6 hours, 15 minutes ago by c4cc.
    #83505
    c4cc
    Customer

    Example: The fullscreen feature here still functions as intended when clicked on before the game is fully initialized.

    I’m trying to get my fullscreen with puzzles to do the same.

    • This reply was modified 5 hours, 43 minutes ago by c4cc.
    #83507
    qiangge
    Participant

    The fullscreen feature here still functions as intended when clicked on before the game is fully initialized.

    Try this method **before** the scene or app.container is created. in Init tab

    • This reply was modified 2 hours, 54 minutes ago by qiangge.
    #83515
    c4cc
    Customer

    Thanks for trying to answer, but when this game’s: fullscreen html element is clicked on while loading, the game speeds recognizes fullscreen mode while loading, thus the game runs at that appropriate speed.

    I’m trying to get my app to do the same when html fullscreen is clicked on before init is complete. So its variable puzzle values’ for fullscreen mode applies once fullscreen html element is clicked on during the initializing process.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.