nah it just means that all plans to maybe rewrite parts of the code aren't possible. So I'll stick with my current engine.Still I have to add lots of map data, new tiles and add all of the story line stuff >.<I even have to add NPCs first, they don't exist yet <--- major code change

Edit:*which is hard spending almost all the time on pxls.space x.xSo I won't have tome to work on it atm :/

Anyway war sucks. Just bring us your food instead of missiles :P ~ DJ Omnimaga (11.10.2016 20:21:48)if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._ ~ c4ooo (14.11.2016 22:44:07)If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Yeah I hoped you won't spend all your time on pxl.space especially since it's gonna be reset at one point or another. Wod suck to lose you in the same style we lost active members to Freecodecamp D: @p2 (eg alexgt)

Nah don't worry u got me addicted to this site a long time ago <3 no way I'm gonna leave ^^Guess as soon as I find the time, I'll take my first approach on adding smooth scrolling x.xJust hope I do t break everything xD

Buuut then I'll have to handle the line of tiles touching the border completely different which requires major changes to the rendering thingy... so I guess that might take some time ^^

Anyway war sucks. Just bring us your food instead of missiles :P ~ DJ Omnimaga (11.10.2016 20:21:48)if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._ ~ c4ooo (14.11.2016 22:44:07)If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

Store x and y position in pixels. Then, loop through each tile, and render each tile at (tileX * tileSize -playerX + (windowWidth / 2), tileY * tileSize - playerY + (windowHeight / 2)). Once you do that, it shouldn't be hard to use two nested for loops to only render the tiles around the player.

screenTop = General.getBetween(0, Map.getHeight()-getHeight(), Player.getYPos()-Math.round(getHeight()/2));screenLeft = General.getBetween(0, Map.getWidth()-getWidth(), Player.getXPos()-Math.round(getWidth()/2));// getWidth() returns the width of the screen in tiles// Map.getWidth() returns the map dimensionsI do this to get the currently relevant map data, which is then copied to a second matrix: ScreenMatrix[_x][_y]It basically is a screen-sized region of the map centered around the walrus, but one that cannot leave the map (so the walrii is only centered if it isn't too close to the edge).

starting from this point, I have the following methods (sorry for bad readability):

Anyway war sucks. Just bring us your food instead of missiles :P ~ DJ Omnimaga (11.10.2016 20:21:48)if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._ ~ c4ooo (14.11.2016 22:44:07)If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

me has officially continued work on the Walrus Kingdom project.Buuut I first have to work a bit with my code again (havent looked at it for a while) so I'm now going for savegame and stuff like that, maybe also tools and more key functionality.Will (if at all) do graphic updates like smooth scrolling laaaaaaaaaaaater

Anyway war sucks. Just bring us your food instead of missiles :P ~ DJ Omnimaga (11.10.2016 20:21:48)if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._ ~ c4ooo (14.11.2016 22:44:07)If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

I began working on the savegame and besides the basic vars like current map and player position there's almost no reference to the old code necessary. So I have Time to Review the rest of the code before having to work with it ^^

Anyway war sucks. Just bring us your food instead of missiles :P ~ DJ Omnimaga (11.10.2016 20:21:48)if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._ ~ c4ooo (14.11.2016 22:44:07)If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)