Java Love2D?
- Gunroar:Cannon()
- Party member
- Posts: 1088
- Joined: Thu Dec 10, 2020 1:57 am
Re: Java Love2D?
Maybe make a libgdx wrapper that calls it's functions like love2d? (I too like Java, though I'm also fine with dos and thens )
Re: Java Love2D?
I do believe the simplicity of Love2D is partly the result it is uses Lua since it was designed to be embedded in to C/C++ applications with no external dependencies so you can also just include any Lua library and run. This is why it is so small, simple, compact, ready to go.
Any other language would require 3rd party runtimes, compilers, wrappers and god knows what to get it compile and run.
There is only 1 alternative I know to be aiming for a similar approach and that is Raylib. It has tons of wrappers and bindings for all languages you can imagine including Java, C#. So it is maybe an option if you really dislike the syntax of Lua.
But if you want to stick with Love2D, the only options are transcompilers like
LunaScript
https://ifritjp.github.io/documents/en/lunescript/
TypeScript2Lua
https://typescripttolua.github.io
But I'm pretty sure it is going to be more trouble than its worth. You better off using a native Java, C#, JavaScript or TypeScript library if you prefer the syntax.
Any other language would require 3rd party runtimes, compilers, wrappers and god knows what to get it compile and run.
There is only 1 alternative I know to be aiming for a similar approach and that is Raylib. It has tons of wrappers and bindings for all languages you can imagine including Java, C#. So it is maybe an option if you really dislike the syntax of Lua.
But if you want to stick with Love2D, the only options are transcompilers like
LunaScript
https://ifritjp.github.io/documents/en/lunescript/
TypeScript2Lua
https://typescripttolua.github.io
But I'm pretty sure it is going to be more trouble than its worth. You better off using a native Java, C#, JavaScript or TypeScript library if you prefer the syntax.
Re: Java Love2D?
There are also MoonScript (a new language, designed around Lua), Funnel (Scheme/Lisp-like) and Glóa (another new language by forum member ReFreezed). I don't think any of these is similar to Java.
Who is online
Users browsing this forum: No registered users and 88 guests