Skip to content

Commit c2037df

Browse files
committed
read
1 parent 48478e5 commit c2037df

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
Was a basic attempt at a GPS based game (it was using pre-processed map data, Socket.IO for multiplayer, etc. but those parts were stripped to leave the working map draw)
44

5-
Some lines do not align perfectly from one tile to another but I'll probably fix that in the future (they aligned with preprocessing, so I assume it's a math rounding error)
6-
75
Took many attempts to make the camera rotation with touch to work in an acceptable way (cannot go underground, cannot pass a certain height, can rotate 360 around the player etc)
86

97
It uses mapzen tiled data at zoom level 16.
@@ -20,20 +18,16 @@ You might want to give a read to articles such as http://www.axismaps.com/guide/
2018

2119
In case you don't already have a basic understanding of how GPS maps are tiled.
2220

23-
I've experimented first with mapzen using this HTML5/PHP processing example:
24-
25-
https://github.com/nenuadrian/OSM-Map-Canvas-Rendering
26-
2721
# Known issues
2822

29-
Very likely if you travel enough you'll hit rounding errors because of the coordinates. When you surpass a certain number of tiles, the system should reset and select a new "primordial" tile to consider as origin of the coordinate system.
23+
Very likely if you travel enough you'll hit rounding errors because of the coordinates. When you surpass a certain number of tile, the system should reset and select a new origin tile.
3024

3125
There're are surely issues if you go around the globe (eg before first or after last tile in a row)
3226

3327
# Screenshots
3428

35-
![Screenshot](images/1.png)
29+
![Screenshot](images/s1.png)
3630

37-
![Screenshot](images/2.png)
31+
![Screenshot](images/s2.png)
3832

39-
![Screenshot](images/3.png)
33+
![Screenshot](images/s3.png)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)