User Tag List

Results 1 to 3 of 3

Thread: Using multiple objects to create one object

  1. #1
    No Products Registered

    Join Date
    Feb 2010
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Using multiple objects to create one object

    Is there a way to use multiple objects and put them in to one active object during runtime?

    Here is a link to what I have so far:

    View MFA

    It's an editor to edit the character, now I need to use information from the editor to make the character... Thanks

  2. #2
    Clicker Fusion 2.5
    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)
    JimJam's Avatar
    Join Date
    Jun 2006
    Location
    USA
    Posts
    353
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Using multiple objects to create one object

    Warning, the specified file does not exist!
    "c:\nanodroid.ini"
    It looks like you forgot the file. I would also recommend not using the root directory of the drive to store you files. Lots of people don't like programs writing to the C: drive directly. Not to mention some PCs security features prevent it. Leave the path blank in the Ini's property window, and make an event like this:

    Code:
    *Start of Frame:
     == Set ini File to = apppath$ + "data.ini"
    "AppPath$" is the application's path. This will place the ini file in the same folder as your application, no matter where it is on someone's PC.

    Um... I just did a quick look through the code, and I'm not sure what I'm supposed to do. It looks like I'm on a game screen to build some sort of machine? There's no guide or on screen controls.

    If you need help with a specific problem, you have to strip down your application to make it clear what the problem is. If you are asking help on building a machine with multiple actives, then you should remove events that don't pertain to this function. Like the money counter and selling parts events. Also, after looking at the missing INI file that poppped up, I noticed that you don't even have any events for the INI. Please clean up your example files to make them extremely clear before posting them. It helps everyone who will be reading your code, which will help you solve your problem faster too.

    You also need to give more information on what it is your program is doing. Are we building cars, tanks, humanoid robots, or spaceships? It also helps us to name your objects, please. I'm sure that you know what "string 3" and "counter 2" are used for, but we don't.

    Oh, another quick note: I see you can rotate the pieces with the mouse wheel. I would recommend not using the mouse wheel. For one, my laptop doesn't have a mouse wheel, nor does my mouse. And my primary device is a tablet which means I have to put the pen down to use the mouse wheel. Lots of PCs and Laptops don't have a mouse wheel, or the device used for scrolling doesn't follow the same standards as mouse wheel, and won't behave properly.

    If you do use the mouse wheel as a shortcut, this is fine. As long as you have on screen buttons or keyboard alternatives to also rotate the pieces.

    So, if you could clarify your problem for us, and simplify your example file, we could help as soon as possible.

  3. #3
    No Products Registered

    Join Date
    Feb 2010
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Using multiple objects to create one object

    Yep, no problem. I was mostly trying to post it fast so that people could respond sooner (bad idea)... sorry about that.

    The .ini object should not have even been there. I was just experimenting with it and had decided not to use it and I forgot to take it out, again sorry... Thanks for the tip about that though. If I do end up using the .ini object I will surley have it save to the same folder as the game.

    The overall theme of my game is a real-time character editor for a platform game. The player will be able to create their own little "bot" with the editor, and then play with it through the levels. That is why I have all the "money counter" and "selling of objects", because throughout the levels, the player will accumulate money to be able to upgrade their bot.

    Yes, Cars Tanks (eventually with more parts in that the player will be able to buy), robots. Not spaceships though... just stuff with wheels.

    All those strings and counters without names were there for troubleshooting purposes. Just ignore thim if you will.

    ----------------------------------------


    Here I'll upload it again with improvements:

    View MFA

    Basically you click on one of the objects in the blue area, move it over to the gray area to the left, and then click on it again. That is how you buy objects from the blue area. The green area is the spot for objects the player does not want to sell, but doesn't need at the time of play. The red area is where you put the object to sell them for full refund.


    What I need to be able to do is take the 10x10 area to the left of the green line of sqares and "sense" the arrangement and type of objects in that area, save them to something, and be able to retrieve them.

    I also need to be able to combine that arrangement of objects into one object, or as one object, to be the player's bot, and make them move in a platformer type movement.


    I hope this clears it up. Sorry again for not doing so at the beginning. If you have any more questions feel free to ask.

Similar Threads

  1. create objects relative to another object problem
    By 1234cb in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th April 2013, 04:38 PM
  2. [Request] create new objects object
    By motorsk8er in forum Extension Development
    Replies: 9
    Last Post: 4th January 2010, 02:37 AM
  3. Multiple PMOs for multiple Objects
    By Blood_Wist in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 31st May 2008, 01:49 AM
  4. Multiple PMOs for multiple Objects example
    By Blood_Wist in forum File Archive
    Replies: 1
    Last Post: 31st May 2008, 01:48 AM
  5. Sum (multiple alt values, multiple objects)
    By Melvin in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 20th April 2007, 02:00 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
  •