Yet another SDL2 based game in the play store

Hi,

I’ve released yet another game in the google play store. Just an
experiment what is possible with the codebase of my first game (CaveExpress)

If you like it, please rate it - and as always - the code is on github
at: https://github.com/mgerhardy/caveexpress (yes, same repository as
CaveExpress)

I hope the code can serve someone as example for SDL2 based games - and
don’t hesistate to report silly coding errors if you stumple upon them.

I’m currently only providing android binaries (via appstore) but it
works on windows, linux, macos, nacl (tested) and theretically on ios.

Have fun and a lot of puzzle hours with it.

Regards
Martin

You need to specify a platform target in Application.mk

Sorry. I dont understand. Do you have problems compiling or running the
game. Application.mk is autogenerated by the Makefile.

MartinAm 15.08.2014 18:07 schrieb “ruler501” <d.ruler501 at gmail.com>:

You need to specify a platform target in Application.mk


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I was replying to zellJunior

The problem he is describing comes from not having

APP_PLATFORM := android-{whatever}

in your Application.mk

Hi, can you help me to compile my game for android. I was trying to do this under eclipse, tutorial from http://www.dinomage.com/2013/01/howto-sdl-on-android/
it gives me error that egl/eglplatform.h not found. Some time ago, I don’t remember how, but I managed to get rid of this error, but when I run app in the emulator, it crashed.
can you guide with some steps, or if you need more info about what I did I can write it.

thank ruler501, it helped, but when I open my compiled project in eclipse, I have some errors in SDLActvity.java.

zellJunior wrote:

thank ruler501, it helped, but when I open my compiled project in eclipse, I have some errors in SDLActvity.java.

I don’t use Eclipse so I can’t help there. I just use cli and Code::Blocks