Results 1 to 9 of 9

Thread: Android game FoembJump now opensourced

  1. #1

    Android game FoembJump now opensourced

    Hello you all,

    I've decided to make my android game called FoembJump opensource, which contains 99% ObjectPascal code, 0.1% C++ code (because the original OpenGL ES 2.0 JNI-bridged Android Java API was broken in some Android versions 2.0+2.1 (non-existent) and 2.2 (existent but buggy), it's fixed in Android >=2.3) and 0.9% Java JNI-Bridge Code (with OpenGL ES 2.0 context setup code part and so on).

    It uses OpenGL ES 2.0, and it's multithreaded (so UI, gamelogic and rendering stuff are splitted in own threads for maximal possible framerate over a render task queue).

    And the whole sound/music stuff are also self-rendered by the objectpascal code with a own small-but-nice sound system, which supports WAV for sound effects (incl. looping (with support for loop header stuff in the RIFFed WAVs), fading, panning, polyphony, etc.) and MOD/WOW/XM for music (so BeRoXM is integrated).

    The game framework itself is crossplatform, so FoembJump can run on Android, Win32/Win64 and Linux-x86/Linux-AMD64 with "only one" codebase.

    And BeRoVectorCanvas is a stacked vector 2D canvas with own TTF font loader and renderer, together with analytical anti aliasing (with optional support for RGB subpixel anti aliasing) for the whole canvas content. It's, or better it was used mainly only for the font rendering stuff.

    Android market link: https://market.android.com/details?i...ames.foembjump
    AndroidPit app center link: http://www.androidpit.de/de/android/...jump/FoembJump

    And here finally the link to the sources: http://rootserver.rosseaux.net/android/code/FoembJump/

    The game data stuff is licensed under the http://creativecommons.org/licenses/by-nc-sa/3.0/
    license, for example the most of the graphics are from Christoph 'giZMo' Muetze.

    And the code is mostly licensed under the 2-clause simplified BSD license.
    Last edited by BeRo; 05-11-2011 at 03:05 AM.

  2. #2
    Oh this is super awesome. I'll have a look ASAP.
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  3. #3
    Thank you. That is quite generous of you.

  4. #4
    PGDCE Developer de_jean_7777's Avatar
    Join Date
    Nov 2006
    Location
    Bosnia and Herzegovina (Herzegovina)
    Posts
    281
    Awesome. Thanks Benjamin.
    Existence is pain

  5. #5
    many thanks BeRo ,this is really cool sharing

  6. #6
    Spirit of sharing knowledge....

    Thank you....

  7. #7
    Wow! Thanks so much for allowing us to see your source code - very very generous of you!!

    cheers,
    Paul

  8. #8
    PS. I have installed the game on my tablet and will give it a go tonight

  9. #9
    Hey ReBo, if I want try making my own Android game using some of your framework as a basis, how do I make the cross-compiler needed to compile the pascal code? What version of freepascal do I need, and what parameters would I need when building the cross-compiler?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Comodo SSL