Search found 1176 matches

by darkfrei
Thu Nov 10, 2022 3:47 pm
Forum: General
Topic: How to make curvy lasers
Replies: 8
Views: 4654

Re: How to make curvy lasers

Based on the lightning local function newLaser (x1,y1, x2, y2, sd) -- d is amount of subdivisions, for example 3 sd = sd or 3 local p1 = {x=x1, y=y1} local p2 = {x=x2, y=y2} local points = {p1, p2} for i = 1, sd do local n = (#points-1) local temp = {unpack (points)} -- print ('i'..i..' n'..n) for j...
by darkfrei
Thu Nov 10, 2022 10:57 am
Forum: Libraries and Tools
Topic: asesprite AI extension
Replies: 2
Views: 2951

Re: asesprite AI extension

It looks incredible good!

by darkfrei
Thu Nov 10, 2022 9:45 am
Forum: Games and Creations
Topic: GMSweeper - A simple minesweeper game
Replies: 18
Views: 7952

Re: GMSweeper - A simple minesweeper game

1) It must be at least twice bigger on the 4K monitors
2) Please change the GUI that I can switch the tabs Game/Scores/About without closing it.
by darkfrei
Wed Nov 09, 2022 5:37 pm
Forum: Support and Development
Topic: Stupid Question from the beginer
Replies: 18
Views: 5007

Re: Stupid Question from the beginer

Anonimus220 wrote: Tue Nov 08, 2022 2:28 pm Wow, thanks. I wasn't suspecting that everything will be SO different. I just had a recomendation from one guy who said that he used Love2D for his projects.
Just use the Zero Brain Studio, write the path to the love.exe and start the program with F6.
by darkfrei
Fri Nov 04, 2022 9:21 pm
Forum: General
Topic: How to make curvy lasers
Replies: 8
Views: 4654

Re: How to make curvy lasers

Maybe the same as lightning, just make the line not so straight.
viewtopic.php?p=249816#p249816

But add more points and smooth thre result line as
t2 = 0.25*t1+0.5*t2+0.25*t3 where t2 is actual point, 1 and 3 are previous and next point in line.
by darkfrei
Thu Nov 03, 2022 8:10 am
Forum: Support and Development
Topic: I'm having an issue with my player detecting when it is above the ball (windfield)
Replies: 3
Views: 2306

Re: I'm having an issue with my player detecting when it is above the ball (windfield)

Can the player stand on the top left corner of the ball?

Must be the player position and ball position show the point of contact or just middle point of them?

Where is the x-coordinate checking?
by darkfrei
Thu Nov 03, 2022 12:17 am
Forum: Support and Development
Topic: Adding to the gridlock movement tutorial on the tutorial section of love
Replies: 2
Views: 2539

Re: Adding to the gridlock movement tutorial on the tutorial section of love

After following the tutorial I'm at a loss of how to do much outside of changing table drawing colors and fill/line, I have no clue how to add interaction, enemies, etc and I can't find any gridlocked movement tutorials that use tables to help me out, does anyone know of a good place to learn more ...
by darkfrei
Thu Oct 27, 2022 7:06 am
Forum: Support and Development
Topic: Best way to chunk tiles?
Replies: 7
Views: 5510

Re: Best way to chunk tiles?

1) Set the chunk as 32x32 tiles. 2) Make the map. 3) Take the time that the chunk needs to be loaded. 4) Make the loading system that spread the loading time between several ticks/updates. 5) Load and unload the chunks that are not visible for the player, according the movement velocity and the time...
by darkfrei
Wed Oct 26, 2022 9:00 pm
Forum: Support and Development
Topic: Run love.draw before love.update
Replies: 7
Views: 2894

Re: Run love.draw before love.update

Or if the dt is too huge set it to the not too huge.
if dt >0.05 then dt = 0.05 end
Maybe freeze by the slow computer, but 20 fps is always too slow.