I played the first handful of levels and then left the game running for half an hour.
The music still played.
(Linux Mint on an older Thinkpad with love 11.4)
Search found 274 matches
- Mon Sep 16, 2024 1:08 pm
- Forum: Support and Development
- Topic: Sound and music cut out after a while for no apparent reason.
- Replies: 8
- Views: 14515
- Sat Sep 07, 2024 8:16 pm
- Forum: Support and Development
- Topic: Need help for tile map system
- Replies: 2
- Views: 6551
Re: Need help for tile map system
It seems to be some subpixel/rounding problem.
I added rounding here and that fixed it:
Also those 31.9999999999999 can just be 32.
I added rounding here and that fixed it:
Code: Select all
function love.update(dt)
camera:lookAt(math.floor(player.x+0.5), math.floor(player.y+5))
--was: camera:lookAt(player.x,player.y)
- Sat Sep 07, 2024 3:18 pm
- Forum: Support and Development
- Topic: Not installable from google play store
- Replies: 8
- Views: 115811
Re: Not installable from google play store
That is valid reasoning, I had the same thoughts. However, I think installing LÖVE is not such a big deal. Not long ago people also installed Flash to play games. Now they install all kind of steam-like launchers and shops. LÖVE might be niche but one sentence is enough to explain why you need to in...
- Sat Sep 07, 2024 2:59 pm
- Forum: Support and Development
- Topic: RTS enemies x, y position overlap from table
- Replies: 3
- Views: 2783
Re: RTS enemies x, y position overlap from table
You need some "collision detection" and "collision reaction." The units are circles, so as first step you need to figure out which circles overlap. #table returns the number of elements in an array. for-loops with #table or ipairs both work, but only if the array uses integer num...
- Sat Sep 07, 2024 8:43 am
- Forum: Support and Development
- Topic: Not installable from google play store
- Replies: 8
- Views: 115811
Re: Not installable from google play store
The typical way to do that (regardless of whether love is downloadable on the Play Store or not) is to publish your program on the Play Store so the only thing people need to install is your program. What's currently available lets you do that. I am not happy without Love on the Play Store. It is c...
- Sat Sep 07, 2024 5:56 am
- Forum: Support and Development
- Topic: RTS enemies x, y position overlap from table
- Replies: 3
- Views: 2783
Re: RTS enemies x, y position overlap from table
function love.keypressed (key, scancode) if key == "space" then table.insert(listOfMinions, m1) end end On every keypress you are adding the same "m1" minion to the list. The m1 minion is defined in love.load() and you are not adding its values but the m1 reference itself. I did...
- Tue Jul 23, 2024 12:23 am
- Forum: General
- Topic: fading trail effect
- Replies: 6
- Views: 7247
Re: fading trail effect
If I understand what you want correctly, then I might have posted a relevant example here:oscaradalid wrote: ↑Mon Jul 22, 2024 4:42 pmIn other engines it achieved this by deleting the screen with a low opacity, but it did not achieve such an effect in love2d
viewtopic.php?p=259476#p259476
- Thu Jul 04, 2024 10:25 pm
- Forum: General
- Topic: Problems accessing the wiki
- Replies: 7
- Views: 4063
Re: Problems accessing the wiki
It is already reported on the github bugtracker. So I guess just wait until someone clicks the right buttons or whatever magic needs to be done. I didn't see it, but I'm not really used to visiting it. All I see is bugs and feature requests for the software itself, nothing about the website. The we...
- Thu Jul 04, 2024 11:36 am
- Forum: General
- Topic: Problems accessing the wiki
- Replies: 7
- Views: 4063
Re: Problems accessing the wiki
It is already reported on the github bugtracker.
So I guess just wait until someone clicks the right buttons or whatever magic needs to be done.
So I guess just wait until someone clicks the right buttons or whatever magic needs to be done.
- Thu Jul 04, 2024 5:27 am
- Forum: Games and Creations
- Topic: 3D Test
- Replies: 4
- Views: 4909
Re: 3D Test
That looks neat. Nice job figuring out the math. You should use love.update(dt) function and put your movement code there, instead of in love.draw() The dt parameter is the time between update-calls and you can use it as multiplier like this: if love.keyboard.isDown("down") then dtd[3] = d...