awe6 RC 2.2.605 released to haxelib

41 views
Skip to first unread message

Rob Fell

unread,
Oct 2, 2013, 5:51:46 PM10/2/13
to aw...@googlegroups.com
Minor release to haxelib to fix some of the outstanding cpp issues, and introduce touch modes to the Joypad.
 
 
To enable touch on the joypad, add the following to your Factory's _configurer:
 
joypadTouchType = EJoypadTouch.JOYSTICK();
 
Or create a new Joypad and inject type.
 
There are 4 types of EJoypadTouch at the moment (more may be introduced).  The default is DISABLED.
The others offer: a fixed position DPAD, a relative-to-center JOYSTICK, and a SWIPE.  The last two have configurable parameters.
 
InputJoypad then converts these coordinates to the conventional up, right, left, down, fire Bools.  Durations are currently unreliable.
 
This is intended to act as a quick testing mechanism on touch devices for games that were principally designed for keyboard control or dpads.
To create analog touch joysticks, or multi point, create a special Entity and either hook into InputMouse, roll your own, or extend another library.
Reply all
Reply to author
Forward
0 new messages