Skip to content

Commit

Permalink
assets: Changed the maps to just be side by side lines
Browse files Browse the repository at this point in the history
It was before 3 top and 3 bottom but it needs changes on a lot of things and this way it already
works so it's much easier to do it like this
  • Loading branch information
xescugc committed Jan 30, 2024
1 parent 7fba671 commit ba51e62
Show file tree
Hide file tree
Showing 7 changed files with 982 additions and 882 deletions.
Binary file modified assets/maps/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/maps/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/maps/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 1 addition & 9 deletions store/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,7 @@ func (m *Map) GetRandomSpawnCoordinatesForLineID(lid int) (float64, float64) {
}

func (m *Map) GetHomeCoordinates(lid int) (float64, float64) {
var y float64
if lid > 3 {
// 86 is the total length of the map including borders
// and 10 is the vertical separation between the maps
y = 86 + 10
lid = -3
}

return float64(lid * 16 * (16 + 1 + 10 + 1)), y
return float64(lid * 16 * (16 + 1 + 10 + 1)), 0
}

func (m *Map) EndZone(lid int) utils.Object {
Expand Down
392 changes: 196 additions & 196 deletions tiled/4.tmx

Large diffs are not rendered by default.

746 changes: 427 additions & 319 deletions tiled/5.tmx

Large diffs are not rendered by default.

716 changes: 358 additions & 358 deletions tiled/6.tmx

Large diffs are not rendered by default.

0 comments on commit ba51e62

Please sign in to comment.