Coder Social home page Coder Social logo

Comments (19)

AJenbo avatar AJenbo commented on April 27, 2024 6

It's something we are considering but no plans have been made at this point. It would probably come some time after porting to 64bit and cleaning up the render.

from devilutionx.

AJenbo avatar AJenbo commented on April 27, 2024 3

We have decided that LUA will be the supported scripting/modding language.

We would like to make Hellfire via LUA as a proving ground. Any help to this end this would be appropriated.

from devilutionx.

AJenbo avatar AJenbo commented on April 27, 2024 3

Portuguese for "moon" apparently 🤷

Wrong HERE

from devilutionx.

jfalcou avatar jfalcou commented on April 27, 2024 2

Chiming in. I mentioned https://github.com/ThePhD/sol2 on the discord. not sure it fits the bill in terms of language dependency (this requires C++17) but it's a rather efficient wrapper for LUA and allows for a lot of easy bindings.

If this is something that may be of interest, I can tackle on integrating it in a branch and starts playing around moving non-logic bits of the game into LUA scripts as a first proof of concept.

from devilutionx.

AJenbo avatar AJenbo commented on April 27, 2024 2

We have Lua working now via this PR: #6689 which will probably bee merged soon.
The current idea is to add events similar to PZ: https://pzwiki.net/wiki/Category:Current_Lua_Events

from devilutionx.

qndel avatar qndel commented on April 27, 2024 1

purists are playing their crappy vanilla anyway so who cares

from devilutionx.

kraileth avatar kraileth commented on April 27, 2024

Was hoping for something like this, too. Thanks for sharing that there is at least a first prototype!

from devilutionx.

folknor avatar folknor commented on April 27, 2024

I've just got to say this, even though has no technical relevance, but everyone in the ticket has got it wrong thus far - Lua is not an acronym. It's not "LUA", it's "Lua". And it is awesome, good choice :-)

from devilutionx.

kphoenix137 avatar kphoenix137 commented on April 27, 2024

Lua is a planned addition, I believe for 1.7.0.

from devilutionx.

malvarenga123 avatar malvarenga123 commented on April 27, 2024

Shouldn't this be kept open then? With 1.7.0 tag?

from devilutionx.

AJenbo avatar AJenbo commented on April 27, 2024

The issue isn't very detailed it feels like it magically expects LUA to mean a modable UI with bindings. LUA is a general target so the issue isn't really helpful for tracking this.

from devilutionx.

folknor avatar folknor commented on April 27, 2024

Again, Lua is not an acronym. Like I wrote in my previous comment here #48 (comment)

But if you don't believe me, just go to the source itself and see how they write the name: http://www.lua.org/about.html

from devilutionx.

AJenbo avatar AJenbo commented on April 27, 2024

Being pedantic is not a virtue. I'm generally pretty bad at spelling and make much bigger typographical crimes on an hourly basis.

from devilutionx.

malvarenga123 avatar malvarenga123 commented on April 27, 2024

LUA is a general target so the issue isn't really helpful for tracking this.

That's ok, but is there another issue tracking it?

from devilutionx.

kphoenix137 avatar kphoenix137 commented on April 27, 2024

LUA is a general target so the issue isn't really helpful for tracking this.

That's ok, but is there another issue tracking it?

Do we need one? Issue reports are for generally tracking bugs, problems, and feature requests. This is more of a question, which has been answered. Issue reports also help developers and contributors as a to-do list, so things don't get forgotten about. Lua is planned and nobody is really going to forget about it, so I don't believe we need an issue. It's @AJenbo 's prerogative if he feels it should stay open or closed.

from devilutionx.

AJenbo avatar AJenbo commented on April 27, 2024

It's been her for over 4 years without anyone picking it up, I would say lets just close this issue for now.
For the interested parties I would suggest watching announcements. It's also not unlikely that I will post a message in here once it lands.

from devilutionx.

malvarenga123 avatar malvarenga123 commented on April 27, 2024

@AJenbo No problem.
@kphoenix137 this PR: #6517 is exactly the type of stuff I had in mind with the Lua framework. In fact, it can be used for much more optional graphical features that might bother purists and do not need to be in DevilutionX's code base. For example, these resistances icons:
image

from devilutionx.

malvarenga123 avatar malvarenga123 commented on April 27, 2024

But it could allow things that even you guys feel like it's cheating or not in the the project's scope, without resorting to a fork and direct changes to the code. One example: the PR that showed how many monsters were alive in the dungeon, that most of you didn't agree.

from devilutionx.

AJenbo avatar AJenbo commented on April 27, 2024

Well it really depends of what bindings we implement for Lua. It could be limited to printing chat messages, or powerful enough to implementing Hellfire (preferably I would like that at some point)

from devilutionx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.