Search found 1185 matches

by darkfrei
Mon Feb 26, 2024 11:15 am
Forum: Support and Development
Topic: Trying to figure out collision with tiles in platformer game
Replies: 11
Views: 2291

Re: Trying to figure out collision with tiles in platformer game

Thanks! I'll keep it in mind to not fret too much over optimization at this stage! I got something sort of working now. It's still a bit wonky but at least going in the right direction now. I ended up checking the direction of the player velocity and then test the closest two tiles towards that dir...
by darkfrei
Tue Feb 20, 2024 11:25 am
Forum: General
Topic: I can't get rid of the blurred text
Replies: 9
Views: 2490

Re: I can't get rid of the blurred text

Thank you, as I wrote above, LOVE displays the window correctly, even with Windows scaling. In my case, the window is rendered correctly at a scale of 120%, but at 125% it is already greatly enlarged. You and right, but you still must to show us how the window with Windows global scale = 100%, just...
by darkfrei
Tue Feb 20, 2024 8:05 am
Forum: General
Topic: I can't get rid of the blurred text
Replies: 9
Views: 2490

Re: I can't get rid of the blurred text

This?
Windows Global Scale viewtopic.php?t=90052

And also for frames image with 9 tiles, the middle can be stretched:
9 patch viewtopic.php?t=94687
by darkfrei
Tue Feb 06, 2024 11:41 am
Forum: General
Topic: Game engines and frameworks.
Replies: 11
Views: 5639

Re: Game engines and frameworks.

There are a lot of Lua engines/ frameworks, but you can choose most popular of them: https://www.dragonflydb.io/game-dev/engines/lua
by darkfrei
Tue Feb 06, 2024 7:45 am
Forum: Games and Creations
Topic: Virtual gamepad
Replies: 18
Views: 6136

Re: Virtual gamepad

Samsung M53
1. Not fullscreen
2. Pressed buttons are still pressed
3. Left stick has gap near the middle and don't goes to the center without tap.
4. Right stick was not moved, but lest stick is directed to the right stick position.
by darkfrei
Tue Jan 23, 2024 4:16 pm
Forum: General
Topic: Code Doodles!
Replies: 197
Views: 282318

Re: Code Doodles!

From here: https://love2d.org/forums/viewtopic.php?p=258462#p258462 -- Z-sections with T-crossings love.window.setTitle ('Z-sections with T-crossings; press SPACE for one or X-C-V-B to make alot; Q to new') function insertZ (x1,y1, x2,y2, x3,y3, x4,y4) local xmin, ymin, xmax, ymax = math.min(x1, x2)...
by darkfrei
Tue Jan 23, 2024 4:10 pm
Forum: Support and Development
Topic: Z-sections with T-crossings
Replies: 4
Views: 1525

Re: Z-sections with T-crossings

First working version, the Z must make the shortest section more often, not random as now. -- Z-sections with T-crossings love.window.setTitle ('Z-sections with T-crossings; press SPACE for one or X-C-V-B to make alot; Q to new') function insertZ (x1,y1, x2,y2, x3,y3, x4,y4) local xmin, ymin, xmax, ...
by darkfrei
Mon Jan 22, 2024 2:13 pm
Forum: Games and Creations
Topic: A level editor and a minimalist GUI
Replies: 3
Views: 8409

Re: A level editor and a minimalist GUI

What is the output format of it?
by darkfrei
Sun Jan 21, 2024 8:00 pm
Forum: Support and Development
Topic: Z-sections with T-crossings
Replies: 4
Views: 1525

Re: Z-sections with T-crossings

I am pretty sure that not every rectangle can be solved, but there is a smallest rectangle, that can have n such Z-splitters (or n+1 block). But big map without third rule makes just nice city map. Maybe some X-crossings will be also OK. Also this blocks are nice to make a puzzle with not typical ti...
by darkfrei
Sun Jan 21, 2024 3:45 pm
Forum: Support and Development
Topic: Z-sections with T-crossings
Replies: 4
Views: 1525

Z-sections with T-crossings

Hi all! I was very impressed by the code doodle of Trystan https://love2d.org/forums/viewtopic.php?p=257660#p257660 But I think that it will be nice to insert not straight lines, but Z-shaped lines as: z-sections.jpg Can you please help me to start? Now I don't see any way to solve it. This examples...