 |
Keen: Modding All the modding info you'll ever need
|
| View previous topic :: View next topic |
| Author |
Message |
Fleexy

Joined: 12 Dec 2008 Posts: 281 Location: Blogham Tower
|
Posted: Mon Jul 02, 2012 4:51 pm Post subject: FleexCore - A .NET Keen level API |
|
|
If you've ever had a great idea for a level editor but couldn't implement it due to the apparent complexity of level I/O, FleexCore is for you! This .NET 4.0 DLL is meant to be referenced by level editor programs.
It contains (for now) a single useful class: VortLevel. This class represents a single Keen:Vorticons level. Simply call the shared FromFile function to load a file from disk and ToFile to write any modifications to disk. The level can be modified in-memory by reading/writing individual tiles/sprites with the Tiles or Sprites property.
FleexCore can save in three level formats: FleexFastIO (not readable by Keen, but fast and simple I/O by FleexCore), Keen (the native Keen:Vorticons level format without any compression), or KeenRLEW (normal format with maximum-size-efficiency RLEW compression). The FromFile method will automatically detect the format used.
I will eventually add classes for Galaxy and Dreams levels, and maybe even the Keen graphics formats. Please post bug reports, suggestions, and possible improvements below.
Download FleexCore v1.0
I have a very interesting use for this... |
|
| Back to top |
|
 |
Malvineous

Joined: 13 Mar 2004 Posts: 79 Location: Brisbane, Australia
|
Posted: Tue Jul 10, 2012 1:12 pm Post subject: |
|
|
| Any chance you'd be interested in implementing Keen map support in Camoto's libgamemaps? It already supports a few games (Monster Bash, Halloween Harry, Cosmo, Xargon, etc.) so it'd be nice to support Keen as well. |
|
| Back to top |
|
 |
Fleexy

Joined: 12 Dec 2008 Posts: 281 Location: Blogham Tower
|
Posted: Tue Jul 10, 2012 4:51 pm Post subject: |
|
|
| I'm afraid I don't know C/C++ at all, and currently am busy learning Java. If someone else can figure out how to port VB .NET code to C++ (which sounds terrible, I know), I might hand over the code. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|