logo hyperPad Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Login
    1. Home
    2. Bryan
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 11
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Bryan

    • BryanB

      Mini Golfgame

      General Discussion
      • • • Bryan
      3
      0
      Votes
      3
      Posts
      493
      Views

      RobinsonXR

      You'll need to use something called the Z-order, where stuff can be behind or in front of something. Different parts of the images need to be cut out aswell.

    • BryanB

      Change layer

      Help and Support
      • • • Bryan
      6
      0
      Votes
      6
      Posts
      430
      Views

      Jack8680J

      @Bryan just move to layer behaviours, one for each layer, each with a different layer selected:
      0_1500632686163_IMG_3509.PNG

    • BryanB

      Multiple collisions

      Help and Support
      • • • Bryan
      6
      0
      Votes
      6
      Posts
      480
      Views

      Jack8680J

      @Bryan put all the objects in a tag (including object detecting the collisions), use a loop to count the number of objects in the tag (subtract 1 to exclude self), if number of objects colliding is equal to number of objects in tag except self ( can't collide with self), then the object is currently colliding with all objects in the tag. This is shown in the first screenshot:
      0_1500323488909_IMG_3503.JPG

      To detect whether the object has ever collided with each object instead of detecting whether the object is colliding with all at the same time is similar, but the object detecting the collision is instead given a unique ID based on a global variable (so you can have multiple detecting objects that don't interfere with each other). A dynamic attribute is applied to all objects in the tag that it collides with so it only counts each object once. This is shown in the second screenshot:
      0_1500323806119_IMG_3507.JPG
      The behaviours in both screenshots should work with spawned object and multiple detectors too, but if you don't have this they can be simplified down a bit (you don't need to count objects if you know how many there are and don't need and ID if there is only one object anyway.

      EDIT: to clarify, "set attribute" is the global variable, with a value equal to "ID (Add Values)", and "set attribute2" is a dynamic attribute with a value of 1 and the key "combine text".

    • BryanB

      Unsolved If you press something it triggers something but there is a condition

      Help and Support
      • • • Bryan
      2
      0
      Votes
      2
      Posts
      174
      Views

      Aidan_FireA

      Here's one way: Started Touching (object B ) → Behaviour On (Started Touching1) + Behaviour Off (Started Touching2). Started Touching1 (object 1) (also make this behaviour off by default) → Load Scene (xy). Started Touching2 (object 1) → Hide Graphic or Destroy Object (object B ).

      If you can't figure it out using what I wrote there I can try to take a screenshot.

    • BryanB

      Lightning

      Help and Support
      • • • Bryan
      24
      0
      Votes
      24
      Posts
      2.8k
      Views

      MurtazaM

      @Jack8680 good question.. I'm not sure.