31-07-2009, 12:12 PM
Yeah, your minimap is nice.
Spoons took blocked tiles and drew a rid box where they were, a white box where a player was and yellow for NPCs I believe. He later modeled it after Runescapes. It is pretty simple, just parse your map, and if you have a surrounding map system, them as well, and draw accordingly.
There is probably a better way, like doing what Runescape does - drawing a world map, then have the minimap "camera" scroll with it according to the player. Then draw the dots for players and NPCs only.
Spoons took blocked tiles and drew a rid box where they were, a white box where a player was and yellow for NPCs I believe. He later modeled it after Runescapes. It is pretty simple, just parse your map, and if you have a surrounding map system, them as well, and draw accordingly.
There is probably a better way, like doing what Runescape does - drawing a world map, then have the minimap "camera" scroll with it according to the player. Then draw the dots for players and NPCs only.