Keen: Modding Forum Index Keen: Modding
All the modding info you'll ever need
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

FleexCore - A .NET Keen level API

 
Post new topic   Reply to topic    Keen: Modding Forum Index -> Coding
View previous topic :: View next topic  
Author Message
Fleexy



Joined: 12 Dec 2008
Posts: 281
Location: Blogham Tower

PostPosted: Mon Jul 02, 2012 4:51 pm    Post subject: FleexCore - A .NET Keen level API Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Malvineous



Joined: 13 Mar 2004
Posts: 79
Location: Brisbane, Australia

PostPosted: Tue Jul 10, 2012 1:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Fleexy



Joined: 12 Dec 2008
Posts: 281
Location: Blogham Tower

PostPosted: Tue Jul 10, 2012 4:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Keen: Modding Forum Index -> Coding All times are GMT
Page 1 of 1

 
Jump to:  
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