Giter VIP home page Giter VIP logo

Comments (6)

Nukesor avatar Nukesor commented on May 13, 2024

I think that's a good point.
We always developed games with the engine as a global variable for easy access.

Maybe we could introduce a flag on the entity, which marks it as toBeDeleted on the next tick by the entity manager. Hm, But this could lead to annoying side effects on the next tick.

The thing is that we followed the paradigm that entities should be as stupid as possible. A simple class which is only designed to hold data (Components) and should implement as few logic as possible.

I'll talk with @raffomania, since the entity then needs a reference to the engine, which is something we is something we tried to strictly avoid. But it's a point that it's really inconvenient, if the engine is not a global variable.

from lovetoys.

code0wl avatar code0wl commented on May 13, 2024

Hi @Nukesor, any progress on this?

Just adopted this library, its amazing!

from lovetoys.

Nukesor avatar Nukesor commented on May 13, 2024

To be honest, development has stalled quite a bit.
Both of us moved to other languages/technologies and we haven't properly worked on this library for a really long time.
I'm not sure if this feature will be added by us.
However, we would be happy to review and accept PR's or maybe even add new people to the organization!

from lovetoys.

code0wl avatar code0wl commented on May 13, 2024

@Nukesor Thanks for the reply. I think I am happy with my solution using the features already implemented in your lib.

I share your sentiment greatly. I really like Lua, but it's on a steady decline for a long time now. Once this game is done and is distributed on steam. I will most likely move to either Rust or C# for game development.

from lovetoys.

raffomania avatar raffomania commented on May 13, 2024

If you're looking for more full-fledged alternatives to love, I can greatly recommend godot :) It also supports C# if that's your thing

from lovetoys.

code0wl avatar code0wl commented on May 13, 2024

@raffomania Yeah I've had a brief look at it and followed this course on it on Udemy. https://www.udemy.com/course/godot/

Sadly the C# part was not mature enough to be finished in the course, so they left it opened on "todo".

This made me decide to switch to Monogame at the end.

Thanks for the suggestion. From what I have learned and used in Godot. Its really awesome!

from lovetoys.

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.