Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
SFML 2.0 shapes
Print
Pages: [
1
]
Author
Topic: SFML 2.0 shapes (Read 2471 times)
0 Members and 1 Guest are viewing this topic.
kapesu8
Newbie
Posts: 32
SFML 2.0 shapes
«
on:
May 05, 2012, 02:28:35 pm »
Earlier you could just do like
sf::Shape circle = sf::Shape::Circle(200, 200, 100, sf::Color::Yellow, 10, sf::Color::Blue);
right?
But it doesn't seem to work anymore..
How I'm supposed to work with 2.0 shapes?
Logged
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Re: SFML 2.0 shapes
«
Reply #1 on:
May 05, 2012, 02:41:39 pm »
There are now specialized classes like sf::CircleShape.
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
kapesu8
Newbie
Posts: 32
Re: SFML 2.0 shapes
«
Reply #2 on:
May 05, 2012, 03:19:41 pm »
Is there any documentation for this?
Logged
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Re: SFML 2.0 shapes
«
Reply #3 on:
May 05, 2012, 03:32:00 pm »
Of course, have you even searched? On the main SFML page, there is a big link "Documentation" on the left...
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
kapesu8
Newbie
Posts: 32
Re: SFML 2.0 shapes
«
Reply #4 on:
May 05, 2012, 03:44:09 pm »
Oh nvm :/
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
SFML 2.0 shapes