Very interesting! It is a good start! =)
Very interesting! It is a good start! =)
Cezar Wagenheimer from Green Sauce Games
Programmer of Druids - Battle of Magic, Abra Academy, Abra Academy - Returning Cast, Rabbit Jump, Dreams of a Geisha and Heroes from the Past: Joan of Arc
Wagenheimer's Game Development Blog
Can't we just write some bindings to borrow the C++ libraries? Or, drop to root on android and build fpc from source on android itself?
I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.
ZenGL isn't a simple library, so it will be too hard to make such a port because Oxygene just a "Java with Pascal face" and this is not enough. Also I didn't find any information about integration with Eclipse(only with Visual Studio under Windows... O_o and where is my Linux support? )Any consideration towards Oxygene 5 support in ZenGL?
// spam-bots... they like to post in my threads, or their invisible messages are everywhere?
Last edited by Andru; 05-11-2011 at 08:31 AM.
In theory, it is not possible for you to see those posts - interesting. To be honest, deleting them makes my job a tad harder as for some reason the selection button doesn't work properly every time otherwise. Can't be helped I guess - I end up taking care of 30 odd posts a day whenever my Internet connection decides to play ball, but as the modem is dyeing (doesn't sync above 2.1meg and decreasing) things aren't looking as good as they could be...// spam-bots... they like to post in my threads, or their invisible messages are everywhere?
Thats a surprise - a LOT of development nowadays is done under Mac and Linux - especially for a linux target like android.only with Visual Studio under Windows
I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.
I'm moderator in ZenGL part of forum, so I see these messages...In theory, it is not possible for you to see those posts - interesting
Ah, makes sense.
I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.
Finally ZenGL got an Android 2.1+ support in latest svn revision. You can grab it from here with your svn client:
http://zengl.googlecode.com/svn/trunk/
Standard demo05 for learning how to use ZenGL with Android is placed here. Just unpack it somewhere and import into Eclipse - File->New->Project->Android Project and choose "Create project from existing source":
Then choose some other options like Android SDK and so on. Next step - download from here project for Lazarus(also there is a Makefile). Unpack it into demos directory of ZenGL svn working copy. Open demo05.lpi in Lazarus and change path to lib directory and libdl.so to your own from yours Android NDK:
Compile and copy all *.so libraries into TestZenGL/libs/armeabi. So, now you can start to test it on your device or emulator
PS: Everything was tested with FreePascal compiled from fixes_2_6 branch. Any other details like "How to setup Eclipse with Android SDK/NDK on my OS" and "How to compile FreePascal for ARM on my OS" are not a topics of this topic, so... maybe later I will try to prepare some notes in wiki for Linux/Windows, but due to lack of time I don't know when I will do this.
Last edited by Andru; 27-11-2011 at 06:18 PM.
Bookmarks