Compare commits
No commits in common. "0d8e91b5a5af4eeb8176de38d14800afda62f7ee" and "ec27f91904681e213cdaaf040a56ced0325d1934" have entirely different histories.
0d8e91b5a5
...
ec27f91904
@ -4,7 +4,7 @@ init 5 python:
|
||||
# class attribute
|
||||
instances = {}
|
||||
|
||||
def __init__(self, name, layer="screens", zorder=12, zoom=0.28, doll=None, poses=None, **properties):
|
||||
def __init__(self, name, layer="screens", zorder=12, zoom=0.28, doll=None, **properties):
|
||||
|
||||
super().__init__(**properties)
|
||||
|
||||
@ -21,7 +21,7 @@ init 5 python:
|
||||
if doll is None:
|
||||
doll = states.dolls[name]
|
||||
self.char = doll
|
||||
self.poses = poses or {}
|
||||
self.poses = {}
|
||||
|
||||
# Animation
|
||||
self.anim_frames = None
|
||||
@ -158,7 +158,7 @@ init 5 python:
|
||||
self.pose = pose
|
||||
self.update()
|
||||
|
||||
def place(self, pos=None, speed=1.0, pause=False, at_list=(), pose=None, xzoom=None):
|
||||
def place(self, pos=None, speed=1.0, pause=False, at_list=[], pose=None, xzoom=None):
|
||||
self.set_pose(pose or self.idle)
|
||||
|
||||
self.atl_time = 0
|
||||
@ -190,7 +190,7 @@ init 5 python:
|
||||
|
||||
return
|
||||
|
||||
def move(self, path, speed=1.0, pause=True, loop=False, warper="linear", at_list=(), pose=None, repeat=None, wrap=True, reverse=True):
|
||||
def move(self, path, speed=1.0, pause=True, loop=False, warper="linear", at_list=[], pose=None, repeat=None, wrap=True, reverse=True):
|
||||
"""Makes chibi move"""
|
||||
|
||||
self.atl_looping = loop
|
||||
@ -368,12 +368,11 @@ init offset = 5
|
||||
|
||||
default hooch_chibi = DollChibi(name="hooch", doll=hooch)
|
||||
# default cho_chibi_new = DollChibi(name="cho", doll=cho)
|
||||
# default tonks_chibi_new = DollChibi(name="tonks", doll=tonks, poses=dict(
|
||||
# stand=(1, (600, 800)),
|
||||
# walk=(8, (600, 800)),
|
||||
# ))
|
||||
# default tonks_chibi_new = DollChibi(name="tonks", doll=tonks)
|
||||
|
||||
# label chibitest:
|
||||
# chibi tonks register ("stand", 1, (600, 800))
|
||||
# chibi tonks register ("walk", 8, (600, 800))
|
||||
# "Rollback block"
|
||||
# $ renpy.block_rollback()
|
||||
|
||||
@ -393,6 +392,8 @@ default hooch_chibi = DollChibi(name="hooch", doll=hooch)
|
||||
# jump main_room_menu
|
||||
|
||||
# label chibitest2:
|
||||
# chibi tonks register ("stand", 1, (600, 800))
|
||||
# chibi tonks register ("walk", 8, (600, 800))
|
||||
# "Rollback block"
|
||||
# $ renpy.block_rollback()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user