Tagged Questions
0
votes
1answer
18 views
Android cocos2d getting a sprite to continuously move to a dynamic position
I tried using the MoveTo method in cocos2d to get a sprite to continuously follow my player sprite:
CCMoveTo actionMove = CCMoveTo.action(actualDuration, player.getPosition());
CCSequence actions = ...
1
vote
0answers
181 views
3 Button Multi-touch for Android
OK, my multi-touch system was somewhat convoluted, but was working perfectly OK until I tried to run my game on my Nexus 10 which is running Jellybean.
Crashing all over the place! So I removed my ...
1
vote
2answers
216 views
Make a 2D character stop moving and going back when encounter an obstacle
I am using a 2d character who is sliding infinite ( huge incrementation of the X or Y value ) when moving.
He can only move up, down, left, right inside a virtual grid, made of multiple squares.
Now ...
1
vote
3answers
280 views
Moving a 2D character on a straight line
I am trying to create an Android Game and I am facing my first big problem.
After reading blogs, tutos ... I am able to easily move a character with a drag and drop, make it move move to a touched ...
3
votes
3answers
539 views
How to move a sprite automatically using a physicsHandler in Andengine?
I use a DigitalOnScreenControl (knob with a four-directional arrow control) to move the entity and the entity which is bound to a physicsHandler.
physicsHandler.setEntity(sprite);
...
3
votes
1answer
217 views
Scaling sprite velocity / co-ordinatesin Android
I'm trying to find the answer to a question that I've had for a long time, but am having trouble finding it! I hope someone can help :-)
I'm trying to find information on how to scale sprite velocity ...
1
vote
1answer
338 views
openGL ES - change the render mode from RENDERMODE_WHEN_DIRTY to RENDERMODE_CONTINUOUSLY on touch [closed]
i want to change the rendermode from RENDERMODE_WHEN_DIRTY to RENDERMODE_CONTINUOUSLY when i touch the screen.
WHAT i Need :
Initially the object should be stationary. after touching the screen, it ...
7
votes
5answers
719 views
returning correct multiTouch id
I've spent countless hours on reading tutorials and looking at every question related to multiTouch from here and Stackoverflow. But I just cannot figure out how to do this correctly. I use a loop to ...
0
votes
1answer
328 views
android basic Movement for array-objects
I was adviced to start a seperate question for this so here I go. Been stuck so long with this do if you can help, please do.
Lets get to it!
Im trying to set the speed for my bullets, but since Im ...
0
votes
1answer
343 views
Joystick example problem for android 2D
I've searched all over the web for an answer to this, and there are simular topics but nothing works for me, and I have no Idea why. I just want to move my sprite using a joystick, since I'm useless ...
0
votes
2answers
76 views
Crash when trying to detect touch [closed]
I've got a character in a 2D game using surfaceView that I want to be able to move using a button (eventually a joystick), but my game crashes as soon as I try to move my sprite.
This is my ...
-1
votes
1answer
816 views
How to make Moving road/track for android game?
I am very much new to Android game development. and i have little idea about the canvas and open GL. in one of my requirement i wanted to draw a moving road/track(Jazzy). how should i start. please ...
2
votes
2answers
401 views
How do I handle user input with good class structure/architecture for an Android game?
How do I handle user input having "good" class structure and following normal game architecture*?(see below). At first I didn't think this question was Android specific, although, after seeing a great ...
0
votes
1answer
464 views
What is the best mechanism for controlling a character in a 2D Android game?
Im developing a 2D RPG for Android where the character can move up, down, left, and right like in top-down RPGs like Pokemon.
What is the best input mechanism to use to control the character? A ...