Author Topic: tuch screen d-pad  (Read 2295 times)

Offline yrahmo

  • byte
  • *
  • Posts: 6
    • View Profile
tuch screen d-pad
« on: September 09, 2012, 08:44:04 pm »

Hy everybody
wanted to know if tehre is any way to implement an d-pad in the touch screen.
it makes the fun double when we play, and your hand don't hide the hole scene.

is there any idea??
 ;)
thinks

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: tuch screen d-pad
« Reply #1 on: September 09, 2012, 11:21:18 pm »
Of course it's possible. You can blit it onto the screen like any other ui element. Just don't expect some magic dpad class to be available in jPCT. It's up to you to actually implement it. To blit ui elements, you can Framebuffer.blit(), touch coordinates can be obtained from the standard means that Android offers for this.

Offline yrahmo

  • byte
  • *
  • Posts: 6
    • View Profile
Re: tuch screen d-pad
« Reply #2 on: September 10, 2012, 03:32:37 pm »
nice idea  ;)
i am working on it. thinks for the help.