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

Author Topic: Effects  (Read 2531 times)

0 Members and 1 Guest are viewing this topic.

_4004

  • Newbie
  • *
  • Posts: 12
    • View Profile
Effects
« on: April 02, 2020, 12:53:46 pm »
Hello. I want working with effects(for example: fade effect, opening effect, loading effect, blob effect or any effects). But I want do without the Swoosh lib. What do I need to know for this?

Hapax

  • Hero Member
  • *****
  • Posts: 3351
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Effects
« Reply #1 on: April 02, 2020, 04:54:11 pm »
There's been a similar question on here before.
This thread may help:
https://en.sfml-dev.org/forums/index.php?topic=21487
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

_4004

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Effects
« Reply #2 on: April 02, 2020, 08:16:42 pm »
Oh thanks. I read. But, I couldn't find any information about include in the project in this link: https://github.com/Hapaxia/Plinth/wiki. Do I need to drop the .hpp files in the folder to the main directory of the project?

Hapax

  • Hero Member
  • *****
  • Posts: 3351
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Effects
« Reply #3 on: April 03, 2020, 12:18:11 am »
Plinth is a separate library (one of mine, actually). You can compile it yourself and then link it in as you would others (such as SFML).
One thing to note is that the base library doesn't require SFML but the SFML module does. The SFML module should be compiled separately from the base part. This allows the non-SFML part to be used without linking in SFML.
The base part has no dependencies and the SFML module (if required) is only dependent on SFML.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

_4004

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Effects
« Reply #4 on: April 03, 2020, 12:08:07 pm »
I say what I understand: Plinth is used in two ways: with and without SFML. If I want to use it with SFML to the project, I need to include SFML folder, right? I'm sorry I dont know enough english  :-\.

Hapax

  • Hero Member
  • *****
  • Posts: 3351
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Effects
« Reply #5 on: April 03, 2020, 05:52:48 pm »
Plinth without SFML would be the base part i.e. just the stuff in Plinth directory (built as a library).
Plinth with SFML would require both the base part and the stuff in the SFML directory (built as a separate library).

If you use any of the SFML parts yourself, you need to include SFML yourself, yes.
If you use Plinth's SFML module, you need to link in SFML as well.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*

_4004

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Effects
« Reply #6 on: April 03, 2020, 07:40:51 pm »
Thank you so much. One last question: Where can I get the api documentation for to practice?

Hapax

  • Hero Member
  • *****
  • Posts: 3351
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
Re: Effects
« Reply #7 on: April 03, 2020, 09:06:12 pm »
There's currently very little documentation for Plinth. The wiki provides an overview but no examples as yet. The majority of it should be quite easy to use and the headers should be relatively self-explanatory, hopefully.

I almost always use Plinth in my own work so there will be some examples of its use in some of my GitHub repositories.

I may also make a thread on SFML forum at some point although that would really only cover the SFML part.
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*