55
submitted 3 days ago by ZippyBot@lemmy.zip to c/gaming@lemmy.zip
you are viewing a single comment's thread
view the rest of the comments
[-] Faresh@lemmy.ml 1 points 1 day ago* (last edited 1 day ago)

I recognize you and your profile picture from some quite popular Luanti mods. :D I have a question regarding making content for Luanti:

I've been interested in maybe some day making a game for Luanti, but I don't really like Lua (I for example imagine that undefined variables evaluating to nil rather than directly throwing an error, identifiers by default being public, and absence of static checking of possibility of null dereference before runtime to be things that can cause quite some annoying bugs). Is there some popular X to Lua transpiler that you've heard people using? Something like what Typescript is to JS or Kotlin/Clojure/Scala to Java (not exactly the same thing since they all compile directly to jvm bytecode rather than java, but you get the point).

I hope I'm not insulting you by asking such a question.

[-] 56_@lemmy.ml 2 points 13 hours ago

I've seen typescript being used for modding using typescript-to-lua. See https://github.com/jordan4ibanez/forgotten-lands and https://github.com/RepComm/mt-api

this post was submitted on 14 Oct 2024
55 points (96.6% liked)

Gaming

2412 readers
198 users here now

The Lemmy.zip Gaming Community

For news, discussions and memes!


Community Rules

This community follows the Lemmy.zip Instance rules, with the inclusion of the following rule:

You can see Lemmy.zip's rules by going to our Code of Conduct.

What to Expect in Our Code of Conduct:


If you enjoy reading legal stuff, you can check it all out at legal.lemmy.zip.


founded 1 year ago
MODERATORS