Search found 640 matches

by BrotSagtMist
Mon May 20, 2024 6:44 pm
Forum: General
Topic: Pool(Billiards) physics (Need help)
Replies: 7
Views: 1293

Re: Pool(Billiards) physics (Need help)

This is already cooler than 90% of what you find in comercial pool games for old consoles.

The problem here is that this kind of game is all about physics, you gotta have to nail it or else its garbage.
So pool is not the smartest starting point to get into game dev.
by BrotSagtMist
Mon May 20, 2024 3:31 pm
Forum: Support and Development
Topic: How do you really tell if your game has a memory leak?
Replies: 23
Views: 4416

Re: How do you really tell if your game has a memory leak?

Practical example for a memory leak: Have a textbox, have it have a zoom in/out function. We reload our font with Font = love.graphics.newFont( zoom) _Font_ is overwriten each time so logically we would assume the old font data is discardet as it is no longer referenced. This is not the case because...
by BrotSagtMist
Sun May 19, 2024 5:35 pm
Forum: Support and Development
Topic: Screen Size behavior
Replies: 1
Views: 458

Re: Screen Size behavior

Somewhere in this player:draw mess you call either translate or scale which of course makes all following positions incorrect.
by BrotSagtMist
Wed May 15, 2024 5:30 pm
Forum: Support and Development
Topic: whats the best way to make general colision detection?
Replies: 6
Views: 1510

Re: whats the best way to make general colision detection?

Thats a broad question and largely depends on what type of game, how many objects are on the screen or even how many pixels the game has. Losely there are 3 approaches to this: Mapping based - Where the entire viewable area is mapped to a table, that means around 10-100 pixel are grouped together as...
by BrotSagtMist
Sat May 04, 2024 6:52 pm
Forum: Support and Development
Topic: Bottons activating when I maintain them on touchscreen
Replies: 3
Views: 843

Re: Bottons activating when I maintain them on touchscreen

Putting this in the touchpress callback looks like an error to me.
Put this in the update loop instead.
by BrotSagtMist
Fri May 03, 2024 4:55 pm
Forum: General
Topic: Need some help guys!
Replies: 5
Views: 1533

Re: Need some help guys!

+1 is the the only math most games need.
by BrotSagtMist
Fri May 03, 2024 4:12 pm
Forum: Support and Development
Topic: Help with "fade out" effect
Replies: 3
Views: 789

Re: Help with "fade out" effect

That .love is packaged incorrectly. I see no fading at all here and i am not sure what exactly you need. But you dont need to have multiple canvases for it. If you just want a fading trail then the smartest solution is to have a table full of positions that you just prepend (table insert) the curren...
by BrotSagtMist
Thu May 02, 2024 7:12 pm
Forum: General
Topic: Is LÖVE good enough for a big metroidvania game?
Replies: 7
Views: 1907

Re: Is LÖVE good enough for a big metroidvania game?

Löve has a better performance than anything else i am aware of.
by BrotSagtMist
Wed May 01, 2024 4:17 pm
Forum: General
Topic: Image format size pickle
Replies: 19
Views: 3109

Re: Image format size pickle

Yea but i need to infuse the transparency between that.
I have not tried yet but i will probably generate it in Löve itself so i end up with a badly compressed png here.
by BrotSagtMist
Wed May 01, 2024 3:06 pm
Forum: General
Topic: Image format size pickle
Replies: 19
Views: 3109

Re: Image format size pickle

Oh wow thanks for finding these, so i tried them on the 10mb file and it gave a 40% reduction to 6mb. But THEN i tried them on a file where i already added an alpha layer and did the cutout and the reduction was over 60%. I can live with that. I also found another stupid method: just save the file a...