Search found 539 matches

by dusoft
Thu Jun 13, 2024 7:58 pm
Forum: Games and Creations
Topic: UnsFuck Engine - Object-oriented platformer engine, with slopes too!
Replies: 4
Views: 276

Re: UnsFuck Engine - Object-oriented platformer engine, with slopes too!

It works now.

Maybe the name could be more friendly.
by dusoft
Thu Jun 13, 2024 8:27 am
Forum: General
Topic: Mocking Love?
Replies: 1
Views: 155

Re: Mocking Love?

Nothing that I know of. You can override love modules to make something similar.
by dusoft
Thu Jun 13, 2024 8:25 am
Forum: Games and Creations
Topic: UnsFuck Engine - Object-oriented platformer engine, with slopes too!
Replies: 4
Views: 276

Re: UnsFuck Engine - Object-oriented platformer engine, with slopes too!

Error src/objects/systems/input/controls.lua:70: attempt to index global 'lovepad' (a boolean value) Traceback [love "callbacks.lua"]:228: in function 'handler' src/objects/systems/input/controls.lua:70: in main chunk [C]: in function 'require' src/states/game.lua:2: in function 'stateFun...
by dusoft
Tue Jun 11, 2024 8:24 pm
Forum: Support and Development
Topic: Point in rotated rectangle, alternative method
Replies: 9
Views: 4928

Re: Point in rotated rectangle, alternative method

Hey I'm looking to test if a point is inside a rotated rectangle. I've searched the forum and found this topic: https://love2d.org/forums/viewtopic.php?f=4&t=11585&hilit=rotated+rectangle but using a method with areas sounds like an overkill to me. What I would like to do is: rotate the rec...
by dusoft
Mon Jun 10, 2024 9:52 pm
Forum: Support and Development
Topic: speed
Replies: 11
Views: 503

Re: speed

Oh I see. So are you saying that since love.draw is a real time updater, based on frames rather than runtime, it can only do something so fast, instead, you should load the image using a faster method, then draw it. Also, when you say (also in an unoptimized way) Do you mean the code? Would there b...
by dusoft
Mon Jun 10, 2024 11:50 am
Forum: Support and Development
Topic: Trying to make a pong clone, but the collision isnt working
Replies: 1
Views: 154

Re: Trying to make a pong clone, but the collision isnt working

That's clearly not a collision problem, but rather a syntax error issue. Since you have not posted any code, you likely won't receive any help.
by dusoft
Sat Jun 08, 2024 10:01 am
Forum: Support and Development
Topic: Help with Inventory system!
Replies: 10
Views: 1060

Re: Help with Inventory system!

table.remove is better suited as it does not leave hanging elements around, 0 does not equal nil etc.
https://www.lua.org/pil/19.2.html
by dusoft
Tue Jun 04, 2024 6:06 pm
Forum: Support and Development
Topic: Why fonts look different on LOVE than on web browser?
Replies: 12
Views: 3977

Re: Why fonts look different on LOVE than on web browser?

Good catch and maybe useful for somebody.
by dusoft
Tue Jun 04, 2024 2:27 pm
Forum: Games and Creations
Topic: Captain Bradley in Mauritius (demo)
Replies: 2
Views: 1030

Re: Captain Bradley in Mauritius (demo)

Thanks for trying it out. "Captains wheel" (helm) is sometimes helpful for keeping precise direction, e.g. for the third and final mission of the demo ;-) There are still some bugs with the generation of some objects (e.g. unreachable buoys) as the world is procedurally generated. But I al...