User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: simple level editor advice

  1. #11
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: simple level editor advice

    Random: I am trying to set up the exporting side of using the array. I assume that in your example you left out the portion that actually writes out the array to a file. Can you elaborate on how I might approach that? I am using the standard Array object in MMF2 just so I can keep all this simple.

  2. #12
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: simple level editor advice

    Easy. The array has an action "save to file". Just use that and it will nicely save all its content into a file. Same for loading.
    I left it out because it's so simple

    And keep in mind, if you don't want the user to tamper with the file, better use the MagicDeque instead of the array, because it can save the file encrypted.

  3. #13
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: simple level editor advice

    Well, I found that action, but I am using the following condition and it doesn't seem to be working:

    +Is the index to the Y dimension at end:
    -->save array to file XXXX
    -->end application

    I am assuming this would translate to "if the array has reached the last value defined in the y dimension (under object settings) then write a file and end the app." This would mean I need to set the array's y dimension to equal the total number of enemy spawners in my level.

    I also tried to write the file on a "when spacebar is pressed" condition and it writes a file, but the file is empty when I try to read it in a text editor.

    Is there an optimal condition that will basically end the program once the array has filled up?

    EDIT: I figured out my issue: I had the loop start on frame start, not always. My bad.

  4. #14
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: simple level editor advice

    I got it working. Thanks so much for all the advice and examples.

    Mobichan

  5. #15
    No Products Registered

    Join Date
    Jun 2006
    Location
    Land of raging rockets
    Posts
    1,231
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: simple level editor advice

    No problem. Glad you figured it out.

    PS: I looked at your stuff. Dude, you're good

  6. #16
    Clicker Multimedia Fusion 2

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

    Re: simple level editor advice

    Quote Originally Posted by Random
    PS: I looked at your stuff. Dude, you're good
    I agree. Your stuff's great mobichan!

  7. #17
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: simple level editor advice

    Thanks for the votes of confidence. I hope I can continue to make great stuff with MMF2. No offense to the geniuses on the Clickteam staff, but I really would have given up on learning MMF2 by now if it weren't for the phenominal people in the forums. You can be certain my games wouldn't exist without your help. Now to start actually making my levels...

  8. #18
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: simple level editor advice

    Quote Originally Posted by mobichan
    but I really would have given up on learning MMF2 by now if it weren't for the phenominal people in the forums.
    and you're also doing things that most people wouldn't try/learn until they've used MMF for a few years... unless they've already have some programming background beforehand

  9. #19
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: simple level editor advice

    sorry i haven't been on for a while..
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=88898#Post88898

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Going the External Level route, any advice(object and event limits, any other tips)
    By DinnerSonic in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 14th April 2013, 02:41 PM
  2. Simple level editor with saving and loading
    By Konidias in forum File Archive
    Replies: 30
    Last Post: 8th June 2012, 07:37 AM
  3. Simple Level Editor
    By Brandon in forum File Archive
    Replies: 2
    Last Post: 1st January 2007, 04:25 PM
  4. Multi-level game (need advice)
    By JohnC in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 21st November 2006, 10:00 PM

Posting Permissions

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