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

Author Topic: partical system and shader effects  (Read 5531 times)

0 Members and 1 Guest are viewing this topic.

zys5945

  • Newbie
  • *
  • Posts: 16
    • View Profile
partical system and shader effects
« 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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: partical system and shader effects
« Reply #1 on: March 17, 2015, 08:15:51 pm »
There's no equivalent in CSFML. You must design your own components from scratch.
Laurent Gomila - SFML developer

zys5945

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: partical system and shader effects
« Reply #2 on: March 17, 2015, 08:40:40 pm »
like. really?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: partical system and shader effects
« Reply #3 on: March 17, 2015, 08:53:32 pm »
C doesn't know the concept of classes nor polymorphism thus, yes really. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

zys5945

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: partical system and shader effects
« Reply #4 on: March 17, 2015, 09:18:42 pm »
Alright, thx guys, is it hard to do it from scratch?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: partical system and shader effects
« Reply #5 on: March 17, 2015, 09:47:42 pm »
Do what from scratch?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/