[Demo] On Screen Controls

Jon

  • *
  • Posts: 17533
This little demo shows off how to implement on screen controls in a way that works in both Flash and iOS at once.

It's not the official/final way (I'm going to nix the use of code and make it a real block), but if you're itching to demo it, you can work off this for now. Just make an actor that looks like a button and attach the on screen button behavior to it.

(Game removed - it's now part of the ZIP distribution)

« Last Edit: August 14, 2011, 01:29:37 pm by Jon »

Aasimar

  • *
  • Posts: 605
Thanks for that ! it's perfect !

Aasimar

  • *
  • Posts: 605
I have an issue with your behavior, I tried to correct it, but I can't.
When you sliding the finger on the button and release, the button stays pressed and continue the push action.

Jon

  • *
  • Posts: 17533
I'll fix that in the next day or so. I'm aware that the buttons aren't working totally right at the moment. The one that ships in the new ZIP distribution is a little bit better than the one attached here (I'm going to remove this one) but not 100% right either.