Search found 264 matches
- Sat May 11, 2024 7:10 am
- Forum: General
- Topic: [Help] Techniques for scaling
- Replies: 24
- Views: 967
Re: [Help] Techniques for scaling
* To clarify on what this safety padding should be. There's no easier way than importing your PNG texture into Photopea , have a transparent background, then go to Filter > 3D > Texture Dilation and drag the slider until you're satisfied. Then File > Export As > PNG to download the result. No accoun...
- Sat May 11, 2024 6:58 am
- Forum: General
- Topic: [Help] Techniques for scaling
- Replies: 24
- Views: 967
Re: [Help] Techniques for scaling
Getting back to the issue of tearing, which I imagine it's these weird lines in your 1440_810.mov video: _.png Have you tried a very slow zooming out effect instead of randomly walking around? I think this would let you find an exact zoom level that makes the problem appear, so you can write it down...
- Sat May 11, 2024 6:28 am
- Forum: Support and Development
- Topic: Garbage Collector and FFI
- Replies: 8
- Views: 373
Re: Garbage Collector and FFI
If you add a print('Function [X] START') and print('Function [X] END'), with [X] being the function name, at the start and end of the body of each function in your code, and run your program with lovec.exe or with "love.exe --console" so the console appears, inside what function does it cr...
- Tue May 07, 2024 2:32 pm
- Forum: General
- Topic: [Help] Techniques for scaling
- Replies: 24
- Views: 967
Re: [Help] Techniques for scaling
I think the inexact 4/3 camera scale at such a low fidelity will mess things up. If your native canvas is really 480 x 270 then you should be able to draw the game screen at that size, without upscaling anything, and having it appear perfectly -- take a screenshot, go to some paint program and paste...
- Sun May 05, 2024 12:00 am
- Forum: Support and Development
- Topic: Question about breakout - ball and paddle collison
- Replies: 3
- Views: 779
Re: Question about breakout - ball and paddle collison
If that results in a fun behavior then that's golden. I'd also try an alternative where the current bat X speed is added to the ball X speed. This would let the player drag the bat when the ball is about to hit, to make the ball speed up or speed down horizontally, like you can kinda do in air hocke...
- Fri May 03, 2024 4:42 am
- Forum: General
- Topic: Is LÖVE good enough for a big metroidvania game?
- Replies: 5
- Views: 776
Re: Is LÖVE good enough for a big metroidvania game?
Löve uses LuaJIT as the script interpreter: https://luajit.org/luajit.html
LuaJIT has been extensively used in production (though that seems to be with servers, embedded systems etc rather than games) and is very fast.
LuaJIT has been extensively used in production (though that seems to be with servers, embedded systems etc rather than games) and is very fast.
- Thu May 02, 2024 9:48 pm
- Forum: Support and Development
- Topic: [SOLVED] Have some troubles with Animation again
- Replies: 10
- Views: 905
Re: Have some troubles with Animation again
You're making some elementary mistakes. This is usually the sign of "biting more than you can chew" (trying to do something above your current experience level). Ideally you want to enter Flow, where the challenge is very close to your skills, otherwise, if it's too hard you'll suffer from...
- Wed May 01, 2024 12:46 am
- Forum: Support and Development
- Topic: [SOLVED] Have some troubles with Animation again
- Replies: 10
- Views: 905
Re: Have some troubles with Animation again
What you have in there is different than what they said though: player.currentAnimation = {walkingDownAnimation, walkingUpAnimation, walkingRightAnimation, walkingLeftAnimation} You're making a table of tables. But 'player.currentAnimation' should be a reference to a single of those animation tables...
- Wed May 01, 2024 12:41 am
- Forum: General
- Topic: Image format size pickle
- Replies: 19
- Views: 1719
Re: Image format size pickle
And if we imagine a whole class result of paintings, thats 30 students, and we try to flip "rooms" it has to reload 300mb from the sd card everytime as opposed to 30. Thats not a lot by modern standarts but still a loading time. It's probably out of scope, but taking e-commerce as a refer...
- Tue Apr 30, 2024 11:22 pm
- Forum: General
- Topic: Image format size pickle
- Replies: 19
- Views: 1719
Re: Image format size pickle
My bigger beef with that is not even the space taken but loading these files causes stuttering, but ohwell that just imitates professional software these days. Hm, I think the only solution to that is to move the loading to a child thread, similar to the code in this: https://love2d.org/forums/view...