Search found 219 matches

by GVovkiv
Sat Dec 04, 2021 11:05 pm
Forum: Support and Development
Topic: game development questions
Replies: 4
Views: 112

Re: game development questions

for iBullet, bullet in ipairs (bullets) do if bullet.valid then for iBody, body in ipairs (bodies) do if body.valid and isCollision (body, bullet) then bullet.valid = false body.valid = false break -- stop inner loop end end end end -- here remove not valid bullets and bodies Yandere dev moment, pog
by GVovkiv
Fri Dec 03, 2021 10:00 am
Forum: General
Topic: Any game maker type tool in Love2D?
Replies: 15
Views: 423

Re: Any game maker type tool in Love2D?

grump wrote: Fri Dec 03, 2021 9:40 am
zorg wrote: Fri Dec 03, 2021 9:29 am more about "anti-your-structure" and "pro-their-structure"
a.k.a. NIH syndrome. It's not really a good thing. But I'm doing it too with love2d because, quite frankly, there's not that many good libraries. Most are substandard.
Well, it may be good learning expirience
by GVovkiv
Thu Dec 02, 2021 4:48 pm
Forum: Libraries and Tools
Topic: Blob.lua - binary serialization library
Replies: 28
Views: 33026

Re: Blob.lua - binary serialization library

yal2du wrote: Thu Dec 02, 2021 4:37 pm Is this library still available (somewhere)? The url github.com/megagrump/blob goes to 404.
https://github.com/megagrump/moonblob ?
by GVovkiv
Thu Dec 02, 2021 12:00 am
Forum: General
Topic: Any game maker type tool in Love2D?
Replies: 15
Views: 423

Re: Any game maker type tool in Love2D?

It's not easy to make, and the community is tiny. A tool like that would be pretty far removed from the immediate mode DYI philosophy of love2d. There's already PICO-8 and its clones that cover the Lua niche, which is not that big. If something like that ever shows up, it will have little resemblen...
by GVovkiv
Wed Dec 01, 2021 5:06 pm
Forum: General
Topic: Mars Lander. Any collaborators? Noobs welcome.
Replies: 128
Views: 37860

Re: Mars Lander. Any collaborators? Noobs welcome.

Just be careful, I had to modify the new aspect.lua that tog used to graphics.push( "all" ) to get paddy canvases to work or else it tells me something like love.grapr.present can't be called with an active canvas :? Well, i guess since this library like super easy and practicaly don't do...
by GVovkiv
Wed Dec 01, 2021 10:38 am
Forum: General
Topic: Mars Lander. Any collaborators? Noobs welcome.
Replies: 128
Views: 37860

Re: Mars Lander. Any collaborators? Noobs welcome.

Gunroar:Cannon() wrote: Tue Nov 30, 2021 10:50 pm Yeah, thanks to your aspect.lua too.
Yeah "epic" library
I have plans, as i write in post, to rewrite that thing with adding functions to deal with more situations, etc
So, yeah
by GVovkiv
Tue Nov 30, 2021 9:42 pm
Forum: General
Topic: Mars Lander. Any collaborators? Noobs welcome.
Replies: 128
Views: 37860

Re: Mars Lander. Any collaborators? Noobs welcome.

Some touch support. Editted aspect.lua, main.lua. Added libs paddy.lua, oscheck.lua and class.lua. That should be all :? . It works with both DESKTOP and touch screen devices know. Touchpad is not drawn when on DESKTOP. Though still can't buy stuff. Could use e,q,and other buttons on left side pad....
by GVovkiv
Mon Nov 29, 2021 1:22 pm
Forum: Support and Development
Topic: Game is not pixel sharp when run on windows but, it is on linux.
Replies: 2
Views: 248

Re: Game is not pixel sharp when run on windows but, it is on linux.

It may be caused by drivers for gpu in windows, since it may round values differently
by GVovkiv
Wed Nov 24, 2021 6:31 pm
Forum: Support and Development
Topic: making randomized path less "shaky"
Replies: 5
Views: 1268

Re: making randomized path less "shaky"

It works only for numbers < 2^51. All functions in the lume table I wrote were pretty much custom made for the snippet in question, for simplicity. Obviously the snippet didn't need bigger numbers, just as it didn't need concatenating arrays with more than 1 element in the first argument etc. Numbe...
by GVovkiv
Tue Nov 23, 2021 10:28 pm
Forum: Support and Development
Topic: making randomized path less "shaky"
Replies: 5
Views: 1268

Re: making randomized path less "shaky"

pgimeno wrote: Tue Nov 23, 2021 9:18 pm

Code: Select all

return n+(2^52+2^51)-(2^52+2^51) end
I still don't really understand how that even work
Have some spare to explain that?