Search found 5 matches

by piller187
Mon May 25, 2015 12:26 pm
Forum: Support and Development
Topic: objects in tilemap that uses spritebatch
Replies: 6
Views: 3451

Re: objects in tilemap that uses spritebatch

Oh, so you are saying you notice that all batches reflect this change to the 1 image they share so it must be a pointer to the 1 image. I see. Thanks for your help!
by piller187
Sun May 24, 2015 9:48 pm
Forum: Support and Development
Topic: objects in tilemap that uses spritebatch
Replies: 6
Views: 3451

Re: objects in tilemap that uses spritebatch

What do you mean you "shift the filter of the image"? I don't understand what that means (sorry I'm new to Love).
by piller187
Sun May 24, 2015 8:47 pm
Forum: Support and Development
Topic: objects in tilemap that uses spritebatch
Replies: 6
Views: 3451

Re: objects in tilemap that uses spritebatch

Thanks for the reply. I was thinking about this but since the ground layer and foreground layer use the same image I wonder if that image is sent and stored on the gfx card twice when creating 2 spritebatches or does love know this is what is happening and it's shared? Seems like it would be a waste...
by piller187
Sun May 24, 2015 6:50 pm
Forum: Support and Development
Topic: objects in tilemap that uses spritebatch
Replies: 6
Views: 3451

objects in tilemap that uses spritebatch

So I use a spritebatch for my tiles. I have a ground layer, object layer, and foreground layer. The ground layer and object layer use 1 spritebatch that uses 1 tilesheet of scenery tiles. The object layer is for actors and obviously use a different tilesheet. The drawing order is ground, object, for...
by piller187
Thu May 21, 2015 4:52 pm
Forum: Support and Development
Topic: SpriteBatches
Replies: 1
Views: 2022

SpriteBatches

I'm not new to game development but not sure if I follow SpriteBatches exactly and want to make sure I understand. I've mostly worked with 3D engines that hide most all details about the gfx card. I was looking at the following tutorial trying to figure it out. https://love2d.org/wiki/Tutorial:Effic...