mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 10:34:06 +09:00
todo
Former-commit-id: aed8c9441d9b8852aa668d6ba7180eeb0f1097f9 Former-commit-id: 6ab896205ff0b5538b70e0d19638cab2fdae8c89
This commit is contained in:
@@ -274,6 +274,7 @@ constructor() : BasicGameState() {
|
|||||||
// make camara work //
|
// make camara work //
|
||||||
// compensate for zoom. UIs must be treated specially! (see UIHandler)
|
// compensate for zoom. UIs must be treated specially! (see UIHandler)
|
||||||
g.translate(-MapCamera.cameraX * screenZoom, -MapCamera.cameraY * screenZoom)
|
g.translate(-MapCamera.cameraX * screenZoom, -MapCamera.cameraY * screenZoom)
|
||||||
|
// TODO add new framebuffer so that whole map is zoomed at once, yet not the UI
|
||||||
|
|
||||||
|
|
||||||
/////////////////////////////
|
/////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user