Welcome, Guest
Username: Password: Secret Key Remember me
Cross-Build Development for Android OS

TOPIC: hge + fpc + sdl ;)

hge + fpc + sdl ;) 3 years 4 months ago #3450

  • luis santos
  • luis santos's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 1
  • Karma: 0
Hello friends these last days I have been programming for Android used Java and ActionScript, during this time I missed the Easter and decided to try the freepascal for Android.
During some testing and seeing some projects like zengl berojump i noticed that it was possible to create something with Pascal and lazarous.
I uze the freepascal and lazarus with codetypon on windows 7 and Ubuntu .

Seeing some native code I noticed that they had ported sdl to Android and decided to try.

I compiled the sdl and a few libs ;
All libs are in this format. So it is loaded by Java and you can luse oad whatever you want.
i also converted the HGE to be use with GLES the classes is HGESprite,HGESpriteAnimation,HGEParticles and HGEFont,
the HGEFont and HGEParticles can be load from c++ editor

the function of events is not the same for Windows but I have not created the right function we can change the java code and use our own methods or create new functions in java
I did not create the header but used the JEDI own so it was not possible to test all functions but in the future I hope to have created the main functions.
I leave here the sources for freepascal , libs and the H headers sory but I don’t have webspace to put all the sources.


i have to send credits to all folk from Freepascal,CodeTypon and lazarus;
and all the amazing guys ...
Andru (ZenGL)
felipemdc all the work with fpc for android
bero (FoembJump)
all coders that release the sources and share the knowledge.

ps: sorry for my bad english: P

The administrator has disabled public write access.
The following user(s) said Thank You: kenlee

hge + fpc + sdl ;) 3 years 4 months ago #3451

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Online
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 2651
  • Thank you received: 860
  • Karma: 91
Thank Sir
if you want you can upload all source to our Files->libraries web session
CodeTyphon Architect and Programmer
Last Edit: 3 years 4 months ago by Sternas Stefanos.
The administrator has disabled public write access.

hge + fpc + sdl ;) 3 years 4 months ago #3457

  • zeljko
  • zeljko's Avatar
  • Offline
  • Junior Boarder
  • Posts: 185
  • Thank you received: 35
  • Karma: 15
whether the to work with codetyphon 4.10

I made it with FPC-2.5.1 but not with CodeTyphon 4.10 (fpc-2.7.1)
The administrator has disabled public write access.
Time to create page: 0.160 seconds