User Tag List

Results 1 to 7 of 7

Thread: Rotate/Scale Sprite parts

  1. #1
    No Products Registered

    Join Date
    Jul 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Rotate/Scale Sprite parts

    I could not find a tutorial on how to rotate and scale sprite parts in my runtime.

    For example if i have a sprite sword and arm parts, how can I get MMF2 to move them as I want?

    Thanks!

  2. #2
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate/Scale Sprite parts

    Well, that would require a great amount of work unless you use the Physix Object (which, judging from your post count, would be extremely difficult).

    But I digress...
    By "Sprite" do you mean active objects or some other object?

    If you mean active objects then you can simply use the active object's angle and scale features.

  3. #3
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate/Scale Sprite parts

    I never used it, but Andos' sticky object is supposed to do that. There must be some examples with it

  4. #4
    No Products Registered

    Join Date
    Jul 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate/Scale Sprite parts

    Thanks. I'll have a look at the topic.

    Now I encountered a problem: Have any of you used the particle spray object? I tried to set it up; but my runtime crashes as long as particle spray is on it.

    Anyone has a clue why that happens?

  5. #5
    Clicker Fusion 2.5 Developer

    Join Date
    Jan 2007
    Location
    USA
    Posts
    691
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate/Scale Sprite parts

    Dunno

    Personally, I hate the particle spray object, mainly because you can do the same thing with more control using actives and a bit of tricky coding. If you want to use a particle extension, use Jamie's Particle Effects extension.

  6. #6
    No Products Registered

    Join Date
    May 2008
    Location
    NSW Australia
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate/Scale Sprite parts

    I believe you can do something like this with hotspots and action points, if I'm understanding this correctly.

    Create an arm object, set the hotspot to where the arm pivots at the shoulder. Set the action point to the place where the hand would grab the sword.

    Always set arm object at body(relative to hot spot)
    Always set sword at arm object (relative to action point)

    Now if you rotate the arm the sword will always stay in the hand! You can also daisy chain multiple objects like this. Don't ask me how to control them though!

    Is this what you were going for?

  7. #7
    No Products Registered

    Join Date
    Jul 2008
    Posts
    28
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Rotate/Scale Sprite parts

    Exactly! Thanks for the little tutorial. Now at least I have a hint on how to glue a character together

    I tried it and it worked. Perhaps I find something in the helpfile that tells me how I get it to move.

    Thanks!

Similar Threads

  1. Rotate and scale using 2 fingers
    By SoftWarewolf in forum iOS Specific Example Files
    Replies: 2
    Last Post: 26th November 2012, 10:41 AM
  2. How do I scale (and/or) rotate an active picture?
    By Aloan in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 9th September 2010, 12:02 PM
  3. Rotate + scale at the same time in Java
    By Czentnar in forum File Archive
    Replies: 2
    Last Post: 4th May 2009, 10:10 AM
  4. [Request]Rotate THEN Scale
    By LazyCoder in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 7th April 2007, 10:12 AM
  5. No conditions for scale/rotate ?
    By Clicktastic in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 1st July 2006, 10:05 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
  •