User Tag List

Results 1 to 4 of 4

Thread: Create object using co-ordinates from a counter?

  1. #1
    No Products Registered

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

    Create object using co-ordinates from a counter?

    Hi,
    I was wondering if, when you create an object, there is a way to have the object appear at a variable piont (such as the value of an ini or a counter) rather than using the co-ordinate editor?

    Cheers,
    James


    [obj_create]

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Create object using co-ordinates from a counte

    You have to create the object first and then set its position through separate events. Example of creating an object at the position of the mouse:
    [events:32]
    * [obj_mousekb] User clicks left mouse button
    - [obj_create] Create object slightly offscreen
    - [obj_active] Set X position (co-ordinates) of object to xmouse
    - [obj_active] Set Y position (co-ordinates) of object to ymouse
    [/events]
    .:::.Joshtek.:::.

  3. #3
    No Products Registered

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

    Re: Create object using co-ordinates from a counte

    Hi,
    I'm not sure that would work, I will try it .
    What I am trying to do is load the positions of many objects in quick succession, and I think that might make all the ojects go into the same position.
    Cheers,
    James

    EDIT: Tried it as the example shown in your post and it appears to work... I'll try it with my application.

    ANOTHER EDIT: It doesnt work in my app but I think its a problem reading the INI.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Create object using co-ordinates from a counte

    Time for another issue of Strange But True: Click Edition, bringing you the fun quirks which make MMF2 an interesting tool to use.

    Trying to create and move multiple instances of an object in one event will not work. They will both end up with the same position. Creating multiple objects is fine, but if you use actions to move one then actions to move another then it'll move both of them to the second location.
    .:::.Joshtek.:::.

Similar Threads

  1. Counter object bug
    By Jymswiss in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 23rd April 2013, 06:51 PM
  2. Fix a Counter Object
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th April 2010, 05:11 PM
  3. saving and loading grid co-ordinates at runtime
    By uprize in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 23rd February 2009, 06:29 AM
  4. Counter Object BUG!!!
    By Casper1989 in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 15th July 2006, 10:34 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
  •