Files
flappy-bird-rust/assets/sprites/flappy.ron
Mitchell Hansen 9c0ad6fcba other files
2025-11-24 22:36:53 -08:00

169 lines
3.4 KiB
Plaintext

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,
)
]
))