Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Does SFML support texture-filled polygons? ...and collision?
Print
Pages: [
1
]
Author
Topic: Does SFML support texture-filled polygons? ...and collision? (Read 3505 times)
0 Members and 1 Guest are viewing this topic.
sofakng
Newbie
Posts: 18
Does SFML support texture-filled polygons? ...and collision?
«
on:
January 13, 2009, 08:58:39 pm »
Two quick questions...
1) Does SFML support the creation of texture-filled polygons (or other shapes)? If not, how would I go about doing this?
2) Does SFML support collision detection in any way? If not are there any libraries available to handle this? (for .NET)
Thanks!
Logged
Tank
SFML Team
Hero Member
Posts: 1486
Does SFML support texture-filled polygons? ...and collision?
«
Reply #1 on:
January 13, 2009, 09:15:52 pm »
1) No, not directly. You can archieve this by directly using OpenGL together with SFML for setting the texture.
2) No, it doesn't. I'm sure there're libraries, but since I never needed one, I can't tell you any names.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Does SFML support texture-filled polygons? ...and collision?
«
Reply #2 on:
January 13, 2009, 09:21:51 pm »
Box2D is a 2D physics library. I never tried it, but it seems to be very popular.
Logged
Laurent Gomila - SFML developer
sofakng
Newbie
Posts: 18
Does SFML support texture-filled polygons? ...and collision?
«
Reply #3 on:
January 13, 2009, 09:52:36 pm »
Thanks for the quick replies!
What about adding support for the
SPARK
(or other) particle engine with the .NET bindings? I only mention SPARK because it directly integrates with SFML but only with the C++ side.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Does SFML support texture-filled polygons? ...and collision?
«
Reply #4 on:
January 13, 2009, 09:59:44 pm »
You should rather ask its author
Logged
Laurent Gomila - SFML developer
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Does SFML support texture-filled polygons? ...and collision?