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. Help and Support
  3. Attributes issue

Attributes issue

Scheduled Pinned Locked Moved Help and Support
5 Posts 2 Posters 727 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.
  • DJEmergencyD Offline
    DJEmergencyD Offline
    DJEmergency
    wrote on last edited by
    #1

    Hello,

    I’m trying to change an attribute in a behavior. Example: Touch arrow (UI layer) Set attribute to player True (Main layer)

    Doing this does nothing.. a new iOS came out.. could this be a bug?

    1 Reply Last reply
    0
    • DJEmergencyD Offline
      DJEmergencyD Offline
      DJEmergency
      wrote on last edited by DJEmergency
      #2

      More detail...

      Object arrow right is on the UI layer with events..
      Touch Started -> Set Attribute (Player) Is Right = True

      Player Object is on the main layer.
      Player -> Get Attribute (Player) Is Right -> to Label object.

      It doesn’t transfer the change at all. I even tried with changing velocity and other things, but nothing..

      Aidan_FireA 1 Reply Last reply
      0
      • DJEmergencyD DJEmergency

        More detail...

        Object arrow right is on the UI layer with events..
        Touch Started -> Set Attribute (Player) Is Right = True

        Player Object is on the main layer.
        Player -> Get Attribute (Player) Is Right -> to Label object.

        It doesn’t transfer the change at all. I even tried with changing velocity and other things, but nothing..

        Aidan_FireA Offline
        Aidan_FireA Offline
        Aidan_Fire
        wrote on last edited by
        #3

        @DJEmergency Assuming what you've typed out is exactly correct with the behaviours you have, it sounds like the player is getting its attribute just once at the start of the game and then never again, you need to make the player get it again. For example the player could do something like this:

        Player Object is on the main layer.
        Started touching (same arrow from ui) -> Get Attribute (Player) Is Right -> to Label object.

        1 Reply Last reply
        0
        • DJEmergencyD Offline
          DJEmergencyD Offline
          DJEmergency
          wrote on last edited by
          #4

          But what if I always want to check the attribute during runtime? There’s only if statements and no always and or else..

          1 Reply Last reply
          0
          • DJEmergencyD Offline
            DJEmergencyD Offline
            DJEmergency
            wrote on last edited by
            #5

            Never mind. To make an always event you need to use Timer = 0

            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