Jul 28 2010

AndEngine – Fully Featured Box2D Physics Wrapper

Category: AndEngine,AndEngineExamples,AndEnginePhysicsBox2DExtensionNicolas Gramlich @ 22:19

Hello Community,

recently I sent the old Box2D-Wrapper to trash and replaced it with the fully featured Box2D-Wrapper from the libGDX-project created by Mario Zechner. The great thing about this is that now also Joints are supported. See the following video of some strong revolute joints kicking some objects around :)

Best Regards,
Nicolas


Jul 27 2010

AndEngine – Tiny Racing Game Example

Category: AndEngine,AndEngineExamples,AndEnginePhysicsBox2DExtensionNicolas Gramlich @ 21:19

Hello Community,

following is a tiny racing game implemented with AndEngine. Its about 250 lines of code long and took approximately 2 hours to implement (including graphics).

The code can be found here:

RacerGameActivity

Best Regards,
Nicolas


Jul 27 2010

AndEngine – TiledMaps in the TMX format

Category: AndEngine,AndEngineExamplesNicolas Gramlich @ 12:16

Hello Community,

I finally found the time to upload the following video, that is showing the support for TiledMaps, a grid of small tiles making something bigger than the sum of its parts. ;)

The format I chose (better to say ‘I was made aware of’ :P ) is the TMX format. TMX is a XML based format, that is mainly human readable but still has very small file-sizes. The biggest plus of the TMX format is that it has a fully featured and easy to use cross-platform Map-Editor called “Tiled”, which can be obtained for free here: http://www.mapeditor.org/.

Example-Code:

TMXTiledMapExample

So now go and make some amazing RPGs !!! :P

Best Regards,
Nicolas


Jul 17 2010

AndEngine – Pixel-Perfect Collision Detection

Category: AndEngine,AndEngineExamplesNicolas Gramlich @ 13:54

Hello Community,

yesterday and today I’ve been working on the Collision Detection in AndEngine. (Before it sucked big time, by ignoring rotation and scale :? )

Now AndEngine has Pixel-Perfection Collision Detection! :) Watch this…

Pretty nice hm :)
(Btw: API-wise there is no difference to any previous collision detection!)

Example-Code:

CollisionDetectionExample

Best Regards,
Nicolas


Jul 17 2010

AndEngine – MultiTouch Extension

Category: AndEngine,AndEngineMultiTouchExtenisonNicolas Gramlich @ 11:40

Hello Community,

recently I finished the AndEngineMultiTouchExtenison. It’s an extension as MultiTouch is only supported by Android 2.0 and higher and so it works only when the Android-Version and the Device support is 2.0 or higher.

Example-Code:

The following video shows me running the MultiTouchExample on my Nexus, which suffers from the “poor” multitouch capabilities of the display of the Nexus.
Somebody has an Evo 4G or a Milestone/Droid? It should work perfectly with those.

Hope this helps some of you :)

Best Regards,
Nicolas


Jul 11 2010

AndEngine – On-Screen Controls

Category: AndEngine,AndEngineExamplesNicolas Gramlich @ 10:58

Hello Community,

today I couldn’t resist implementing On-Screen Controls, both digital and analog ones.

Example-Code:

Hope this helps some of you :)

Best Regards,
Nicolas