User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: Creating Objects Question

  1. #1
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Creating Objects Question

    This is related to this post.

    -Variant
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Objects Question

    Your problem is you are assigning the red block a position before you create it. Since you didnt refer to the red block before, there is no specific selection, so MMF2 selects all of the red blocks. When you create a red block first, it knows that the one you just modified is the selected one, and it will apply any post-actions upon the red block only to the selected one.

    Basically, you are assigning positions to an object that doesn't exist.

  3. #3
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Objects Question

    Here is a grenade throwing example from that Sketchy guy, press SPACEBAR very quickly while constantly pressing the left and right arrows and watch what happens to some of the falling objects.

    -Variant
    Attached files Attached files

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Objects Question

    There's nothing wrong with that at all. That's a very nice engine, I even changed the "Upon pressing space" to "Repeat while pressing space" and it functioned 100%. It won't overload, I promise.

  5. #5
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Objects Question

    You didn't see those random falling objects coming from the sky in the example?

    -Variant

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Objects Question

    In the first example, yes.

    In your grenade one, no.

    And the events show that the first one should, and the second one shouldn't.

  7. #7
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Objects Question

    Did you press the SPACEBAR and the left and right arrow keys as fast as you possibly can, because I am positive I am seeing objects fall from the sky? Try to press SPACEBAR and the left and right arrow keys at the same time (in the grenade example).

    -Variant

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Objects Question

    Nope. But when I switched over to Repeat while pressing space, I noticed some shift in the object's path, so theres something weird with the movement that might be causing bugs.

    EDIT: You have the player moving, then being reset back to one position. That's a pretty crappy way to go about doing that. You either have custom movement or you don't. I don't recommend mixing them like that.

  9. #9
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Objects Question

    That's what I'm seeing, thank you for finally seeing it!!! That little "bug" will really screw up my game if something like that would happen, it's a flawless example, but I don't understand why it does that.

    -Variant

  10. #10
    No Products Registered

    Join Date
    Oct 2009
    Posts
    480
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Creating Objects Question

    I didn't rig it like that on purpose I just wanted to get the guy to stand still. Does it work perfectly without the "custom movement" stuff?

    -Variant

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Creating objects.
    By XStar in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 13th August 2012, 11:55 PM
  2. Objects creating a line of objects to an obstacle
    By Corlen in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 15th March 2012, 08:22 PM
  3. Creating multiple objects in a fastloop question..
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 31st January 2009, 10:39 PM
  4. Creating objects...
    By vertigoelectric in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 30th January 2009, 02:35 PM
  5. Question about creating new objects..
    By haora in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 22nd November 2006, 10:30 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
  •