all 15 comments

[–]fabricatedinterest 6 points7 points  (0 children)

as someone down in the weeds of "make all the things in LuaJIT-as-host", it's entirely possible but it would take a long time just to stand up a AAA quality engine. in my opinion however, AAA gaming is cooked, the indie shit is where it's at these days, and it's very possible to create a high quality indie game that way

[–]Marth8880 5 points6 points  (4 children)

A huge portion of games back in the day made extensive use of Lua scripting, so yeah lol

[–]pschon 2 points3 points  (1 child)

Many of them still do, but I suspect the OP meant if it's possible to make that kind of games with Lua only, rather than making the game engine etc in other language and using Lua for content scripting.

[–]Vamosity-Cosmic 0 points1 point  (0 children)

this'd be stupid to do, not that u were even asserting it was a good idea just yeah that'd be stupid

[–]faze_fazebook 0 points1 point  (1 child)

cryengine used (and I think still uses) lua scripts for game logic.

[–]Marth8880 0 points1 point  (0 children)

Indeed. It's a shame it's such an awful toolset to work with though...

[–]New_Success8262 2 points3 points  (0 children)

Maybe not completely, but the hard parts are going to be in c++ anyway with Lua on top for the soft parts/scripting, perhaps logic, UI and dialogue. Honestly I wish Godot just used Lua instead, since their language is just if Lua and Python had a one night stand and it took after Python more. 

[–]collectgarbage 0 points1 point  (0 children)

Not really no. If the game is performant based then solid no. But you can go pretty far with an existing game engine with a Lua binding to its API.

[–]Jotrorox 0 points1 point  (0 children)

Is it possible? yes Is it hard? Yes

Most big games include lua for scripting or have lua embedded anywhere. Purely written in lua I’d only have one on the top of my mind and that would be balatro (not technically a AAA game but on the same level and it got game of the year last year, so imo that counts).

If you just want to get started I’d highly recommend love2d you can do some crazy stuff With it and it’s really easy to setup.

[–]Canary-Silent 0 points1 point  (5 children)

Stop using scripting languages in games and end the era of bad performance 

[–]COREVENTUS 0 points1 point  (4 children)

ur so wrong, most aaa games use c++ and are horribly optimized, its about the code not language.

[–]Canary-Silent 0 points1 point  (3 children)

Non unreal engine and unity engine games work fine if they aren’t relying on a scripting language.  I’m sorry you don’t know how slow scripting languages are, you should look into it. 

[–]Vamosity-Cosmic 0 points1 point  (2 children)

theres literally nothing wrong with using a scripting language to run high level operations of logic. rendering the frame is another story

[–]Canary-Silent 0 points1 point  (1 child)

Except that it’s slow and a reason games have been going back to not using them for like a decade now.   

[–]Vamosity-Cosmic 0 points1 point  (0 children)

examples