Search found 15 matches

by Bogdan705
Fri Jun 19, 2020 11:56 am
Forum: Support and Development
Topic: How do I append to a new line using love.filesystem.append?
Replies: 1
Views: 1789

How do I append to a new line using love.filesystem.append?

I am making a random color generator where no two colors are the same. I am having problems with appending to a new line. I've tried using this advice : https://www.reddit.com/r/love2d/comments/4cq7dl/using_lovefilesystem_to_create_a_log_file/ , but adding "\n" at the beginning or end of t...
by Bogdan705
Tue Jul 02, 2019 7:22 pm
Forum: Support and Development
Topic: Do these memory management techniques work in Lua?
Replies: 4
Views: 4897

Re: Do these memory management techniques work in Lua?

I apologize for the links and broad question. Thank you for your answer!
by Bogdan705
Tue Jul 02, 2019 6:37 pm
Forum: Support and Development
Topic: Do these memory management techniques work in Lua?
Replies: 4
Views: 4897

Do these memory management techniques work in Lua?

I managed once again to fall down the rabbit hole of internet articles and eventually stumbled upon a few articles regarding two memory management techniques : something called Data Locality and Object Pools While the code itself is written in a C language ( can't tell which one because I have no ex...
by Bogdan705
Thu Aug 09, 2018 5:44 pm
Forum: Support and Development
Topic: Problem with drawing only the cubes on screen.
Replies: 7
Views: 5305

Re: Problem with drawing only the cubes on screen.

I will try your solution + spatial hashing + capping the framerate and see what the result is.
by Bogdan705
Thu Aug 09, 2018 1:40 pm
Forum: Support and Development
Topic: Problem with drawing only the cubes on screen.
Replies: 7
Views: 5305

Re: Problem with drawing only the cubes on screen.

I looked at my memory usage and it says love uses 60mb. Is that a lot or not much in terms of Love2D standards ?
by Bogdan705
Thu Aug 09, 2018 1:18 pm
Forum: Support and Development
Topic: Problem with drawing only the cubes on screen.
Replies: 7
Views: 5305

Re: Problem with drawing only the cubes on screen.

Nevermind I managed to make the camera run smooth again, but it still says it renders 800+ cubes. Here is a .love file
ooga.love
(505.07 KiB) Downloaded 223 times
by Bogdan705
Thu Aug 09, 2018 1:13 pm
Forum: Support and Development
Topic: Problem with drawing only the cubes on screen.
Replies: 7
Views: 5305

Re: Problem with drawing only the cubes on screen.

I realized that the edge xE,yE and zE might be making the game draw cubes on the border of the map so I decided to scrap and change the function. Now it still draws around 800+ at 100%, but only 400+ at 200%. One significant change though ( for the worse ), is that the game runs way slower now. Here...
by Bogdan705
Thu Aug 09, 2018 1:06 pm
Forum: Support and Development
Topic: Problem with drawing only the cubes on screen.
Replies: 7
Views: 5305

Problem with drawing only the cubes on screen.

So I decided to optimize my game by only drawing cubes that are visible ( already been doing that, and by that I will explain in a bit ) and those that are on screen. Problem is, there are only so many cubes on the screen at a time, yet it tells me it draws around 900+ of them. love 2018-08-08 21-34...
by Bogdan705
Wed Aug 08, 2018 6:39 pm
Forum: Support and Development
Topic: [SOLVED] Isometric Depth Perception
Replies: 4
Views: 2890

Re: [SOLVED] Isometric Depth Perception

Welp I just renamed it.