Commit graph

13 commits

Author SHA1 Message Date
Antti Hakkarainen
d31fced182 display minimap sprite as map background 2023-02-15 21:13:24 +02:00
Antti Hakkarainen
e2fb7638c8 implement camera display marker to minimap 2023-02-15 17:04:06 +02:00
Antti Hakkarainen
d0f0d8c009 implement 2d camera rotation 2023-02-15 14:01:22 +02:00
Antti Hakkarainen
0f6343b44f clamp camera to map 2023-02-14 20:25:31 +02:00
Antti Hakkarainen
63ea78592a fix minimap colors 2023-02-14 11:29:05 +02:00
Antti Hakkarainen
ad598f980e moved chunkgen to 2nd thread, initial solution 2023-02-13 21:24:55 +02:00
Antti Hakkarainen
0109934933 load and remove chunks around camera pos working 2023-02-12 22:17:21 +02:00
Antti Hakkarainen
abbaa6f450 chunk displaying definitely doesn't work yet 2023-02-12 18:18:31 +02:00
Antti Hakkarainen
83343c9be6 refactor worldgen, still not optimal 2023-02-10 20:32:00 +02:00
Antti Hakkarainen
9f2dbb2a1d separate func for tile placement error checking 2023-02-08 22:29:12 +02:00
Antti Hakkarainen
c440e5f482 accurately find tile coords. moved error msgs to global. 2023-02-08 18:18:26 +02:00
Antti Hakkarainen
30ec55066b protoype world gen based on input image 2023-02-08 13:45:34 +02:00
Antti Hakkarainen
acf1ed5423 camera zoom in/out & camera panning 2023-02-07 19:21:51 +02:00