Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27196

Finding the boundaries of an RPG room

$
0
0
I'm making an RPG where the map is stored as characters representing different tiles in a two dimensional array called Map(30, 30). The code is in another thread I posted, if you're interested (http://www.vbforums.com/showthread.p...map-flickering). My issue is, I'd like find a way to only display the room the player is currently in. The rooms can be irregularly shaped. The walls are represented by '#' and doors are represented by 'D'.

Any ideas?

Viewing all articles
Browse latest Browse all 27196

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>