Page 1 of 1

love2d on Java?

Posted: Sat Jan 22, 2011 5:28 pm
by ishkabible
i was wondering if any one ever made a love2d for Java so that it could be played in browsers. love2d with Java would kill flash for game dev, so much faster and it already has everything built in that it needs. i think there is something like JLua out there.

Re: love2d on Java?

Posted: Sat Jan 22, 2011 5:40 pm
by FierceForm
The engine is written in C++ using Lua as scripting. I guess it could be possible if you ported all of the C++ code to Java, but that's a lot of work. Also, JLua is probably not being worked on anymore, seeing as the last update was years ago (and their website seems to have been taken over by law ninjas), so you'd have to use a different Lua interpreter for Java (some Google results: Mochalua, Jill, Luaj). AFAIK no one has done all of that yet, but if you feel the need to do that just to get your game on a website, no one is stopping you. (After all, Love is zlib/libpng, a pretty awesome open-source license)

Re: love2d on Java?

Posted: Sat Jan 22, 2011 6:22 pm
by Robin
There is a LÖVE-plugin for Firefox, which is basically normal LÖVE with I don't know what, bartbes made it a while ago. It's pretty awesome but keys don't work, because SDL thinks it has no focus. Also it's a major security risk (unless it's SELÖVE, I guess).

Re: love2d on Java?

Posted: Mon Jan 24, 2011 4:59 am
by kurige
It may also be able to port a version of LÖVE to NaCl, Google's (relatively) new native client architecture for Chrome. Would be a fun project.

Re: love2d on Java?

Posted: Thu Apr 09, 2015 5:11 pm
by deathbeam

Re: love2d on Java?

Posted: Thu Apr 09, 2015 5:17 pm
by Bindie
Did it take four years? Cool.

Re: love2d on Java?

Posted: Tue Apr 14, 2015 1:21 am
by jjmafiae
there was something made by Kikito (viewtopic.php?f=3&t=17727) you can also look into LibGDX

Re: love2d on Java?

Posted: Tue Apr 14, 2015 3:00 am
by s-ol
jjmafiae wrote:there was something made by Kikito (viewtopic.php?f=3&t=17727) you can also look into LibGDX
Java is not JavaScript

There is a java game framework running lua that is trying hard to become löve-like, it has been linked above by deathbeam.

Re: love2d on Java?

Posted: Tue Apr 14, 2015 9:10 pm
by jjmafiae
S0lll0s wrote:
jjmafiae wrote:there was something made by Kikito (viewtopic.php?f=3&t=17727) you can also look into LibGDX
Java is not JavaScript

There is a java game framework running lua that is trying hard to become löve-like, it has been linked above by deathbeam.
Omg brain fart sorry xD

Re: love2d on Java?

Posted: Wed Apr 15, 2015 3:53 pm
by I~=Spam
jjmafiae wrote:Omg brain fart sorry xD
:rofl: I have done plenty of those myself :crazy: