Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Only redrawn when it changes...
#1
I was looking into it... the multiple surface layers, like BigRed submitted, is nice. The map is drawn once, and a few other things are drawn just once (which saves a LOT of loops/memory), but isn't there a more practical way of doing it, like only redrawing only if the initial drawing changes? I've been trying to think of a way to do it, but they would all involve loops and/or timers, and that would really kind of defeat the purpose. Anyone know of a way to do it? or possibly a source code that has something similar to it already that i can use as an example?
Reply
#2
oh okay, so like one rectangle per player on the map (for example)? i'm going to try to play with this on a blank MSE source and see what i can do... if i can make a decent version of it (that works completely), i'm going to try and release it as either the source or in a tutorial.

i was also thinking about playing with a huge in-game map... like 10000x10000 maps, and then load/blt/destroy as you walk for a completely seemless scrolling system.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)