Search found 2745 matches

by zorg
Sat Jan 18, 2020 1:47 pm
Forum: Support and Development
Topic: Re: Hash
Replies: 3
Views: 179

Re: Re: Hash

As far as i can tell from the source, the wiki's order should be the one that works...
https://github.com/love2d/love/blob/mas ... #L303-L325
by zorg
Sat Jan 18, 2020 1:31 pm
Forum: Support and Development
Topic: [IMPORTANT] Problem with the game distribution.
Replies: 13
Views: 414

Re: [IMPORTANT] Problem with the game distribution.

Just look at this 3,500 line switch-case statement: https://github.com/TerryCavanagh/VVVVVV/blob/master/desktop_version/src/Game.cpp#L605 Jesus, a switch statement going up to magic number 4099, not to mention the lack of any comment in most of the cases and the complexity nested in some of them. I...
by zorg
Sat Jan 18, 2020 7:28 am
Forum: General
Topic: Recommendation for Tutorials starting point[solutions provided]i
Replies: 1
Views: 98

Re: Recommendation for Tutorials starting point

I wouldn't bet on that, mainly because unfortunately they might be for different versions, with things no longer applicable to the current one; they would need to be updated and -kept- updated by volunteers, which apparently isn't happening yet. I'd start with a lua (5.1) tutorial first, then with a...
by zorg
Wed Jan 15, 2020 5:35 am
Forum: Support and Development
Topic: Is there a simple way to make retro graphics render strictly within big-pixel-locations no matter what's in love.draw?
Replies: 5
Views: 335

Re: Is there a simple way to make retro graphics render strictly within big-pixel-locations no matter what's in love.dra

Gold_Car wrote:
Tue Jan 14, 2020 8:42 pm
I hadn't realized that a canvas could display more than one instant in time.
Yep, that's pretty much the purpose of a Canvas, to have one to draw to repeatedly... pretty sure you're also not just creating images with newImage each frame either... right? :awesome:
by zorg
Wed Jan 08, 2020 12:03 am
Forum: Support and Development
Topic: love.graphics set and get matrix instead of add or multiply
Replies: 1
Views: 104

Re: love.graphics set and get matrix instead of add or multiply

you can love.graphics.push the current one, call love.graphics.origin so it'll be reset, then set the new properities;
11.x added transform objects too, and using love.graphics.replaceTransform method does what you want, probably (although you'd need to use transform objects with that)
by zorg
Tue Dec 31, 2019 6:17 pm
Forum: General
Topic: forums vs subreddit
Replies: 1
Views: 409

Re: forums vs subreddit

Apparently, from the moderator list on the subreddit, seems like the devs are there too, so i'd guess that's official as well. I personally never use reddit, and prefer the löve discord server and the forums; the former for more realtime interactions, the latter for permanence and for others to actu...
by zorg
Tue Dec 31, 2019 6:20 am
Forum: Support and Development
Topic: The game loop
Replies: 4
Views: 716

Re: The game loop

I'm with P. on this one.
by zorg
Sat Dec 28, 2019 9:43 pm
Forum: Games and Creations
Topic: Cardioid: Sunday kind of LÖVE 1K Challenge
Replies: 12
Views: 1215

Re: Cardioid: Sunday kind of LÖVE 1K Challenge

Not a perfect cardioid but with a color pulse animation in 384 350 characters/bytes: L=love;G=L.graphics;S,t,u,d,l,r,x,y,C=math.sin,0,{0,-1},{0,1},{-1,0},{1,0},2.5,1.5,G.newCanvas(11,10)L.update=function(_)t=t+_;s=("rdrdrrururdrddldldldldululululuurdrdrrdlrdurururlllllluu"):gsub('.',function(c)C:ren...
by zorg
Wed Dec 18, 2019 6:14 pm
Forum: Libraries and Tools
Topic: Advanced Tiled Loader - No longer maintained
Replies: 261
Views: 69543

Re: Advanced Tiled Loader - No longer maintained

Of all the cases of necroing, i think i can safely say, this is the best one; updating projects for newer framework versions. :3
:thumbsup:
by zorg
Mon Dec 16, 2019 5:49 pm
Forum: Support and Development
Topic: Bug(s ?) in my code | main.lua:1201: attempt to index local 'pSprite' (a nil value)
Replies: 5
Views: 1155

Re: Bug(s ?) in my code | main.lua:1201: attempt to index local 'pSprite' (a nil value)

I don't remember the filesize limits for forum attachments but the zip's 35 MB because of the music included