Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - 0dayv

Pages: [1]
1
SFML projects / Re: 'Tiled' Tile-map Loader
« on: July 11, 2014, 05:40:20 pm »
Hello !

I'm new in SFML programming, but thank you very much for your tmxloader, it's very useful !
I'm trying to add an object in the map, it's quite easy (I used your example AddRemoveObjects.cpp) but I can't figure out how to give the object a texture.
The object is well created and drawn, I can see it with DrawDebugShape() but it remains an empty box with no texture.

I tried to create a LayerSet with the good texture, AddTile and then use SedQuad on my object, but this has no effect.

Can you help me ?

Thank you !

Pages: [1]