Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
hyperPad

hyperPad Forum

  1. Home
  2. Bug Reports
  3. Non-Issue
  4. Preloading Scene Causes Behaviors To Not Trigger In Global Objects

Preloading Scene Causes Behaviors To Not Trigger In Global Objects

Scheduled Pinned Locked Moved Non-Issue
2 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • RobinsonXR Offline
    RobinsonXR Offline
    RobinsonX
    wrote on last edited by RobinsonX
    #1

    iPad Model: iPad 6th Generation
    iOS version: iOS 12.1.1 (latest version at the moment)
    hyperPad Version: version 1.23
    Description: Preloading a scene then loading that scene causes the behaviors on loaded scene to not trigger upon loading the level. Behaviors that usually execute at the start of the scenes do not execute on a preloaded level in global objects.
    Steps to reproduce:
    1. Have a project with two scenes.
    2. Go to the second scene and set behaviors in a global object that usually trigger upon the level starting. let's have a timer that tracks how long you have been playing on a level for this example, for the sake of time.
    3. Behaviors: On the first scene, preload the second scene and then load the scene.
    4. Play the project starting from the first scene and you'll see that the timer on the second scene doesn't work.
    Don't worry, I have a project set up, that has all these steps done. URL Link is below!

    https://s3.amazonaws.com/hyperpad-share/08F2E643-F82D-4311-BB44-A4FF99783102/Bug Report.tap

    1 Reply Last reply
    0
    • HamedH Offline
      HamedH Offline
      Hamed
      Admin
      wrote on last edited by
      #2

      This is actually intended. Global behaviours only get executed once unless you restart the scene and check restart behaviours.

      Global behaviours continue through out each scene.

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Search