SFML community forums

Help => General => Topic started by: dehysqop on June 02, 2018, 07:39:30 am

Title: Tiledmap Collision w/ Sprite character?
Post by: dehysqop on June 02, 2018, 07:39:30 am
First of all, sorry for this question.
I'm mostly looking for recommendations I guess

I've been looking alot for simple Tiledmap where collisions are included and can take effect on shapes(sprites).
So basically, not a tile-based character, so he can be moving smoothly in the map but encounter collisions.
I've been working with Tily https://github.com/GeneralNote/Tily (https://github.com/GeneralNote/Tily) but I never been able to place a some collision that the player sprite would be able to touch.
(https://azerothwar.com/possible.png)
Being new to SFML is was wondering, can the library itself can actually do that? Or I'd be better with some more libraries and which one?
I please you, that if you know any good example of what I'm seeking for, to tell me  :-*

Well, sorry again about that strongly stupid question -- but thank for the ones that will know how to give more some knowledge :D
Title: Re: Tiledmap Collision w/ Sprite character?
Post by: eXpl0it3r on June 02, 2018, 10:16:57 am
You can write such code on top of SFML, but SFML isn't doing it for you automatically.

If you want something that supports this kind of stuff out of the box, I recommend looking at existing engines, for example the Godot engine (https://godotengine.org).