User Tag List

Results 1 to 6 of 6

Thread: Leaving the play area (problem)

  1. #1
    No Products Registered

    Join Date
    Oct 2006
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Leaving the play area (problem)

    Hello all!

    I'm testing my alley cat 2 game and sometimes the cat leaves the play area and disappears. I have set:

    When the cat leaves the play area -----> the cat stop/bounce

    but I don't know why it doesn't fix the problem.

    How can I do to force the cat to remain always in the screen?

    Thanks

  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: Leaving the play area (problem)

    It depends on how you're moving the player object, but to make certain that the object doesn't move out of the screen, I'd set up the events to position it back in the screen directly:

    + X Left("Cat") < 0
    -> Set X position of "Cat" to 0

    + X Right("Cat") > Frame Width
    -> Set X position of "Cat" to Frame Width

    And similar events for the Y co-ordinates... the actual values you check against will depend on the size, shape, etc. of the cat.

  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Leaving the play area (problem)

    To move the cat I use the platform movements in mmf2. However I don't know why sometime it goes out the screen even if I set:

    When the cat leaves the play area -----> the cat stop/bounce

  4. #4
    No Products Registered

    Join Date
    Nov 2006
    Posts
    38
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Leaving the play area (problem)

    I've also had little success with the "Test object position" events, like leaving the play area. How are these supposed to work? Also do similar events, such as destroy an object when they leave the play area, and they don't work. Is this something being addressed or are we doing something wrong?

    Thanks for your time, and sorry if this is something that's already been talked about.

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Leaving the play area (problem)

    Maybe is it a mmf2 bug?

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Leaving the play area (problem)

    Test position does not work? THis maybe one of the most tested part of MMF. Can you send me an example where it does not work?

Similar Threads

  1. 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
  2. Player leaves play area problem
    By Worf in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th December 2009, 10:27 PM
  3. Collisions only in play area.
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th September 2009, 09:03 PM
  4. 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
  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
  •