Making my current game in javascript, and potentially looking to use love for my next one. Anyone with experience in both?
I'll be wrapping my current game up in electron, but for my next game, I was looking to do something a little more native. Love and lua seem to be the perfect combo since they keep much of the expressiveness of javascript.
I have three primary concerns about making the jump that I can't find much info on.
First, I'd like to know how the performance will compare to js running in chrome. I assume this would be better since it doesn't have the overhead of the browser, but I'd like to know for certain what to expect. 2x faster? 20x? Does that go for rendering as well, or is webgl on-par?
Second, I'm wondering about the quality of the available helper libraries. Do most love developers do everything themselves or are there some key libraries that tend to get heavy use? Currently, I'm using Phaser. I'm mostly using it as little more than a proxy to its renderer, Pixi. But, at the same time, I've got things like quadtrees, scene graphs, and animation handling all in arms reach when I do wish to use them, preventing me from reinventing the wheel. Are there any community "go-to"s for these common things that you'd recommend?
Last, I'm wondering if there is anything comparable to the chrome devtools for lua. They strike a good balance between being powerful without the cumbersome-ness of full IDEs. I can't imagine a world without then, and I'm wondering if I just have to expand my horizons. What would you recommend?
Posted Feb 15, 2016, 6:26 AM UTC
Love2D is very fast, it does seem faster than the JS canvas. I'm sure SDL2.0+OpenGL (what Love2D uses) is faster than whatever you're using for Javacsript, unless it's... SDL2.0+OpenGL.
Love2D has so many helper libraries all around the forums, from entity component systems, to multiplayer, to GUI libraries... it has all you would ever need.
You can embed your own sort of system like it in your Love2D engine, that's what I did and it is great for debugging.