Search found 446 matches

by yetneverdone
Fri Nov 18, 2022 4:06 am
Forum: Libraries and Tools
Topic: love.scene (yet another scene graph library)
Replies: 48
Views: 45848

Re: love.scene (yet another scene graph library)

It seems that the sample in the repo's readme is wrong: local Scene = require("love_scene.scene") local view = Scene.newView() print(1, view:newSprite(e.transform.pos:unpack())) --no error print(2, Scene.newSprite(view, e.transform.pos:unpack())) --has error --should be local node = view:n...
by yetneverdone
Thu Nov 17, 2022 2:46 pm
Forum: Libraries and Tools
Topic: love.scene (yet another scene graph library)
Replies: 48
Views: 45848

Re: love.scene (yet another scene graph library)

Thanks! After more usage, i still have some questions. Can the x and y be optional when creating the sprite? Perhaps default it to 0 if nil is passed What's the difference between transforming the nodes vs using the rest of the parameters in :setGraphic (rotation, scale, offset, shear)? Whats the re...
by yetneverdone
Thu Nov 17, 2022 5:26 am
Forum: Libraries and Tools
Topic: love.scene (yet another scene graph library)
Replies: 48
Views: 45848

Re: love.scene (yet another scene graph library)

Oh another thing, can we have type id for the nodes? so we can have `view:type() == "View"` assertions and whatnot. Also, what about the fill mode when using this? local rect = { {0,0}, {100,0}, {100,100}, {0,100} } local mesh = love.graphics.newMesh(rect, "fan", "static&quo...
by yetneverdone
Thu Nov 17, 2022 1:13 am
Forum: Libraries and Tools
Topic: love.scene (yet another scene graph library)
Replies: 48
Views: 45848

Re: love.scene (yet another scene graph library)

Awesome. Now im convinced to go with it. Just got to think how i will incorporate this with ecs 🤔
by yetneverdone
Wed Nov 16, 2022 4:07 pm
Forum: Libraries and Tools
Topic: love.scene (yet another scene graph library)
Replies: 48
Views: 45848

Re: love.scene (yet another scene graph library)

I see, thanks for the explanations. I was hoping of using love.graphics.rectangle/print instead of generating text and mesh objects. I can manage with those still. Do you recommend using camera node as the parent/root node of all other nodes just like how it is structured in Unity and Godot (i think...
by yetneverdone
Wed Nov 16, 2022 1:00 am
Forum: Libraries and Tools
Topic: love.scene (yet another scene graph library)
Replies: 48
Views: 45848

Re: love.scene (yet another scene graph library)

Thank you. I use this library in almost all of my Love2d games and will be happy to help if you encounter any issues or if you have questions. Hi, looking to try this lib again, looking at the source code, it doesn't seem to handle love.graphics.print and rectangle, and other primitives. What appro...
by yetneverdone
Mon Nov 07, 2022 5:51 am
Forum: Libraries and Tools
Topic: LuaPreprocess - straightforward preprocessor with simple syntax
Replies: 76
Views: 161489

Re: LuaPreprocess - straightforward preprocessor with simple syntax

Hi, just gonna share here the now public repo of my project which uses luapreprocess a lot for other devs. https://github.com/flamendless/GoingHomeRevisited I will be moving to a new repo to rework from the ground up the game. Im still not sure whether to use luapreprocess again or go back to plain ...
by yetneverdone
Fri Nov 04, 2022 2:11 am
Forum: Libraries and Tools
Topic: Hardware Accelerated Raycaster
Replies: 11
Views: 9709

Re: Hardware Accelerated Raycaster

Awesome, I always want to start with raycasting but never gotten to it yet. Will it be open-source like in GitHub? Glad to see another love project powered by Slab :)
by yetneverdone
Sat Oct 29, 2022 11:26 am
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 98
Views: 271437

Re: Slab - An Immediate Mode GUI Library In Lua

Oj, I found the commit that addresses it, but dont understand, how it works without forwarding events from Love... @Grump, could you explain it? Here are related info in the repo from megagrump https://github.com/flamendless/Slab/pull/107 https://github.com/flamendless/Slab/issues/102 I have finall...
by yetneverdone
Fri Oct 28, 2022 3:43 pm
Forum: Libraries and Tools
Topic: Slab - An Immediate Mode GUI Library In Lua
Replies: 98
Views: 271437

Re: Slab - An Immediate Mode GUI Library In Lua

This issue is identified for long time. I've already posted about it and proposed some sollution, but based on event processing. It can be found here . In fact, it's not a "bug". It's rather inavoidable result of chosen approavh, based on state only, without processing direct input events...