Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run Time Error Fixes
#8
Obsidian Wrote:Mis, i've been researching that for a while, and if you can honestly find a way to do it, i'll be extremely impressed. If you can figure it out, please let me know.

Hmm, can it really be that hard. If I understood you right Missunderstood, you mean that if yourplayer stats still and there is only one otehr npc on the board, it will only repaint the tiles that the npc is on when he moves.Nothing else? If so..

.. We shouldprobably make a new thing like this:
Code:
npc(num).RePaint = True or False

And when they move, it becomes True. (Boolean)

And now the other thing that needs to be changed is the blt subs. Which is kinda the difficult part. If we then take the ground for example...hmm, damn it got hard now.. ehh, when a player moves, the only thing that will need to be repainted is the ground he walks on. So therefore we need to modify that sub so it checks something like:
Code:
If Player(MyIndex).Repaint = True Then
' Get X and Y...
End if

Shouldn't that work. Im not really good with this, I just had a small idea, tell me if Im all off the subject now.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)