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

Author Topic: Selba Ward  (Read 79350 times)

0 Members and 1 Guest are viewing this topic.

Hapax

  • Hero Member
  • *****
  • Posts: 3047
  • My number of posts is shown in hexadecimal.
    • View Profile
Re: Selba Ward
« Reply #135 on: November 14, 2021, 03:01:38 am »
Update!

Elastic Sprite (wiki)
v1.3
Added ability to assign a flip to the texture.

Horizontal and/or vertical flips can now be assigned to the texture in Elastic Sprite. This allows the ability to assign the texture rectangle as normal but still use it flipped. This works with both interpolation shaders as well as without the shader.

If es is the Elastic Sprite, to assign the flip you can do both or either of:
es.setTextureFlipX(true);
es.setTextureFlipY(true);
You can also 'unflip' by setting them to false.
Selba Ward - SFML drawables
Kairos - Timing Library
Rectangular Boundary Collision - Rectangular SAT Collision

@Hapaxiation - Hapaxia on Twitter