Jun 27 2011

New AndEngine features in June

Hello Community,

in the past weeks, the development of AndEngine has been anything but standing still! Following is a list of the significant new features that were added in the >80 changesets of not-even-ended June!

  • AndEngine
    • New TextureFormat parameter: RGBA_8888 and RGB_565 (read more)
      • RGBA_8888 the old default value, supporting Texture transparency.
      • RGB_565 preserving memory, not supporting Texture transparency (useful for background!)
    • Managed BufferObject (read more)
    • SpriteBatch to draw multiple sprites with one OpenGL call (read more)
      • Can increase performance to up to 3x!
  • AndEngineMultiplayerExtension
    • AutoDiscovery via UDP broadcast (read more)
      • ZeroConfiguration/IDontCareAboutIPs !
  • AndEnginePhysicsBox2DExtension
    • Enhanced ContactListener with preSolve(…) and postSolve(…) methods. (Thanks to Mario!)
      • Platform game anyone?
  • AndEngineSVGTextureRegionExtension
    • Completely new extension allowing to render SVG files to Textures (read more)

So these are all the new features I didn’t forget about :D

Best Regards,
Nicolas


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


Jun 14 2010

AndEngine – Physics Box2D Extension – Benchmark

Category: AndEngine,AndEnginePhysicsBox2DExtensionNicolas Gramlich @ 12:23

Hello Community,

I just did a test on the AndEnginePhysicsBox2DExtension. The test adds animated(!) boxes and circles (Ratio 50%-50%) to a scene and logs the FPS.

210 Objects (105 Boxes + 105 Circles)AndEngine Physics Box2D Extension Benchmark-Scene

This is the resulting graph on three different devices:

  1. Nexus One – Android 2.2 – 800×480 pixels
  2. HTC Tattoo – Android 1.6 – 320×240 pixels
  3. HTC Dream/G1 – Android 1.6 480×320 pixels

AndEngine Physics Box2D Extension Benchmark-Chart

In my opinion the result on the Nexus One running Android 2.2 (Froyo) is very very impressive – 200 Objects at almost playable 20 FPS!

Even on first-generation, low end devices you can get more than 30 FPS with about 40 objects.

Best Regards,
Nicolas

Tags: ,