SFML community forums

Bindings - other languages => C => Topic started by: zys5945 on March 17, 2015, 07:53:00 pm

Title: partical system and shader effects
Post by: zys5945 on March 17, 2015, 07:53:00 pm
Back then when I used sfml I would simply add to the class sf::drawable if I'm doing partical system or shader effects, just wondering what is the equivalent in csfml since I don't observe the sf::drawable class?
Title: Re: partical system and shader effects
Post by: Laurent on March 17, 2015, 08:15:51 pm
There's no equivalent in CSFML. You must design your own components from scratch.
Title: Re: partical system and shader effects
Post by: zys5945 on March 17, 2015, 08:40:40 pm
like. really?
Title: Re: partical system and shader effects
Post by: eXpl0it3r on March 17, 2015, 08:53:32 pm
C doesn't know the concept of classes nor polymorphism thus, yes really. ;)
Title: Re: partical system and shader effects
Post by: zys5945 on March 17, 2015, 09:18:42 pm
Alright, thx guys, is it hard to do it from scratch?
Title: Re: partical system and shader effects
Post by: eXpl0it3r on March 17, 2015, 09:47:42 pm
Do what from scratch?