-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.py
More file actions
20 lines (19 loc) · 959 Bytes
/
example.py
File metadata and controls
20 lines (19 loc) · 959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
resources: [
{name: "bg", type:"image", src: "bg.png"},
{name: "clumsy", type:"image", src: "clumsy.png"},
{name: "pipe", type:"image", src: "pipe.png"},
{name: "logo", type:"image", src: "logo.png"},
{name: "ground", type:"image", src: "ground.png"},
{name: "gameover", type:"image", src: "gameover.png"},
{name: "gameoverbg", type:"image", src: "gameoverbg.png"},
{name: "hit", type:"image", src: "hit.png"},
{name: "getready", type:"image", src: "getready.png"},
{name: "new", type:"image", src: "new.png"},
{name: "share", type:"image", src: "share.png"},
{name: "tweet", type:"image", src: "tweet.png"},
// sounds
{name: "theme", type: "audio", src: "data/bgm/"},
{name: "hit", type: "audio", src: "data/sfx/"},
{name: "lose", type: "audio", src: "data/sfx/"},
{name: "wing", type: "audio", src: "data/sfx/"},
]