User Tag List

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

Thread: Remember Alterable Variables

  1. #11
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    AnD4D, this seems like an overly complicated way of doing things. Probably the best way to go about this is to use an array (it's easier than you think, once you get used to it), and have all your block positions load from the array at the start of the level. When a block is destroyed, set it's array x/y value to 0. When the player exits, save the array. Arrays are good because you can store an unlimited amount of positions in them and they are quick to load and save.

    There's plenty of stuff on arrays and grids and stuff here so do a search, I can't possibly go into all the details here. If you're stuck, search for a tile level editor example, usually this is the technique that is used.

  2. #12
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Apr 2012
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Having trouble finding anything for arrays that I can see that would help me... strangely enough. I can see how it would work, but I'm hoping it would store the information in the array automatically. Will this happen, or will I need to fill in the data for each and every array?

  3. #13
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    I've made you two examples, one that destroys objects in the order they were created (requires the Select Object extension) and one that loads and saves a tiled level.

    Hope this is what you're looking for!

    InProgress.mfa

    blocklevel.mfa


    EDIT: Btw, the tiled level is on a 4000 x 4000 frame size with around 16000 blocks. Since MMF can only handle a maximum of 20,000 this is all you're going to get unless you use another method. See this post:

    http://www.create-games.com/forum_post.asp?id=293563

    From when I was trying to figure out a fog of war. Fog or bricks, Fifth's great example on this site allows you a pretty much unlimited amount of tiles using just 1 object!

  4. #14
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by SolarB View Post
    I've made you two examples, one that destroys objects in the order they were created (requires the Select Object extension) and one that loads and saves a tiled level.

    Hope this is what you're looking for!

    InProgress.mfa

    blocklevel.mfa


    EDIT: Btw, the tiled level is on a 4000 x 4000 frame size with around 16000 blocks. Since MMF can only handle a maximum of 20,000 this is all you're going to get unless you use another method. See this post:

    http://www.create-games.com/forum_post.asp?id=293563

    From when I was trying to figure out a fog of war. Fog or bricks, Fifth's great example on this site allows you a pretty much unlimited amount of tiles using just 1 object!
    Thanks for the examples. You're Noodles?

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  5. #15
    Clicker Fusion 2.5iOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    SolarB's Avatar
    Join Date
    Feb 2012
    Location
    Melbourne
    Posts
    904
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    One and the same

    No probs.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Request: Alterable variables on the iPhone objects
    By AndyH in forum iOS Export Module Version 2.0
    Replies: 10
    Last Post: 26th February 2011, 11:10 AM
  2. Glitch with Alterable Variables and Set Position
    By Corlen in forum File Archive
    Replies: 2
    Last Post: 13th June 2009, 12:49 AM
  3. Renaming Qualifier Alterable Variables?
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 18th April 2008, 08:32 AM
  4. Alterable Strings and Alterable Values limit :(
    By Pedro Almeida in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 13th October 2006, 06:38 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
  •