Beispiel #1
0
def init():
    qs.init_sounds([["click", "click.wav"]])
    return {
        "elapsed": 0,
        "hours": 0,
        "minutes": 0,
        "seconds": 0,
    }
Beispiel #2
0
def init():
    qs.init_sprites([
        ["crab", "crab.png"],
    ])
    qs.init_anims([["crab-left", "crab-left.png", 2, 1.],
                   ["crab-up", "crab-up.png", 2, 1.]])
    qs.init_sounds([["click", "click.wav"]])
    return {
        "p0": [1., 1.],
        "p1": [100., 100.],
        "p2": [300., 50.],
        "deg": 0.,
    }
Beispiel #3
0
def init():
    qs.init_sounds([ ["click", "click.wav"] ])
    return None