(this was previously titled "How do I do a side sprite?" I changed the title, and edited out the original message for this one.)
My side sprite appears twice whenever I use a background image. It doesn't show up twice when I use no BG image.
Here is my code:
Code: Select all
# You can place the script of your game in this file.
# Declare images below this line, using the image statement.
# eg. image eileen happy = "eileen_happy.png"
# Declare characters used by this game.
image bg club = "110-default.jpg"
# The game starts here.
label start:
init:
$ offScreen = Position(xpos=1, xanchor='left', ypos=0)
show jinko 01 at offScreen
#define your character; adding image="sora" means that any time I call the variable 'sora', as in show sora 01, it will also set the side image for that variable.
define so = Character('Jinko', color="#BBBBBB", image="jinko")
image jinko 01= "MC-winter-neutral.png"
image jinko 02= "MC-winter-angry.png"
image jinko 03= "MC-winter-sad.png"
image side jinko 01= "MC-winter-neutral.png"
image side jinko 02= "MC-winter-angry.png"
image side jinko 03= "MC-winter-sad.png"
scene bg club
show jinko 01
so "This would have my 01 pose on screen and side-by."
show jinko 02
so "Now I would have 02 pose on both instead."
return