.NET C#/VB.NET Developers
VXL Input and Output Sample Code
Developed For .NET By FaultCheck
The original C Code for writing a map created by Sean Barrett
http://silverspaceship.com
The Ace of Spades file format is an adaptation of the
Voxlap VXL file format by Ken Silverman
http://advsys.net/ken
VXL I/O VB.NET Sample Source
-
FaultCheck
Coder
- Posts: 171
- Joined: Sun Nov 11, 2012 7:02 pm
-
Attachments
VXL2.NET.zip
(87.99 KiB) Downloaded 345 times
(87.99 KiB) Downloaded 345 times
-----------------------------------------
FaultCheck - May the block be with you...
Blockman2D Ace of Spades Classic Map Generators and Tools
http://blockman2d.herokuapp.com/
<@izzy> ohh you just got FaultCheck'd
-
[BP]Mininao
Deuce - Posts: 13
- Joined: Thu Dec 27, 2012 12:13 pm
Yeah !
I'll test it right now, but i think it will open great possibilities for creating new mapping tools !
Thanks again
I'll test it right now, but i think it will open great possibilities for creating new mapping tools !
Thanks again
-
Buffet_of_Lies
Mapper
- Posts: 402
- Joined: Tue Nov 20, 2012 11:25 am
-
Ah cool. I was wondering where all those map generators were hiding.
-
learn_more
Coder
- Posts: 891
- Joined: Sun Mar 24, 2013 9:59 pm
-
[BP]Mininao
Deuce - Posts: 13
- Joined: Thu Dec 27, 2012 12:13 pm
Nice thing, but could you make a Library that we could use in both C# and VB.net, because I really don't understand vb.net
-
FaultCheck
Coder
- Posts: 171
- Joined: Sun Nov 11, 2012 7:02 pm
-
learn_more wrote:ugh, vb.net why not c#It takes 30 seconds to convert it over, http://www.developerfusion.com/tools/co ... to-csharp/
I'm a VB.NET guy, that's why! lol... always hating on vb.net... always!
[BP]Mininao wrote:Nice thing, but could you make a Library that we could use in both C# and VB.net, because I really don't understand vb.netYeah, that could be done, but it would probably be simpler to convert using the above link and use the raw code, as opposed to a prebuilt library, then you can actually build from it, or work on making it better, as opposed to being stuck in the DLL box so to speak.
Buffet_of_Lies wrote:Ah cool. I was wondering where all those map generators were hiding.lol, sneaky little bastards they are!
[BP]Mininao wrote:Yeah !This is just a simple form to get started, but yeah the sky is the limit, you can start with this as the ability to in and out the VXL, then write some kind of cool algorithm for building out the maps.
I'll test it right now, but i think it will open great possibilities for creating new mapping tools !
Thanks again
-----------------------------------------
FaultCheck - May the block be with you...
Blockman2D Ace of Spades Classic Map Generators and Tools
http://blockman2d.herokuapp.com/
<@izzy> ohh you just got FaultCheck'd
Ooh, I might use this. I mean, I hate VB, but I'll just compile it to a DLL and use it in a C# project. I was planning on making a map generator in Java, but that'd involve writing something like this, and, well, I'm lazy. ;P
I have been told that there is a bug in the silver spaceship code. Use it at your own risk. If you're going to be working with a program that reads/writes .vxl, you should really write your own code; vxl is a pretty simple file format.
-
FaultCheck
Coder
- Posts: 171
- Joined: Sun Nov 11, 2012 7:02 pm
-
Yourself wrote:I have been told that there is a bug in the silver spaceship code. Use it at your own risk. If you're going to be working with a program that reads/writes .vxl, you should really write your own code; vxl is a pretty simple file format.Yourself, Thanks for the heads up, it was rewritten, as there is no other source in VB.NET, so while I used his original VXL C code as inspiration, this was self written based on his code. I did a lot of testing, and reworking, and got it working.
It's also what has been used in Blockman2D for about a year, with great results in reading and writing.
-----------------------------------------
FaultCheck - May the block be with you...
Blockman2D Ace of Spades Classic Map Generators and Tools
http://blockman2d.herokuapp.com/
<@izzy> ohh you just got FaultCheck'd
-
learn_more
Coder
- Posts: 891
- Joined: Sun Mar 24, 2013 9:59 pm
rakiru wrote:Ooh, I might use this. I mean, I hate VB, but I'll just compile it to a DLL and use it in a C# project. I was planning on making a map generator in Java, but that'd involve writing something like this, and, well, I'm lazy. ;Pcompile it as dll, open with ilspy, change language to c# --> dump,
fix it up and have working c# code :p
FaultCheck wrote:Ok cool I was assuming you did a direct port.Yourself wrote:I have been told that there is a bug in the silver spaceship code. Use it at your own risk. If you're going to be working with a program that reads/writes .vxl, you should really write your own code; vxl is a pretty simple file format.Yourself, Thanks for the heads up, it was rewritten, as there is no other source in VB.NET, so while I used his original VXL C code as inspiration, this was self written based on his code. I did a lot of testing, and reworking, and got it working.
It's also what has been used in Blockman2D for about a year, with great results in reading and writing.
learn_more wrote:You should know by now that I am lazy. ;Prakiru wrote:Ooh, I might use this. I mean, I hate VB, but I'll just compile it to a DLL and use it in a C# project. I was planning on making a map generator in Java, but that'd involve writing something like this, and, well, I'm lazy. ;Pcompile it as dll, open with ilspy, change language to c# --> dump,
fix it up and have working c# code :p
-
[BP]Mininao
Deuce - Posts: 13
- Joined: Thu Dec 27, 2012 12:13 pm
Can you upload the lib you made ? It would be pretty useful ^^
Who is online
Users browsing this forum: No registered users and 13 guests