other files
This commit is contained in:
6
assets/bindings.ron
Normal file
6
assets/bindings.ron
Normal file
@@ -0,0 +1,6 @@
|
||||
(
|
||||
axes: {},
|
||||
actions: {
|
||||
"flap": [[Key(Space)]],
|
||||
},
|
||||
)
|
||||
4
assets/display_config.ron
Normal file
4
assets/display_config.ron
Normal file
@@ -0,0 +1,4 @@
|
||||
(
|
||||
title: "test",
|
||||
dimensions: Some((432, 768)),
|
||||
)
|
||||
BIN
assets/screenshot1.png
Normal file
BIN
assets/screenshot1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
BIN
assets/screenshot2.png
Normal file
BIN
assets/screenshot2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
BIN
assets/sprites/flappy.png
Normal file
BIN
assets/sprites/flappy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 29 KiB |
169
assets/sprites/flappy.ron
Normal file
169
assets/sprites/flappy.ron
Normal file
@@ -0,0 +1,169 @@
|
||||
|
||||
List((
|
||||
texture_width: 512,
|
||||
texture_height: 512,
|
||||
sprites: [
|
||||
( // Daytime background
|
||||
x: 0,
|
||||
y: 0,
|
||||
width: 144,
|
||||
height: 256,
|
||||
),
|
||||
( // Nighttime background
|
||||
x: 146,
|
||||
y: 0,
|
||||
width: 144,
|
||||
height: 256,
|
||||
),
|
||||
( // Down Pipe
|
||||
x: 56,
|
||||
y: 323,
|
||||
width: 26,
|
||||
height: 160,
|
||||
),
|
||||
( // Up Pipe
|
||||
x: 84,
|
||||
y: 323,
|
||||
width: 26,
|
||||
height: 160,
|
||||
),
|
||||
( // Ground
|
||||
x: 292,
|
||||
y: 0,
|
||||
width: 168,
|
||||
height: 56,
|
||||
),
|
||||
( // Floppy
|
||||
x: 3,
|
||||
y: 490,
|
||||
width: 17,
|
||||
height: 13,
|
||||
),
|
||||
( // Tap Tap Dialogue
|
||||
x: 292,
|
||||
y: 91,
|
||||
width: 56,
|
||||
height: 48,
|
||||
),
|
||||
( // Play Button
|
||||
x: 354,
|
||||
y: 118,
|
||||
width: 52,
|
||||
height: 29,
|
||||
),
|
||||
( // Leaderboard button
|
||||
x: 414,
|
||||
y: 118,
|
||||
width: 52,
|
||||
height: 29,
|
||||
),
|
||||
( // Get Ready
|
||||
x: 295,
|
||||
y: 59,
|
||||
width: 91,
|
||||
height: 24,
|
||||
),
|
||||
( // Flappy Bird Text
|
||||
x: 351,
|
||||
y: 91,
|
||||
width: 90,
|
||||
height: 25,
|
||||
),
|
||||
( // Game Over
|
||||
x: 395,
|
||||
y: 58,
|
||||
width: 100,
|
||||
height: 22,
|
||||
),
|
||||
( // Number 0
|
||||
x: 314,
|
||||
y: 198,
|
||||
width: 20,
|
||||
height: 28,
|
||||
),
|
||||
( // Number 1
|
||||
x: 135,
|
||||
y: 455,
|
||||
width: 20,
|
||||
height: 28,
|
||||
),
|
||||
( // Number 2
|
||||
x: 292,
|
||||
y: 138,
|
||||
width: 20,
|
||||
height: 28,
|
||||
),
|
||||
( // Number 3
|
||||
x: 314,
|
||||
y: 138,
|
||||
width: 20,
|
||||
height: 28,
|
||||
),
|
||||
( // Number 4
|
||||
x: 336,
|
||||
y: 138,
|
||||
width: 20,
|
||||
height: 28,
|
||||
),
|
||||
( // Number 5
|
||||
x: 358,
|
||||
y: 138,
|
||||
width: 20,
|
||||
height: 28,
|
||||
),
|
||||
( // Number 6
|
||||
x: 292,
|
||||
y: 168,
|
||||
width: 20,
|
||||
height: 28,
|
||||
),
|
||||
( // Number 7
|
||||
x: 314,
|
||||
y: 168,
|
||||
width: 20,
|
||||
height: 28,
|
||||
),
|
||||
( // Number 8
|
||||
x: 336,
|
||||
y: 168,
|
||||
width: 20,
|
||||
height: 28,
|
||||
),
|
||||
( // Number 9
|
||||
x: 358,
|
||||
y: 168,
|
||||
width: 20,
|
||||
height: 28,
|
||||
),
|
||||
( // Menu Button (index 6)
|
||||
x: 462,
|
||||
y: 26,
|
||||
width: 40,
|
||||
height: 14,
|
||||
),
|
||||
( // OK Button (index 8)
|
||||
x: 462,
|
||||
y: 42,
|
||||
width: 40,
|
||||
height: 14,
|
||||
),
|
||||
( // Bird Animation 1 (index 67)
|
||||
x: 3,
|
||||
y: 491,
|
||||
width: 17,
|
||||
height: 12,
|
||||
),
|
||||
( // Bird Animation 2 (index 68)
|
||||
x: 31,
|
||||
y: 491,
|
||||
width: 17,
|
||||
height: 12,
|
||||
),
|
||||
( // Bird Animation 3 (index 69)
|
||||
x: 59,
|
||||
y: 491,
|
||||
width: 17,
|
||||
height: 12,
|
||||
)
|
||||
]
|
||||
))
|
||||
BIN
assets/sprites/logo.png
Normal file
BIN
assets/sprites/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
24
assets/sprites/logo.ron
Normal file
24
assets/sprites/logo.ron
Normal file
@@ -0,0 +1,24 @@
|
||||
(
|
||||
texture_width: 690,
|
||||
texture_height: 230,
|
||||
sprites: [
|
||||
(
|
||||
x: 0,
|
||||
y: 0,
|
||||
width: 230,
|
||||
height: 230,
|
||||
),
|
||||
(
|
||||
x: 230,
|
||||
y: 0,
|
||||
width: 230,
|
||||
height: 230,
|
||||
),
|
||||
(
|
||||
x: 460,
|
||||
y: 0,
|
||||
width: 230,
|
||||
height: 230,
|
||||
)
|
||||
]
|
||||
)
|
||||
Reference in New Issue
Block a user