User Tag List

Results 1 to 4 of 4

Thread: Collisions only in play area.

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Collisions only in play area.

    Okay, say for example, there is a flat platform at the very bottom, unseen from the game screen. They are backdrops with the type obstacle.
    When my player hits this unseen platform on the current screen, he lands on it.

    How can I make it so that the player should NOT land on this backdrop platform until it is visible on the screen?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Collisions only in play area.

    I think the best way to do this might be to turn it around and make sure that the player is on-screen (or below a certain Y position relative to the game window) in your "obstacle collision" events (as you obviously can't apply an event to a background object)... if that works for what you're intending to do.

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Re: Collisions only in play area.

    Okay.

    So I have a player object, and a foot detector object. I think what I need, or needed to do is make this condition.
    '[Foot Detector] Y Position > Y Top Frame + [Foot Detector] Y Position < Y Bottom Frame ' to each of the collision events.

    Is that right?

  4. #4
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Collisions only in play area.

    Yes, I think that should do it.

Similar Threads

  1. Wrapping around play area
    By MangoMan in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 9th December 2011, 02:46 AM
  2. If Object is in the Play Area....
    By Bipolar_Games in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 18th September 2010, 11:59 PM
  3. zooming into the play area x4
    By MediYama in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 26th April 2008, 08:23 PM
  4. Problems with a massive play area
    By Mantoid in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 9th January 2007, 10:40 AM
  5. How to define play area?
    By The Thinker in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th November 2006, 11:23 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
  •