I tried small game code using AndEngine
gles1 in which i move sprite along screen.
I used AnalogOnScreenControl
for moving my sprite along the screen. when i test it then sprite also move along the screen boundary means it goes top,left,right,down though the screen complete.Then i put top line as image and check collision between sprite and line but then sprite stick to that top line it doesn't move anywhere, so then i tried onAccelerometerChanged()
method but it also doesn't work.
so, help me that how can i detect screen boundary so that sprite doesn't go beyond screen boundary. Is any tutorial on this then please give me link.
Thanks in advanced.