12-30-2020, 05:22 PM
Hi,
Last year I released a modified tilengine version with Lua support. It's quite different than the other bindings, because this version is designed to act as a retroarch emulation core plugin, with the game itself written in Lua at the end. To have a rough idea:
Classic binding load chain:
Java game -> TilengineJNI.dll -> Tilengine.dll
Tilengine_libretro with Lua load chain:
RetroArch -> Tilengine_libretro.dll -> Game in Lua
Here's the project:
https://github.com/megamarc/Tilengine/tree/libretro
Basic example in Lua:
https://github.com/megamarc/Tilengine/bl...e/game.lua
To use two different languages, you have to look for specific way (it may not be possible at all) for those languages. For Java + Lua you can check this forum thread:
https://stackoverflow.com/questions/2113...ua-in-java
Last year I released a modified tilengine version with Lua support. It's quite different than the other bindings, because this version is designed to act as a retroarch emulation core plugin, with the game itself written in Lua at the end. To have a rough idea:
Classic binding load chain:
Java game -> TilengineJNI.dll -> Tilengine.dll
Tilengine_libretro with Lua load chain:
RetroArch -> Tilengine_libretro.dll -> Game in Lua
Here's the project:
https://github.com/megamarc/Tilengine/tree/libretro
Basic example in Lua:
https://github.com/megamarc/Tilengine/bl...e/game.lua
To use two different languages, you have to look for specific way (it may not be possible at all) for those languages. For Java + Lua you can check this forum thread:
https://stackoverflow.com/questions/2113...ua-in-java