TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Resolved Questions
→
Are sprites that are shared between two actors duplicated? (ANSWERED)
Pages:
1
Are sprites that are shared between two actors duplicated? (ANSWERED)
docskull
Posts: 65
January 22, 2012, 07:59:31 am
Hello there,
Given I have two different actors (like turtle and flying turtle enemies) who use the exact same spritesheet, when I create both actors and set their animations to this spritesheet, is it being duplicated?
like, does stencylworks detects the use of the same spritesheet for the two actors or does it duplicate the file?
I was planning having many actors with totally different behaviors who use exactly the same animation spritesheet.
« Last Edit: January 22, 2012, 12:28:51 pm by docskull »
coleislazy
Posts: 2607
January 22, 2012, 08:06:41 am
When you import an image for an actor, tileset, background, or whatever, StencylWorks creates a copy of that file in the game's directory. The original file is not used again. So, this means each actor has their own copy of the image. Altering it for one won't affect it for the others.
docskull
Posts: 65
January 22, 2012, 08:38:24 am
hmmmm thanks... but anyway then I am not being economic on resources by using the same spritesheet for many different actors, right? (given it will save a different version for each actor)
coleislazy
Posts: 2607
January 22, 2012, 12:25:09 pm
Correct. Note that I have to experience with iStencyl, so it could work differently for iOS.
docskull
Posts: 65
January 22, 2012, 12:28:34 pm
Thanks a lot Cole.
Pages:
1