Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
Feature requests
»
Multiple layer support for sprite sheets
Print
Pages: [
1
]
Author
Topic: Multiple layer support for sprite sheets (Read 2805 times)
0 Members and 1 Guest are viewing this topic.
Bryston
Newbie
Posts: 8
Multiple layer support for sprite sheets
«
on:
March 17, 2013, 03:19:20 pm »
Instead of using the tools in
sf
::
RenderTexture
to build up a composited image for animations it would be cool if the library had XCF support so that layers could be turned on/off with switches. The LPC sprite sheets got me thinking about this.
Logged
JayArby
Jr. Member
Posts: 68
Re: Multiple layer support for sprite sheets
«
Reply #1 on:
May 05, 2013, 11:20:26 pm »
You probably shouldn't be using a RenderTexture for that--just draw the layers directly to the RenderWindow. You can write a class for layered spritesheets (I have written such a class); that's really too high-level a feature for SFML.
Logged
Print
Pages: [
1
]
SFML community forums
»
General
»
Feature requests
»
Multiple layer support for sprite sheets
anything