This commit is contained in:
2020-01-04 20:28:54 -08:00
parent 01f6f3e4ba
commit 0113f04457
10 changed files with 512 additions and 238 deletions

6
resources/bindings.ron Normal file
View File

@@ -0,0 +1,6 @@
(
axes: {},
actions: {
"flap": [[Key(Space)]],
},
)

View File

@@ -1,4 +1,4 @@
(
title: "amethyst-cli-starter-2d",
dimensions: Some((800, 600)),
title: "test",
dimensions: Some((432, 768)),
)

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -0,0 +1,42 @@
(
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,
)
]
)