Search found 101 matches

by marclurr
Sat Mar 23, 2024 11:25 am
Forum: Support and Development
Topic: Can a non-Windows peep test my love file?
Replies: 8
Views: 1406

Re: Can a non-Windows peep test my love file?

Dug out my old Macbook Pro running OSX 10.15.7 and it works fine there too, though the splash screen doesn't seem to display properly. It's contained to the top left of the screen with some artifacting at to the right and bottom of the image (though I suspect this is just what's drawn offscreen when...
by marclurr
Sat Mar 23, 2024 11:17 am
Forum: Support and Development
Topic: Can a non-Windows peep test my love file?
Replies: 8
Views: 1406

Re: Can a non-Windows peep test my love file?

Following your steps works fine for me using Ubuntu 20.04.6. When I load up another file that's there called "draftpo" I get the below error (maybe you're expecting that just thought I'd give you the stacktrace anyway): Error functions.lua:115: attempt to get length of global 'TEAMS' (a ni...
by marclurr
Thu Mar 21, 2024 6:19 am
Forum: Support and Development
Topic: Animation and tweening
Replies: 2
Views: 943

Re: Animation and tweening

Smoothly animating in 3D is usually done using a skeletal rig. The rig configured so that certain bones deform specific parts of the mesh. The rig is then posed into key frames which are essentially 3D transforms, normally defined per bone relative to its parent bone. To get the position and rotatio...
by marclurr
Thu Mar 14, 2024 9:06 pm
Forum: Support and Development
Topic: love.data.pack() no idea how to work it
Replies: 3
Views: 1042

Re: love.data.pack() no idea how to work it

Out of curiosity I wanted to try writing a table of numbers using this method. It's a little bit awkward but if you really want to store a variable amount of data in a binary format this might work fine: love.filesystem.setIdentity("pack_test") local things = {10, 9, 8, 7} love.filesystem....
by marclurr
Thu Mar 14, 2024 8:52 pm
Forum: Support and Development
Topic: love.data.pack() no idea how to work it
Replies: 3
Views: 1042

Re: love.data.pack() no idea how to work it

This example stores 2 numbers serialised using pack in a file and reads them back with unpack. love.filesystem.setIdentity("pack_test") local fmt = "II" love.filesystem.write("highscore.bin", love.data.pack("data", fmt, 123, 456)) local readData = love.filesys...
by marclurr
Tue Feb 27, 2024 6:16 pm
Forum: Support and Development
Topic: I can't seem to get LOVE to start
Replies: 1
Views: 705

Re: I can't seem to get LOVE to start

Haven't looked at the tutorial but you get this error when there's no code for Love to run. Have you checked that you definitely have a file called main.lua under E:/Love Game?
by marclurr
Mon Feb 26, 2024 10:28 am
Forum: Games and Creations
Topic: [LOVEJAM 2024] Defenders of the Shrine
Replies: 0
Views: 1760

[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 ...
by marclurr
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: 236334

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 ...
by marclurr
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: 236334

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.
by marclurr
Tue Jan 09, 2024 6:49 pm
Forum: Support and Development
Topic: [SOLVED] Canvas rendering issue in Android.
Replies: 2
Views: 66339

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})