From 37d73474ccc38a39bea5dd3225370343262d09cc Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 23 Apr 2024 02:28:40 +0100 Subject: Add Side Spring --- level.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'level.go') diff --git a/level.go b/level.go index 4d5bcec..760f872 100644 --- a/level.go +++ b/level.go @@ -5,7 +5,7 @@ import ( ) func StartGame(g *Game) { - StartLevel4(g) + StartLevel1(g) } func PauseScreen(g *Game) { @@ -62,6 +62,7 @@ func StartLevel1(g *Game ) { 0, 50, 54, 55, 53, 54, 55, 53, 54, 55, 53, 54, 55, 53, 54, 55, 53, 54, 55, 53, 54, 55, 53, 54, 0, 0, 53, 70, 71, 69, 70, 71, 69, 70, 71, 69, 70, 71, 69, 70, 71, 69, 70, 71, 69, 70, 71, 69, 70, 0, 0, 69, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 0, + 0, 69, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 0, 0, 69, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 39, 37, 38, 0, }, { @@ -81,6 +82,7 @@ func StartLevel1(g *Game ) { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }, }, 25) @@ -218,6 +220,9 @@ func StartLevel6(g *Game) { //noMoveable(g) g.toPlace = append(g.toPlace, NewSpring(g, 0, 0)) + g.toPlace = append(g.toPlace, NewRightSideSpring(g, 0, 0)) + g.toPlace = append(g.toPlace, NewLeftSideSpring(g, 0, 0)) + g.toPlace = append(g.toPlace, NewBox(g, 0, 0)) g.exit.movable = true // after end -- cgit v1.2.1