-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workingeasyshould only take a few lines of codeshould only take a few lines of codegood first issueGood for newcomersGood for newcomers
Description
-The method needs to check if the player is at the world border or not
--If the player is not the screen center should be the player position (Main.getPlayer.getPosX/Y();)
--if the player is at any of the world borders set the center to half the screen width (getWidth/Height() / 2;) away from that border.
---World border can be found from Tile.getAllTiles 2d array, get both lengths from that array and multiply them by
tile width (Tile.width)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingeasyshould only take a few lines of codeshould only take a few lines of codegood first issueGood for newcomersGood for newcomers