Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. 2D Tile Based Scrolling

2D Tile Based Scrolling

Scheduled Pinned Locked Moved Design and Architecture
javasysadminperformancehelpquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Expert Coming
    wrote on last edited by
    #1

    I am coding a 2D Tile Based Scroller in Java. When I first started this project I was going to make it a screen-by-screen scroller, but now I want to make it tile-by-tile (the character stays in the middle of the screen and the world scrolls under you). The problem I am facing is this is a client/server setting, so I need to server to be able to constantly send pieces of the map to the client, but I can't wrap my head around how the client should store and parse out this data. When it was just map by map I could have the map in memory and it was of fixed size, now the map size will constantly change and just the viewing size of it will be static. Any ideas?

    The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups