Search found 83 matches

by Nikki
Tue Dec 21, 2021 12:21 pm
Forum: Support and Development
Topic: AUTOMATIC QUAD DETECTOR
Replies: 14
Views: 7095

Re: AUTOMATIC QUAD DETECTOR

What are the tiles you are looking at? could you post an example?
by Nikki
Tue Dec 14, 2021 10:38 am
Forum: Support and Development
Topic: Use while true do loop?
Replies: 3
Views: 4087

Re: Use while true do loop?

If you could post some code that might help in pinpointing your issue ?

my guess is since you said

Code: Select all

while true do
you never break from the loop and thus it ends up running until infinity or until your program crashes ;)
by Nikki
Tue Nov 16, 2021 2:15 pm
Forum: Support and Development
Topic: How to do cleaner fog of war
Replies: 13
Views: 10307

Re: How to do cleaner fog of war

I think what i would do is : - use that shadowcasting algorithm to get a polygon that describes the light shape, coming from your player in this case - then instead of just drawing that polygon, which is not good enough because you want the opposite - draw your shadow as a screen overlapping rectang...
by Nikki
Tue Nov 16, 2021 11:42 am
Forum: Support and Development
Topic: How to do cleaner fog of war
Replies: 13
Views: 10307

Re: How to do cleaner fog of war

by Nikki
Thu Oct 28, 2021 3:08 pm
Forum: Libraries and Tools
Topic: Development Log for Magic Pixel, a game maker using Love2d
Replies: 86
Views: 84818

Re: Some thoughts on a GB Studio style development environment for Love and Lua...

Do you remember klik and play ? I sort of think an 'event editor' / 'excel based programming' kinda solution would be helpful in a thing like this. https://media.moddb.com/cache/images/engines/1/1/29/thumb_620x2000/krnl386_003.png its bigger brother MMF https://media.moddb.com/cache/images/engines/1...
by Nikki
Mon Oct 25, 2021 4:12 pm
Forum: Support and Development
Topic: key or mouse input with hold
Replies: 4
Views: 4960

Re: key or mouse input with hold

function love.keypressed(key) if key == 'escape' then love.event.quit() end end function love.keyreleased(key) if key == 'q' then table.insert(projectiles, {400,300,fireballCharge,0}) fireballCharge = 0 end end function love.load() fireballCharge = 0 projectiles = {} end function love.update(dt) if...
by Nikki
Fri Oct 15, 2021 1:21 pm
Forum: General
Topic: How to make good explosions
Replies: 7
Views: 6718

Re: How to make good explosions

https://c10.patreonusercontent.com/3/eyJ3Ijo2MjB9/patreon-media/p/post/7719254/918cc309fb6643e4ad3261bd7e711043/1.gif?token-time=1635552000&token-hash=Y3NPPQaytSxhzol0p99YG3WRKdPSYBOkleFIYiTaRjI%3D from https://blog.studiominiboss.com/pixelart loads and loads more valueable learning material on...
by Nikki
Thu Oct 14, 2021 3:56 pm
Forum: Libraries and Tools
Topic: [LIBRARY] tt.lua - Text triggers for lua!
Replies: 5
Views: 8295

Re: [LIBRARY] tt.lua - Text triggers for lua!

I'm sure there is a more proper name for what this does,
My first thought would be 'konami code'
by Nikki
Sun Oct 10, 2021 4:10 pm
Forum: Support and Development
Topic: How can I make randomly generated multiple objects spawn on the screen?
Replies: 1
Views: 3448

Re: How can I make randomly generated multiple objects spawn on the screen?

Have fun with it, The thing I'd like to point out is, I didn't go the coin.update(), coin.draw route Instead I just put some vanilla objects in a table local rnd = love.math.random function love.keypressed(key) if key=='escape' then love.event.quit() end end function love.load() coins = {} local num...
by Nikki
Thu Sep 30, 2021 1:58 pm
Forum: Support and Development
Topic: Xcode 13
Replies: 3
Views: 3721

Re: Xcode 13

https://github.com/love2d/love/commit/6 ... 4677a0cd7e

this fixed it for me

edit: also look here, you might need to to clone instead of using the release.
https://love2d.org/forums/viewtopic.php?t=89473