User Tag List

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

Thread: Z order for an rpg -need help

  1. #1
    No Products Registered

    Join Date
    Sep 2006
    Location
    Greece
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Z order for an rpg -need help

    Can anyone help?
    I'm making a SNES-style rpg, and I want my obstacles (backdrop objects) on a layer above the player character, so that she can pass behind them. Obstacle collissions have been solved by an invisible detector on another layer.
    My problem is making the player character go *in front* of these backdrop images.

    I *could* make all my obstacles active objects, but wouldn't that require loads of memory and cpu power?

    thanks in advance..

    file is here: Download

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Z order for an rpg -need help

    The best way is to make anything you can walk behind into an active object, and use the layer object's sort by Y pos function.

  3. #3
    No Products Registered

    Join Date
    Sep 2006
    Location
    Greece
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Z order for an rpg -need help

    is this really how they programmed it in, say, pokemon or Tales of Phantasia?... Won't it make a huge difference in performance?

  4. #4
    No Products Registered

    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Z order for an rpg -need help

    I turn background objects that need to be positioned in front of active objects into active objects because I don’t know any better and because I don’t see any noticeable difference in speed.

  5. #5
    No Products Registered

    Join Date
    Sep 2006
    Location
    Greece
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Z order for an rpg -need help

    cool then!

    thanks to both of you!!

  6. #6
    No Products Registered

    Join Date
    Jun 2007
    Location
    Scotland
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Z order for an rpg -need help

    Also as an extremely competent visual artist, you will be tempted to add a bit of animation to your active background objects. It’s so hard to resist that extra bit of movement! − and extra work!

  7. #7
    No Products Registered

    Join Date
    Sep 2006
    Location
    Greece
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Z order for an rpg -need help

    that's so nice of you mico!

    and yes it's hard to stop sometimes...

  8. #8
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    Alonso's Avatar
    Join Date
    Jul 2006
    Posts
    681
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Z order for an rpg -need help

    I is rather inefficient to have your bg's be huge actives. Instead (what I do, at least), have the bg's repeated twice--one in the original layer, being behind the player. The other, in an invisible layer in front of the player sprites. For small objects, yes, use actives or active box objects.

    [Edit] Obviously, whenever you want the player to be behind the backgrounds, make the 2nd layer visible.

  9. #9
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Z order for an rpg -need help

    Quote Originally Posted by Christina
    is this really how they programmed it in, say, pokemon or Tales of Phantasia?... Won't it make a huge difference in performance?
    IIRC in pokemon they made the walls so that you could never walk over and under the same tile. i.e. the walls were all at least as thick as you were tall.

  10. #10
    No Products Registered

    Join Date
    Sep 2006
    Location
    Greece
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Z order for an rpg -need help

    awesome you guys.
    Cool piece of info this one

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Order important for this ?
    By Perry in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th December 2013, 01:36 AM
  2. Order by Value
    By Verbage in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 21st June 2012, 08:47 PM
  3. order
    By sid in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th April 2012, 07:57 PM
  4. Pls help with Event order
    By Jaeu in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th January 2008, 09:36 AM
  5. About to order
    By Krush_Brother in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 27th November 2007, 05:01 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
  •