HELP! CodeMonkey Joystick and extra buttons.

theoneandonlybentheoneandonlyben Member Posts: 6
edited November -1 in Working with GS (Mac)
Hi guys,

thanks in advance for any help. I finally worked out enough to get my helicopter flying in the right way, i now have a issue with firing.
I have 3 controls currently, the joystick, a missile button, and a bomb button.
All three work fine on their own; however; i cant move and use the buttons at the same time.

Initially i had an issue where if i was touching the joystick (eg moving) and pressed 'bomb' or 'missile' movement would stop (ive managed to sort that bit for now)

Now my issue is that if im moving and press a button it wont release!
It just keeps firing until I release the joystick then tap the button again!

I have a command to fire evey time the button is pressed or keep firing every 1 sec if the button is held down.
I have told the button to stop if touch is outside or if touch is released.

Hope ive explained clearly enough, I can try a more detailed description if needed,

Comments

  • old_kipperold_kipper Member Posts: 1,420
    I am not sure if you are using touch inside rules for the other buttons but it may help.
  • theoneandonlybentheoneandonlyben Member Posts: 6
    Yea I have touch set to 'inside' for both buttons. Ive tried a variety of combinations but it doesnt seem to realise it is a seperate touch. Im obviously missing something.
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    you will prob need to look at the multi touch settings in the joystick and copy those over to your other buttons. what is prob happening is when you press the button while touching the joystick the button registers the press fine but when you let go the button doesn't know that the other touch is only for the joystick so it still thinks you are pressing down and just slipped off the buttons
    so you will need to setup rules for it to know which touch is which.
Sign In or Register to comment.