push backgrounds back
This commit is contained in:
parent
0de0ce3259
commit
96572165e6
2 changed files with 2 additions and 2 deletions
Binary file not shown.
4
main.go
4
main.go
|
@ -107,13 +107,13 @@ func writeLevel1() {
|
||||||
&engine.Fill{
|
&engine.Fill{
|
||||||
ID: "bg_fill",
|
ID: "bg_fill",
|
||||||
Color: color.Gray{100},
|
Color: color.Gray{100},
|
||||||
ZOrder: -10,
|
ZOrder: -1000,
|
||||||
},
|
},
|
||||||
&engine.Parallax{
|
&engine.Parallax{
|
||||||
CameraID: "game_camera",
|
CameraID: "game_camera",
|
||||||
Child: &engine.Billboard{
|
Child: &engine.Billboard{
|
||||||
ID: "bg_image",
|
ID: "bg_image",
|
||||||
ZOrder: -5,
|
ZOrder: -900,
|
||||||
Pos: image.Pt(-160, -120),
|
Pos: image.Pt(-160, -120),
|
||||||
Src: engine.ImageRef{Path: "assets/space.png"},
|
Src: engine.ImageRef{Path: "assets/space.png"},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue