January 21st, 2012, 10:46 AM
|
#1 (permalink)
|
|
New Member
Join Date: Jan 2012
Posts: 2
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
|
Touch Screen Trouble.
So I'm trying to make a game right now(Alien Invaders) but I have trouble with the touch screen. I tried making an extra class which implemented OnTouchListener but whenever I touched the screen, nothing happened. So I decided it might work if implement OnTouchListener to the main class that is called when the activity is called. Still, nothing happened. So I tried it with another class which extends SurfaceView and implements Runnable and now OnTouchListener. Now it says that OnTouchListener is not a type even though it knew what unimplemented methods I needed. If anyone could help that would be wonderful. Thanks in advance!
|
|
|