User Tag List

Results 1 to 7 of 7

Thread: How would I go about making a level editor ?

  1. #1
    No Products Registered

    Join Date
    Dec 2006
    Posts
    319
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How would I go about making a level editor ?

    Similar to the one that comes with Knytt Stories by Nifflas? Anyone can give me a few advices on how to go about it?

    Also what type of file would the resuliting level that is created with the editor have to be saved in order to stay interactive after I take it into MMF2 (because if I save it as one giant png, that won't work). Thanks in advance

  2. #2
    No Products Registered

    Join Date
    Feb 2008
    Posts
    209
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I go about making a level editor ?

    Well, I would recommend looking at Nifflas' level editor, which is built the same way as the one that comes with Knytt Stories. It's very simple, but I think it would give you a good idea on how to construct your level editor.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    1,027
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I go about making a level editor ?

    Use the NVO extension. Then, name your keys based on what layer they are on. Finally, you can iterate the file and filter out whatever data you want with the string parser. Works really well. I've used this method on a few level editors.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I go about making a level editor ?

    I'd actually use the Ini++ object for that, it does more or less everything that NVO does but better, and it produces far smaller files too.

    However, I'd only use Ini++ (or NVO) for objects not bound to a grid, or objects that needs dynamic data. When dealing with tiles on a grid, Binary Array is so much faster, and with no doubt the way to go.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    1,027
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I go about making a level editor ?

    Does Ini Plus Plus support iteration?

  6. #6
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Location
    Suffolk, UK
    Posts
    435
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I go about making a level editor ?

    Yes.
    You can get a total group count, total item count, total items in group count.
    You then also have a number of Get N-th expressions depending on what you're looking for: Get N-th Group Name, Get N-th Item Value, plus some more.
    Stick it with a fast loop using the index as the 'N' value there you go.

    You can also perform searches based on criteria and then do the same Get N-th type expressions based on the search results.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Posts
    1,027
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How would I go about making a level editor ?

    Cool. I don't know how I missed that extension before

Similar Threads

  1. Level editor that uses MMF2's own frame editor
    By Shawn in forum File Archive
    Replies: 35
    Last Post: 9th November 2013, 06:34 PM
  2. Making a level
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 18th July 2013, 11:35 PM
  3. Making falling water that fills up the level.
    By CASEY in forum Multimedia Fusion 2 - Technical Support
    Replies: 18
    Last Post: 29th August 2007, 07:22 PM
  4. Help with making a level editor...
    By ChaozTLG in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 17th May 2007, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •