I was experimenting with löve’s print, rectangle, circle and draw functions. The attached screenshot is the result. I thought it looked kind of cool and I’m thinking of making something similar to use as a splash screen for my games.
And I started wondering if it would be better if I create a single image file to use or if it would be better to use the print, rectangle and circle functions. I suspect including the draw function to draw other images would make this question moot, since drawing multiple small images would probably use more resources than 1 large image. -Or am I wrong about this.
Anyway, which would be more efficient, using a single, large graphic image or using 20 (or more) print, rectangle and circle functions?
One big image vs multiple love.graphics.print type statements
Re: One big image vs multiple love.graphics.print type statements
If you feel comfortable with the print functions, Do it, if not, Better make a image on some image editorrandy0428 wrote: ↑Fri Dec 28, 2018 11:53 am I was experimenting with löve’s print, rectangle, circle and draw functions. The attached screenshot is the result. I thought it looked kind of cool and I’m thinking of making something similar to use as a splash screen for my games.
And I started wondering if it would be better if I create a single image file to use or if it would be better to use the print, rectangle and circle functions. I suspect including the draw function to draw other images would make this question moot, since drawing multiple small images would probably use more resources than 1 large image. -Or am I wrong about this.
Anyway, which would be more efficient, using a single, large graphic image or using 20 (or more) print, rectangle and circle functions?
Hi! I wish you have an amazing day!
- zorg
- Party member
- Posts: 3465
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: One big image vs multiple love.graphics.print type statements
Efficient is relative; one image will take up more vram on the gpu, but it'll only be one drawcall; many primitive objects or texts are also a bit more expensive but not by much that you couldn't or even shouldn't use them; all that said, it's really up to you.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: THANKS - One big image vs multiple love.graphics.print type statements
Thanks Darlex and zorg.
Who is online
Users browsing this forum: slime and 4 guests