Files
Bevy_Forge/examples/demo-project/scenes/platformer.forge.ron
T

975 lines
17 KiB
Plaintext

(
format_version: 1,
name: "Platformer Demo",
entities: {
1: (
id: 1,
name: "Backdrop",
parent: None,
children: [],
transform: (
translation: (
x: 0.0,
y: 0.0,
z: -30.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/background.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 960.0,
y: 540.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
2: (
id: 2,
name: "Camera",
parent: None,
children: [],
transform: (
translation: (
x: 0.0,
y: 0.0,
z: 10.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: camera2d,
),
],
locked: false,
),
3: (
id: 3,
name: "Title",
parent: None,
children: [],
transform: (
translation: (
x: 0.0,
y: 214.0,
z: 5.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: text2d,
data: (
text: "Bevy Forge Platformer",
font_size: 44.0,
color: (
r: 0.96,
g: 0.94,
b: 0.88,
a: 1.0,
),
),
),
],
locked: false,
),
4: (
id: 4,
name: "Hint",
parent: None,
children: [],
transform: (
translation: (
x: 0.0,
y: 176.0,
z: 5.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: text2d,
data: (
text: "Collect the coins!",
font_size: 20.0,
color: (
r: 0.95,
g: 0.67,
b: 0.25,
a: 1.0,
),
),
),
],
locked: false,
),
5: (
id: 5,
name: "Ground 1",
parent: None,
children: [],
transform: (
translation: (
x: -336.0,
y: -224.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
6: (
id: 6,
name: "Ground 2",
parent: None,
children: [],
transform: (
translation: (
x: -240.0,
y: -224.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
7: (
id: 7,
name: "Ground 3",
parent: None,
children: [],
transform: (
translation: (
x: -144.0,
y: -224.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
8: (
id: 8,
name: "Ground 4",
parent: None,
children: [],
transform: (
translation: (
x: -48.0,
y: -224.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
9: (
id: 9,
name: "Ground 5",
parent: None,
children: [],
transform: (
translation: (
x: 48.0,
y: -224.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
10: (
id: 10,
name: "Ground 6",
parent: None,
children: [],
transform: (
translation: (
x: 144.0,
y: -224.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
11: (
id: 11,
name: "Ground 7",
parent: None,
children: [],
transform: (
translation: (
x: 240.0,
y: -224.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
12: (
id: 12,
name: "Ground 8",
parent: None,
children: [],
transform: (
translation: (
x: 336.0,
y: -224.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
13: (
id: 13,
name: "Ledge 1",
parent: None,
children: [],
transform: (
translation: (
x: -48.0,
y: -64.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
14: (
id: 14,
name: "Ledge 2",
parent: None,
children: [],
transform: (
translation: (
x: 48.0,
y: -64.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
15: (
id: 15,
name: "Ledge 3",
parent: None,
children: [],
transform: (
translation: (
x: 144.0,
y: -64.0,
z: -2.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/tile.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 96.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
16: (
id: 16,
name: "Player",
parent: None,
children: [
17,
],
transform: (
translation: (
x: -192.0,
y: -128.0,
z: 0.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/player.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 64.0,
y: 96.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
17: (
id: 17,
name: "Hat",
parent: Some(16),
children: [],
transform: (
translation: (
x: 0.0,
y: 42.0,
z: 1.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/hat.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 56.0,
y: 28.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
18: (
id: 18,
name: "Coin 1",
parent: None,
children: [],
transform: (
translation: (
x: -288.0,
y: -104.0,
z: 1.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/coin.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 48.0,
y: 48.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
19: (
id: 19,
name: "Coin 2",
parent: None,
children: [],
transform: (
translation: (
x: 48.0,
y: 28.0,
z: 1.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/coin.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 48.0,
y: 48.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
20: (
id: 20,
name: "Coin 3",
parent: None,
children: [],
transform: (
translation: (
x: 240.0,
y: -96.0,
z: 1.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/coin.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 48.0,
y: 48.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
21: (
id: 21,
name: "Crate",
parent: None,
children: [],
transform: (
translation: (
x: 352.0,
y: -144.0,
z: -1.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/crate.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 64.0,
y: 64.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
22: (
id: 22,
name: "Crate 2",
parent: None,
children: [],
transform: (
translation: (
x: 352.0,
y: -80.0,
z: -1.0,
),
rotation: (
x: 0.0,
y: 0.0,
z: 0.0,
),
scale: (
x: 1.0,
y: 1.0,
z: 1.0,
),
),
components: [
(
type: sprite,
data: (
image: Some("textures/crate.png"),
color: (
r: 1.0,
g: 1.0,
b: 1.0,
a: 1.0,
),
custom_size: Some((
x: 64.0,
y: 64.0,
)),
flip_x: false,
flip_y: false,
),
),
],
locked: false,
),
},
roots: [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
18,
19,
20,
21,
22,
],
next_id: 23,
)