Position in Scene/Layers

AldoAldo Member Posts: 53
edited November -1 in Working with GS (Mac)
Hi!
I have a problem with the joystick. It has a separate Layer (without scrollable).
These actors are moving a player. The problem is with receiving the event. Only the first one in the list (scene/layers) is functionable. The rest is 'off' (it doesn't make anything).
I've checked if I've made a mistake somewhere.
How to run the rest of the actors?

Comments

  • AldoAldo Member Posts: 53
    refresh
  • AldoAldo Member Posts: 53
    ...
  • AldoAldo Member Posts: 53
    Doesn't anyone really know?
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi Aldo, is your joystick based on CodeMonkey's template for 360 degree use or does your joystick control left, right, up and down only?

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

  • AldoAldo Member Posts: 53
    gyroscope said:
    Hi Aldo, is your joystick based on CodeMonkey's template for 360 degree use or does your joystick control left, right, up and down only?

    Hi!
    My Joystick is based on control left, right, up and down. Only one (first) is functionable. Any ideas?
  • AldoAldo Member Posts: 53
    .
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    It does depend on a couple of things, depending how you've done your Rules. One way to try: make a text attribute called MoveState. Presuming you have four invisible actors over your joystick, put When touch is pressed, Change Attribute MoveState to (depending on which direction) Up, Down, Left and Right.

    In your actor to be controlled, put the Rules:
    When MoveState is Up
    Move (up)

    When MoveState is Down
    Move (Down)

    etc.

    Hope that helps. :-)

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.