Search found 62 matches

by ChicoGameDev
Sat Feb 20, 2021 9:36 pm
Forum: Support and Development
Topic: Memory leak - Something I'm missing ?
Replies: 8
Views: 1432

Re: Memory leak - Something I'm missing ?

Using a spritebatch may cause the graphics driver to do the same thing internally when its contents are modified/added to -> drawn -> modified/added to -> drawn etc. multiple times within a single frame (eg in your example where love.keypressed is called several times in a frame), so using love.key...
by ChicoGameDev
Sat Feb 20, 2021 7:21 pm
Forum: Support and Development
Topic: Memory leak - Something I'm missing ?
Replies: 8
Views: 1432

Re: Memory leak - Something I'm missing ?

So if I understand everything right, I'm doing it right but there will be absolutely no issue if my maps are generated only once in the load event ? Actually the problem is still happening when you press space only once and wait and press again and wait and so on, so even without the multiple calls ...
by ChicoGameDev
Sat Feb 20, 2021 4:41 pm
Forum: Support and Development
Topic: Memory leak - Something I'm missing ?
Replies: 8
Views: 1432

Re: Memory leak - Something I'm missing ?

Hi pgimeno, Thanks for your answer. So am I understanding this right ? Are you confirming that there is an issue with LÖVE's Canvases ? I do not know a lot about SpriteBatch I will take a look. I really thought that canvases was the way to go in this case. Do you think I could report this as a bug ?...
by ChicoGameDev
Sat Feb 20, 2021 7:22 am
Forum: Support and Development
Topic: Memory leak - Something I'm missing ?
Replies: 8
Views: 1432

Memory leak - Something I'm missing ?

Hi everybody, I try for a few days now to warp my head around an issue of memory leak. I'm unable to find the issue myself so I hope someone will notice something I'm not able to see. It's a map generation code... Large maps 5600x5600 pixels. Before you ask, yes I tried to manage it in chunks but th...
by ChicoGameDev
Tue Dec 15, 2020 3:31 pm
Forum: General
Topic: What do you think of my signature?
Replies: 4
Views: 5061

Re: What do you think of my signature?

Hi, I agree with ReFreezed, it really blend too easy with the post. If you put code in your post the signature will not stand out. Maybe adding something on top or avoid the "code" display and put plain text. I admit I would be a bit irritated if I try reading a piece of code and my eyes w...
by ChicoGameDev
Fri Oct 16, 2020 6:38 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 851
Views: 372119

Re: Simple Tiled Implementation - STI v1.2.3.0

Indeed your answer was in first sight a bit rude due to a time loss or something like that. That being said I will PM you cause I'm curious to hear what you define as useless in Luven. But just to stay focused on the subject, everything is working fine, the tilemap drawn by STI is correctly affected...
by ChicoGameDev
Fri Oct 16, 2020 3:23 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 851
Views: 372119

Re: Simple Tiled Implementation - STI v1.2.3.0

Interesting "answer".

Sorry for taking your time sir.

Thanks at least for the dot path, wasn't aware of that.


Have a nice day.


Regards.
by ChicoGameDev
Tue Oct 13, 2020 10:16 am
Forum: Libraries and Tools
Topic: Simple Tiled Implementation - STI v1.2.3.0
Replies: 851
Views: 372119

Re: Simple Tiled Implementation - STI v1.2.3.0

Hi, I'm working on a little project and I want to use STI for managing maps. I want to use my own library, Luven, for lights and camera. And bump.lua for collisions. So it's hard to explain but I get hard times getting everything "aligned". Maybe someone will find a way to make them all wo...
by ChicoGameDev
Mon Oct 05, 2020 2:00 pm
Forum: Games and Creations
Topic: Buildingly - WIP GUI Building Tool
Replies: 3
Views: 2625

Re: Buildingly - WIP GUI Building Tool

Hi, Of course it would be wonderful if Love2D will have his own tools. So it is not "pure lua" because my build thread is using "os.execute". And to modify the Info.plist file I use the plutil command (Don't know if it is MacOS native..). And I use an external CLI for changing th...
by ChicoGameDev
Fri Oct 02, 2020 7:26 pm
Forum: Games and Creations
Topic: Buildingly - WIP GUI Building Tool
Replies: 3
Views: 2625

Buildingly - WIP GUI Building Tool

Hi, I've been working hard the last 2 days on making a GUI building tool. Small video: https://trello-attachments.s3.amazonaws.com/5f73f8b000d3ab26d5e42f42/5f777be0f4e6f57cdaef678e/2da9f63d93dc68956c92026dad8f6b5b/buildingly_0.1.mp4 So for the moment it only works on MacOs but it builds Mac and Wind...