Search found 105 matches
- Mon Feb 26, 2024 10:28 am
- Forum: Games and Creations
- Topic: [LOVEJAM 2024] Defenders of the Shrine
- Replies: 0
- Views: 3318
[LOVEJAM 2024] Defenders of the Shrine
About Defenders of the Shrine is a mixture of top-down shooter and tower defence. You're tasked with defending a shrine which inexplicably transforms the carcasses of executed slimes into currency. Use it to purchase items, upgrades and helpers in the shop before triggering the next wave of slimes ...
- Fri Jan 12, 2024 9:09 am
- Forum: Support and Development
- Topic: PlayerSprite stutter and eventually is artifacted if drawn on canvas else not
- Replies: 20
- Views: 256248
Re: PlayerSprite stutter and eventually is artifacted if drawn on canvas else not
There is a bit of 'jittering' but it's most likely the fluctuating delta time. As for graphical artefacts, I didn't notice any. That said, you can get a bit of persistence of vision with a large block of colour moving on a pure black background, which can look a bit like a ghost image. Is that what ...
- Thu Jan 11, 2024 3:20 pm
- Forum: Support and Development
- Topic: PlayerSprite stutter and eventually is artifacted if drawn on canvas else not
- Replies: 20
- Views: 256248
Re: PlayerSprite stutter and eventually is artifacted if drawn on canvas else not
Your link leads nowhere (for me at least). It would be easier for people to offer help if you attach your .love here directly.
- Tue Jan 09, 2024 6:49 pm
- Forum: Support and Development
- Topic: [SOLVED] Canvas rendering issue in Android.
- Replies: 2
- Views: 72065
Re: Canvas rendering issue in Android.
I had the same issue, it's to do with DPI scaling on mobile devices. Create your canvas like this:
Code: Select all
love.graphics.newCanvas(WIDTH, HEIGHT, { dpiscale = 1})
- Thu Jan 04, 2024 5:37 pm
- Forum: Support and Development
- Topic: [SOLVED] Variables that have integers being read as nil
- Replies: 2
- Views: 29706
Re: Variables that have integers being read as nil
You're accessing those fields like this:
But you never assign enemy in your loop. You probably have a global table called enemy that you're referencing instead.
Code: Select all
enemy.damage
...
enemy.attackCooldown
- Wed Dec 13, 2023 1:15 pm
- Forum: Games and Creations
- Topic: I created and published my first game! Loaded (PS1, 1995) clone
- Replies: 5
- Views: 15924
Re: I created my first game!
That's really fun. I only stopped playing because I couldn't figure out where I had been vs where I hadn't been, the level is really big! It would be nice if there was some feedback for when your bullets hit an enemy and I did notice if you walk into the wall where there's a door the collision glitc...
- Tue Dec 05, 2023 8:40 am
- Forum: General
- Topic: What are your programming stories?
- Replies: 5
- Views: 19812
Re: What are your programming stories?
The programming thing I've done that amuses me the most was when I got really into spin classes for a short period about 10 years ago. My gym released them for booking in their online portal 3 days in advance at some god awful time of the morning. I kept missing out on the good timeslots so I wrote ...
- Sun Dec 03, 2023 12:53 pm
- Forum: Support and Development
- Topic: Is there a way in Love2D to determine which side of a window is being resized?
- Replies: 4
- Views: 11162
Re: Is there a way in Love2D to determine which side of a window is being resized?
Yeah, if it wasn't clear, I was suggesting to use the position when handling the resize event. It wouldn't work without both pieces of information.
- Sun Dec 03, 2023 7:37 am
- Forum: Support and Development
- Topic: Is there a way in Love2D to determine which side of a window is being resized?
- Replies: 4
- Views: 11162
Re: Is there a way in Love2D to determine which side of a window is being resized?
I haven't checked but I would imagine the window position would also change when it's resized from the left. Maybe you can use that to help your logic?
- Fri Dec 01, 2023 5:16 pm
- Forum: General
- Topic: Collision not being registered
- Replies: 10
- Views: 28860
Re: Collision not being registered
Anyway, to sum up, moving colliders by collider:setPosition() seems like a poor practice and should not be used unless truly intended, right? Also, it feels like too much, but how do I check the Box2D internals to monitor things like this issue? From what I can tell, you're right. Best to let the p...