Author Topic: How to add touch controls?  (Read 946 times)

test84

  • Key Contributor
  • *****
  • Posts: 1328
  • Karma: +0/-0
  • ت
    • View Profile
    • My personal site.
How to add touch controls?
« on: Wed, Jun 22, 2016 »
Hi,

How can I add touch controls for my flixel game? I need a virtual joystick for arrow keys and two buttons for jump and shoot.

Thanks.
blog, twitter, Check out my award winning game, Rot Gut:

test84

  • Key Contributor
  • *****
  • Posts: 1328
  • Karma: +0/-0
  • ت
    • View Profile
    • My personal site.
Re: How to add touch controls?
« Reply #1 on: Fri, Jun 24, 2016 »
I also need multi touch controls so players can move and fire at the same time.
blog, twitter, Check out my award winning game, Rot Gut:

PRIZZA

  • Member
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: How to add touch controls?
« Reply #2 on: Sun, Jun 26, 2016 »
Try looking here for touch control code (includes multi-touch): http://forums.flixel.org/index.php?topic=5472.0

test84

  • Key Contributor
  • *****
  • Posts: 1328
  • Karma: +0/-0
  • ت
    • View Profile
    • My personal site.
Re: How to add touch controls?
« Reply #3 on: Tue, Jun 28, 2016 »
Looked but could not figure out how. Can you help me?
blog, twitter, Check out my award winning game, Rot Gut: