1
Graphics / SFML Draw Map
« on: May 19, 2011, 06:28:48 pm »
Hello!
I'm trying to make a map loading function for my game but i have a problem.. :shock:
In SDL i was loading the file and checking for numbers(1 and 2) and drawing it on the buffer if one was found so i'm wondering if i can do it with SFML?
This is that i want:
So how do i draw a sprite over an other one? (I'm using SFML 2.0)
Thanks!!
I'm trying to make a map loading function for my game but i have a problem.. :shock:
In SDL i was loading the file and checking for numbers(1 and 2) and drawing it on the buffer if one was found so i'm wondering if i can do it with SFML?
This is that i want:
So how do i draw a sprite over an other one? (I'm using SFML 2.0)
Thanks!!