Skip to content

Instantly share code, notes, and snippets.

@maco1028
Last active December 12, 2015 02:09
Show Gist options
  • Select an option

  • Save maco1028/4696637 to your computer and use it in GitHub Desktop.

Select an option

Save maco1028/4696637 to your computer and use it in GitHub Desktop.
Renpy Chara Left Move
# Renpy Chara Left Move
init:
$ ch1 = Character("キャラ1", image="Chara01")
image ch1 = "image/chara01.png"
image ch1 smile = "image/chara01_smile.png"
image ch1 sad = "image/chara01_sad.png"
transform smooth:
on show:
xalign 1.0
linear 0.5 xalign 0.0
on hide:
xalign 0.0
linear 0.5 xalign 1.0
show ch1 at left,smooth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment