Jump to content

leitoso

Community Members
  • Posts

    13
  • Joined

  • Last visited

Everything posted by leitoso

  1. thanks for this reference @Genava55, I think I have read in the past, looking now I see the same stuff, correct me if am I wrong, but it was basically a developers preference of language, which I agree in part, but the simplicity of Lua is so good that we can build our own conventions, and the scripting part of a game should be simpler, not a bloated object language like JS, and now TS which build complexity over the top of things. I like the remark of @Stan` and I believe he is talking about vanilla Lua, luajit I believe could be more closer to c/c++ performance once optimized and jit enabled. as you were talking about bottleneck, I cant see any with proof in hands but I see a lot of issues with 0ad open for hours and you start to see a lot of memory issues and warnings popping out in the logs, idk for sure if it is related to JS integration and leaking stuff but I think in the long run Lua could be more lighter and well rounded with memory and stuff - ffs Lua source and documentation is a little over 1 mb hehehe but I think I will finish my remarks about language wars here, I was much more interested in push a support for Lua in the "core" and these others things we can discuss in the future when we have more material proof to discuss. thanks @Seleucidsfor the tips, I will start there and put remarks and failures here so we can proceed with development thanks !
  2. Hi ! I am considering introducing Lua (luajit) as a second modding language, alongside JavaScript. Here’s why: performance: Lua is fast, especially for CPU-heavy mods (AI, simulations, etc.), which is critical for large-scale RTS battles. simplicity: Lua’s lightweight syntax and C/C++ integration make it easier to expose engine features directly to modders. ecosystem: Lua is widely used in gaming (e.g., World of Warcraft, Roblox) and has robust tooling for debugging and profiling. sandboxing: Lua’s simplicity allows for tighter security controls, reducing risks of crashes or exploits. this isn’t a replacement for JavaScript. javascript mods will continue to work! The goal is to add options, not remove them. Lua could become the preferred language for performance-critical mods, while JS remains great for UI/scripted events. what this means for modders: gradual rollout: Lua support would be phased in, starting with experimental access to core APIs. tooling: we'd provide Lua-specific documentation, debuggers, and compatibility layers for JS ↔ Lua interop. points for discussion: are there existing JS workflows we would struggle to replicate in Lua? is there any other integrations like this one done in the past or abandoned we have notice of, can we learn from it ? where to start, is there any tips for a unexperienced 0ad "core" dev like me or others wanting to help that we can start learning from ? other topics of discussion ... please feel free to add and help ?
  3. this is a ugly mod, and disrespectful of the 0ad game designers :/
  4. yeah, kushites buildings are so cute: pyramids, camps and a huge temple ... wonder diversity are indeed beautiful, also ptolemaic libraries are cute. another interesting building for diversity are apartments, I forgot to research who made the first proposal for this building but thanks !. I don't know why only carthaginians have it, since romans had very crowded cities, see: https://en.wikipedia.org/wiki/Insula_(building) also, I am pretty sure other civilizations had it too, like persians and ptolemies who also had huge cities.
  5. maybe something like a "defensive mod" for the great aspect of community games in which trading, defensive walls, defensive siege could be valued. but I also agree that a25 favors speed and aggressiveness and to counter it a bit, proposals like that could help a bit, thanks @MirceaKitsune
  6. I like the idea, since this alpha, aggression became the main focus, I miss the old days of walls, trading, defense and so on ... now most games I play within 15-20 min is over
  7. thanks for the info, I will look it up, I am using mac right now, I also use linux
  8. I see what you are saying, I happen to spec some games with Muted2021 and his account variations (Muted2020, Muted...). He seems to be sending huge messages to all the players, thats cause players to drop and himself in the process. I unmask him to the players in game and he stopped, seems like he did not want any trouble, but you said he continued doing it, so, idk... This is not the same as the DDOS guy, but still worth looking at. I forgot to record him and my suggestion is to limit message size, if that is possible.
  9. @Pacha A gaia wonder in a wonder game would mean gaia win? ... but nice idea
  10. make sure to make them bare chested and shaved like in the movie ... and manly manly man
  11. @Herly what a nice voice ... nice tuto, perfecto hombre
×
×
  • Create New...