AnalogButton Class

  ... the case you feel the need for a new feature or want to submit one.

AnalogButton Class

Postby rHalf » Fri Dec 17, 2010 4:41 pm

I love the engine! It's really simple to use.

I was looking at the Analog Control Example, and was wondering if there is any sort of Analog Button. (i.e an "A" or "B" button)

I would think it would have an onPressed Listener and feature a normal sprite and an optional button pressed sprite.

Thanks.
rHalf
 
Posts: 1
Joined: Fri Dec 17, 2010 4:37 pm

Re: AnalogButton Class

Postby dallonf » Fri Dec 17, 2010 11:42 pm

I think you're misunderstanding the meaning of "Analog". The word contrasts "Digital", which means either ON or OFF. A button, by its nature, is always digital.
dallonf
 
Posts: 18
Joined: Fri Oct 01, 2010 3:41 am

Re: AnalogButton Class

Postby Mekuso » Sat Feb 05, 2011 5:59 pm

Well, there are analog buttons, like the L/R buttons on Gamecube and Xbox 360 controllers. But it would be impossible to implement on a touch screen with current technology.
http://andengine.wikidot.com/ <- add things to the wiki!
Mekuso
 
Posts: 35
Joined: Sat Jan 29, 2011 11:37 am


Return to Features

Who is online

Users browsing this forum: Google [Bot] and 6 guests