|
|
|
@ -117,7 +117,7 @@ fn init_bird(
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
let material = MeshMaterial2d(materials.add(ColorMaterial {
|
|
|
|
let material = MeshMaterial2d(materials.add(ColorMaterial {
|
|
|
|
texture: Some(server.load("kenny.nl/1-bit-platformer-pack/tile_0380.png")),
|
|
|
|
texture: Some(server.load("kenny.nl/1-bit-platformer-pack/tile_0380.png")),
|
|
|
|
color: BLACK.into(),
|
|
|
|
color: ORANGE.into(),
|
|
|
|
alpha_mode: AlphaMode2d::Blend,
|
|
|
|
alpha_mode: AlphaMode2d::Blend,
|
|
|
|
..default()
|
|
|
|
..default()
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
@ -182,7 +182,7 @@ fn init_obstacles(
|
|
|
|
let pipe = {
|
|
|
|
let pipe = {
|
|
|
|
let material = MeshMaterial2d(materials.add(ColorMaterial {
|
|
|
|
let material = MeshMaterial2d(materials.add(ColorMaterial {
|
|
|
|
texture: Some(server.load("kenny.nl/1-bit-platformer-pack/tile_0247.png")),
|
|
|
|
texture: Some(server.load("kenny.nl/1-bit-platformer-pack/tile_0247.png")),
|
|
|
|
color: BLACK.into(),
|
|
|
|
color: GREEN.into(),
|
|
|
|
..default()
|
|
|
|
..default()
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
|
|
|