I know that older computers cannot handle non po2 pictures (2*2, 4*4, 32*32, etc.), but I have two questions:
Can the images be, say, 32*64?
And can they support drawing other things in non po2 ways (like love.graphics.rectangle)? What is the performance like with those?
Po2 Problem
Po2 Problem
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- retrotails
- Party member
- Posts: 212
- Joined: Wed Apr 18, 2012 12:37 am
Re: Po2 Problem
32x64 should always be doable, and everything that's not an image can always be any size and non Po2 sizes should not affect their speed (though they might be slightly slower if they cover more of the screen but that's a different thing)davisdude wrote:I know that older computers cannot handle non po2 pictures (2*2, 4*4, 32*32, etc.), but I have two questions:
Can the images be, say, 32*64?
And can they support drawing other things in non po2 ways (like love.graphics.rectangle)? What is the performance like with those?
Re: Po2 Problem
LÖVE automatically pads images that ar non Po2 on older cards.
PM me on here or elsewhere if you'd like to discuss porting your game to Nintendo Switch via mazette!
personal page and a raycaster
personal page and a raycaster
Re: Po2 Problem
Not to mention that Po2-affected cards are by now really old, odds of encountering such are minimum.
Re: Po2 Problem
Okay. Glad that's solved.
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Po2 Problem
Yeah, but you'd think that about canvases and we still get people complaining about them.raidho36 wrote:Not to mention that Po2-affected cards are by now really old, odds of encountering such are minimum.
Re: Po2 Problem
because of the crappy drivers!Jasoco wrote:Yeah, but you'd think that about canvases and we still get people complaining about them.raidho36 wrote:Not to mention that Po2-affected cards are by now really old, odds of encountering such are minimum.
Who is online
Users browsing this forum: Google [Bot], Iori Branford and 7 guests