Oct 31 2010

Announcing: AndEngine LevelStatsDB

Category: AndEngineNicolas Gramlich @ 17:25

Hello Community,

while making a new game that consists of a series of levels, you always have to think about the difficulty. You’d probably try to make the difficulty rise a bit each level, so there will be as little frustration as possible, while the levels don’t get to easy over time.

This question made me implement a new feature of AndEngine, the so called LevelStatsDB. The LevelStatsDB is a tool that consists of a single class in AndEngine, a few PHP-files, a couple of MySQL-tables and finally an Excel-2007 file (I chose Excel 2007 because of all it’s cool features, but you can get the data from the database through any other way!). So it’s really simple to setup on any webserver!

So from your code you call a single line of code, whenever your game-logic determines a level was solved or failed. And on the other end you get this neat table that shows quite some interesting data, like:

  • How long was level X played
  • How often was level X played
  • How often was level X solved
  • What is the chance a player solves a level vs. failing it
  • What was the fastest/average/slowest time level X was solved

AndEngine LevelStatsDB

AndEngine LevelStatsDB

So if you think this is cool or not, let me know so I’ll release this even sooner than planned :)

Best Regards,
Nicolas


Aug 13 2010

New Game: Gravity Collector

Category: AndEngineNicolas Gramlich @ 16:14

Hello Community,

while the development of AndEngine obviously didn’t stand still the last weeks and the List of AndEngine Apps and Games is getting longer every day, I took the time to make a game on my own.

Gravity Collector

“Simple yet addictive” – Collect the glowing spheres by changing the gravity and using the anti-gravity-boost. 50 Levels, more added weekly and you can even build your own!

Gravity Collector QR-Code

Price: 0,99€ ~ £0.81 ~ $1.26

The game uses the a lot of the features AndEngine provides, like:

So this game gives you an idea of what can easily be done with the Engine, while it performs very well even on low end devices. :)

And now… go and buy it !!! :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


    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


    Jun 30 2010

    AndEngine – New ParticleSystem Examples

    Category: AndEngine,AndEngineExamplesNicolas Gramlich @ 15:40

    Hello Community,

    yesterday I uploaded some Examples for the AndEngineExamples. Including the following ParticleSystems, that (in my opionion) look pretty cool and are just a hand full of easy code-lines!

    httpvh://www.youtube.com/watch?v=HBLKj2USqUM

    Here is the source for the last of the third ParticleSystem:

    http://code.google.com/p/andengineexamples/source/browse/src/org/anddev/andengine/examples/ParticleSystemNexusExample.java

    Best Regards,
    Nicolas


    Jun 20 2010

    AndEngine – Multiplayer Extension – Sneak Peek

    Category: AndEngine,AndEngineMultiplayerExtensionNicolas Gramlich @ 19:50

    Hello Community,

    just wanted to give you a sneak peek on what the brand new AndEngine Multiplayer-Extension.

    It features a very efficient bidirectional  ’message’-based binary protocol, so depending on what you plan to do, probably only latency will matter, not really bandwidth.

    How did I get this idea?
    Over the weekend I’ve had been visiting the DroidCamp Stuggart (#dcs2010), which was a pretty amazing event, where I gave a little presentation  about AndEngine (I’ll post the slides here soon). There also was a Hackathon, where we decided to make a multiplayer card game based on AndEngine. Basically every player sees his own deck of cards on his screen, together with the shared stack where all players can drop cards onto.

    Due to AndEngine, the graphical part of the game was not the problem,  so what we had to implement was a form of Client-Server-Communication, which took us about 2 hours to ending in a not so generic way. At some point I remembered that I already had done exactly that before (yeah I have a bad memory, I know), for my Android-to-PC remote control AndRemote. So today I sat down 2 hours and made the code a little more abstract and while I was mostly deleting AndRemote-specific classes, I could reuse 99% of the code without any change (felt pretty good actually =D ).

    I’ll commit the code of the Multiplayer-Extension to Google Code as soon as possible, which is, when I have completed the final tests.

    Best Regards,
    Nicolas


    « Previous PageNext Page »