Displaying Map Tiles for Open Soruce Game. API Class Included. VB.Net Only
$5-10 USD
Zamknięte
Opublikowano ponad 14 lat temu
$5-10 USD
Płatne przy odbiorze
I'm making a program for a open source mmorpg making system. The system is based on an open X, Y, Z square tile map. For the sake of easy understanding, lets say they're are 3 types of tiles. Tiles you CANNOT walk on, tiles you CAN walk on, and tiles that SLOW YOU'RE CHARACTER DOWN.
The thing that should make this easy for any advanced developer, is an API class is provided, and it's all you need. What I'm trying to do, is GET the all the tiles on the current floor I am walking on, and then display them in a tile grid on my form, changing they're color depending on what type of tile they are. If the tile is NOT WALKABLE, make the tile gray, if the tile IS WALKABLE, make the tile brown, and if the tile SLOWS YOU DOWN, make the tile red. I also need it to store the information of each tile, since tiles are objects, and have properties.
Heres in an example picture created in MSPaint of the kind of output I want: [[login to view URL]][1]
Okay, so here is where I am at so far:
I'm using a function called [login to view URL]() "Public Function GetAllTiles() As [login to view URL](Of [login to view URL]). This is getting ALL the tiles on the characters current floor. Tiles are objects, so they have properties. An example of what I can do with this function:
For Each tile As Tile In [login to view URL] MsgBox([login to view URL] & [login to view URL] & [login to view URL] & tile.Location.X) Next
Please do not expect a lot of money for doing this, this should be easy. I've been doing VB.Net for a week and I've done everything by myself but figure out how to do the grid thing.
Here is the site for the entire class. It gives examples, namespace documentation, source, and the .Dll(The API Class).
[login to view URL]
And here is a forum for the whole class.
[login to view URL]
Let me know. :)