Search found 3562 matches
- Thu May 09, 2024 6:31 pm
- Forum: General
- Topic: [Help] Techniques for scaling
- Replies: 15
- Views: 537
Re: [Help] Techniques for scaling
OK, try this and see whether it helps: function PlayerCamera:update(dt) local camX = Player.x local camY = Player.y local mapW = Map.width * Map.tilewidth local mapH = Map.height * Map.tileheight camX, camY = self:setBorders(camX, camY, mapW, mapH) camX = math.floor(camX*self.scale + 0.5) / self.sca...
- Thu May 09, 2024 12:36 pm
- Forum: General
- Topic: [Help] Techniques for scaling
- Replies: 15
- Views: 537
Re: [Help] Techniques for scaling
I wanted to have a look at the issue, but RL is keeping me quite busy these days. Could you please indicate what kind of movement you want? Specifically, my understanding is that you have a virtual resolution of 480x270 which is the underlying resolution, and you zoom it e.g. by 4 to get 1920x1080 i...
- Tue May 07, 2024 11:20 am
- Forum: General
- Topic: Love2D should look into its android capabilities
- Replies: 2
- Views: 186
Re: Love2D should look into its android capabilities
No, we couldn't. Different projects, different devs.Gunroar:Cannon() wrote: ↑Tue May 07, 2024 10:43 am Could we just ... try to fix these problems, especially the jit?
- Mon May 06, 2024 6:51 pm
- Forum: General
- Topic: [Help] Techniques for scaling
- Replies: 15
- Views: 537
Re: [Help] Techniques for scaling
What do you mean by jittery? Do you mean it snaps to virtual 480x270 pixels, and you want it to have screen-pixel movement as opposed to virtual-pixel movement? I find it hard to imagine what can be producing the tearing with the data you've provided. If you can, posting a .gif animation would help ...
- Sat May 04, 2024 8:18 pm
- Forum: Libraries and Tools
- Topic: error explorer - an interactive error screen for love
- Replies: 3
- Views: 788
Re: error explorer - an interactive error screen for love
Why is this not part of Löve already?
Great job. This could be especially helpful to novices who aren't familiar with error reports.
Great job. This could be especially helpful to novices who aren't familiar with error reports.
- Sat May 04, 2024 8:10 pm
- Forum: Support and Development
- Topic: Question about breakout - ball and paddle collison
- Replies: 3
- Views: 762
Re: Question about breakout - ball and paddle collison
Many people use trig where none is needed. This problem does not need to involve angles at all. The solution in the post you've quoted is simple and elegant.
- Wed May 01, 2024 4:08 pm
- Forum: General
- Topic: Image format size pickle
- Replies: 19
- Views: 1523
Re: Image format size pickle
Most of these, if not all, are scriptable though. ImageMagick's `convert` can reduce the quality of a JPG and convert it to PNG.
- Wed May 01, 2024 2:41 pm
- Forum: General
- Topic: Image format size pickle
- Replies: 19
- Views: 1523
Re: Image format size pickle
Yes knorke i know how masks work and they are in consideration, i just dont like using them for this tasks. I just tried optipng, that sounded promising, i was looking for exatly that, BUT it only reduced the 10.8mb file to a lousy 10.4mb which is even worse than having gimp do it. :crazy: Here's w...
- Wed May 01, 2024 12:26 pm
- Forum: Games and Creations
- Topic: Abtastorgan - a qwop speed puzzler
- Replies: 4
- Views: 691
Re: Abtastorgan - a qwop speed puzzler
Hm yes. I had thought about always displaying the time limits for gold/silver/bronze. On the other hand there is a balance between giving info and confusing the player with a too cluttered screen. My suggestion is to add it to the prize screen just like it is in the failing screen. I don't mind not...
- Wed May 01, 2024 7:48 am
- Forum: General
- Topic: Image format size pickle
- Replies: 19
- Views: 1523
Re: Image format size pickle
Also, have you tried PNG optimizers?
apt-cache search png optimize
apt-cache search png optimize