Search found 239 matches

by knorke
Mon Dec 25, 2023 12:25 pm
Forum: General
Topic: [Just for fun] Roast my code.
Replies: 14
Views: 251929

Re: [Just for fun] Roast my code.

You re-use the "tmp" variable multiple times for completely different things. tmp = load(file) -> fileContent = load(fileName) function getnewlines(array, offset) tmp = {} tmp[1] = 0 tmp[2] = offset -> local i = 0 local newlinesCount = 0 tmp = love.window.showMessageBox("Warning"...
by knorke
Mon Dec 11, 2023 12:10 am
Forum: General
Topic: Transfer one buffered image to another.
Replies: 5
Views: 12658

Re: Transfer one buffered image to another.

I only quickly scrolled through your code, it seems you call newImage multiple times per frame. That is slow.
by knorke
Fri Dec 08, 2023 2:14 am
Forum: Libraries and Tools
Topic: Love2D builder
Replies: 68
Views: 220402

Re: Love2D builder

I just noticed that the builder now creates an installer, instead of an .exe that can be played directly.I
I would like an option to use the old way, just the .exe file.
by knorke
Sun Dec 03, 2023 5:25 pm
Forum: General
Topic: LÖVE 11.5 released!
Replies: 19
Views: 180215

Re: LÖVE 11.5 released!

Added "LÖVE Loader" launcher on Android for easier loading of .love files.
What is that? A separate tool? Or will Love2d display some selection menu instead of the "no game" screen?
by knorke
Sun Dec 03, 2023 5:21 pm
Forum: Games and Creations
Topic: Simple LÖVE games
Replies: 12
Views: 67450

Re: Simple LÖVE games

Welcome
looks good from the videos :)
Before Love2d you used Pygame? Looking forward to more original games.
by knorke
Sat Dec 02, 2023 4:48 am
Forum: Support and Development
Topic: Love 2D 11.4 crashes after exactly 2234 frames
Replies: 6
Views: 11922

Re: Love 2D 11.4 crashes after exactly 2234 frames

I am at frame 8000+ and everything seems normal so far.
This is with love 11.4 on Linux Mint.
by knorke
Sat Dec 02, 2023 4:42 am
Forum: General
Topic: What are your programming stories?
Replies: 5
Views: 19728

Re: What are your programming stories?

Long time ago I made a tool for an online RTS game. It could be run while watching a replay: It collected some data and afterwards it created some graphics and statistics. (For example a heatmap where units were destroyed, how players had spent their resources, build orders) Eventually, I made a bot...
by knorke
Sat Dec 02, 2023 3:59 am
Forum: General
Topic: Collision not being registered
Replies: 10
Views: 28720

Re: Collision not being registered

(disclaimer: I never used windfields, only love.physics, but as I understand windfields is just a wrapper to simplify some things) I agree with letting Box2D handle as much of the movement as possible. If love.physics is only used for collision detection then you waste its biggest advantage and it c...
by knorke
Thu Nov 30, 2023 9:11 pm
Forum: General
Topic: Collision not being registered
Replies: 10
Views: 28720

Re: Collision not being registered

Just some random thoughts...as first step try to figure out what exactly goes wrong. Is it the collision detection? Or deleting the bullet? As I said before, low speeds increase the probability of the issue. Maybe because with low speeds more bullets are alive at the same time? That might point to s...
by knorke
Sat Sep 30, 2023 5:37 pm
Forum: Games and Creations
Topic: Very simple falling sand simulation
Replies: 9
Views: 12732

Re: Very simple falling sand simulation

Nice project.
Small problem, the window does not fully fit on my laptop's screen.