Skip to content

Commit

Permalink
almost there
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Robertson committed Jan 18, 2023
1 parent 4219927 commit cb458a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scenarios/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ func DrawCanvas(img *image.Paletted, src image.Image, prev_coords map[string]int
level += 1
prev_coords = map[string]int{"x": 2, "y": 2}
next_coords = map[string]int{"x": 2, "y": 2}
currentMaze = createMaze(int(math.Round(float64(levelWidth/14))), int(math.Round(float64(levelHeight/16))))
currentMaze = nil // redraw on next frame
showLevel = true
introFrames = 0
screenX = 0
Expand Down Expand Up @@ -236,7 +236,7 @@ func DrawCanvas(img *image.Paletted, src image.Image, prev_coords map[string]int
level += 1
prev_coords = map[string]int{"x": 2, "y": 2}
next_coords = map[string]int{"x": 2, "y": 2}
currentMaze = createMaze(int(math.Round(float64(levelWidth/14))), int(math.Round(float64(levelHeight/16))))
currentMaze = nil
showLevel = true
introFrames = 0
screenX = 0
Expand Down

0 comments on commit cb458a3

Please sign in to comment.