feat: paths now define a distance between them
authorxangelo <git@xangelo.ca>
Tue, 25 Jul 2023 19:43:53 +0000 (15:43 -0400)
committerxangelo <git@xangelo.ca>
Tue, 25 Jul 2023 19:43:53 +0000 (15:43 -0400)
commit53b5ae7c593846c8d865aa46344f3700e7e9806c
treeadd67dd6e25264d9a62cb89afa0799076e3d5ef0
parent084353ae11c5609e3ae424679ca22549177046a0
feat: paths now define a distance between them

When you travel from town to town, the distance is defined the in asset
spreadsheet. The actual distance you travel is between 3-10% of the
total distance applied as min/max bounds.

At 50% of the distance between two towns the background image will
change to denote that you are approaching that town. At this point the
monsters you start to encounter will be ones tied to the destination town.
migrations/20230725191733_path-distance.ts [new file with mode: 0644]
public/assets/bundle.js
seeds/cities.ts
src/client/index.ts
src/events/travel/server.ts
src/server/map.ts
src/shared/map.ts