andengine
body.setTransform does not work inside contact listener (andEngine and box2d)
I\'m trying to move player body while contact with teleport but setTransform isn\'t executed.This is my contact listener[详细]
2023-04-01 13:55 分类:问答Can I make a Body immune to Gravity?
I want a PhysicsWorld where only some elements are af开发者_如何学编程fected by gravity (as set by the Accelerometer). I\'ve tried setting the mass of some objects to 0, but this doesn\'t work. Is the[详细]
2023-04-01 09:56 分类:问答Why aren't I getting One Bullet One Hit?
In my collision detection code, bullets are deactivated once they have been involved in a collision: for(int j = 0; j < enemies.size(); j++){[详细]
2023-04-01 05:38 分类:问答How should I reset a Sprite's location when it is attached to a Body?
I am using a Pool to manage Bullets in my game. The only problem is when a Bullet is obtained from the pool having just been recycled because it was involved in a collision, although it\'s Body\'s loc[详细]
2023-03-31 22:46 分类:问答AndEngine how to remove bullets and shoot one bullets at a time?
I\'m using Andengine for android and I created a code where my player will shoot a bullet when I touch the screen.[详细]
2023-03-30 19:00 分类:问答how to unveil a picture in andengine
Recently i discovered andengine and I\'m playing a little with it. I would like to put a picture in background and cover it with 开发者_如何转开发a solid colored rectangle, and be able to cut out poly[详细]
2023-03-30 06:52 分类:问答What are Steps to grab the samples from AndEngine Repository
I had tried to grab the samples of AndEngine using Mercurial eclipse plugins, but that was firing some sort of error to me again and again. So, can someone please let me开发者_如何学Python know what[详细]
2023-03-29 11:22 分类:问答How do I get my app to work with AndEngine Phyiscs Box2D Extension?
I\'m starting out with an AndEngine app, and I want to use the Physics Box2D extension. I\'ve put andenginephysicsbox2dextension.jar in /lib and added it to the Build Path in Eclipse. I\'ve also put a[详细]
2023-03-29 10:46 分类:问答AndEngine how to make a sprite not jump if jump method is called
So I have this method that when i touch the screen my sprite will jump. Now the problem is when I continuously touch the screen the sprite will jump again and again. What I want to do is if it jumps,[详细]
2023-03-28 09:04 分类:问答Saved object not being read from sd card
So in an android game (using andEngine) I\'m making, I\'m trying to save a TMXtiled map as an object and recall it later to save loading time. I have managed to get the files on the sd card but am hav[详细]
2023-03-28 02:51 分类:问答