Author Topic: Buffer Wraparound  (Read 2115 times)

0 Members and 1 Guest are viewing this topic.

Offline leafy

  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1554
  • Rating: +475/-97
  • Seizon senryakuuuu!
    • View Profile
    • keff.me
Buffer Wraparound
« on: January 30, 2011, 03:56:05 pm »
I've noticed that the buffer kind of "wraps around" at 256 pixels. Is that a byte issue, and if it is, can the length before wraparound be increased by using more bytes or something?
In-progress: Graviter (...)

Offline Quigibo

  • The Executioner
  • CoT Emeritus
  • LV11 Super Veteran (Next: 3000)
  • *
  • Posts: 2031
  • Rating: +1075/-24
  • I wish real life had a "Save" and "Load" button...
    • View Profile
Re: Buffer Wraparound
« Reply #1 on: January 30, 2011, 04:01:05 pm »
You should never rely on that wraparound in case the commands change in the future with different wrap around values for some reason.  You should manually tell your drawer to not draw when the object is off-screen and then when the X or Y values pass a certain point, subtract the loop around values from them.
___Axe_Parser___
Today the calculator, tomorrow the world!