User Tag List

Results 1 to 2 of 2

Thread: movement restriction

  1. #1
    splokk
    Guest

    movement restriction

    Hi, I am a beginner with MMF2.

    I have created a pretty wide frame, and the display is scrolling +1 pixel "always".
    My spaceship has an 8-directions movement and it isn't supposed to move outside the display.
    When I set the event "spaceship leaves play area" -> "movement = stop", the restriction functions okay with the upper and lower edge of the display, but not the left and right edge. When I set the event "compare x/y value equal to left/right/top/bottom edge" -> "movement = stop" it still doesn't work! There has got to be a way for the spaceship to stop at the edges of the display. Please help!

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: movement restriction

    The play area is the frame, not the display. You can get the coordinates of the visible area with X Left Frame, X Right Frame, Y Top Frame, Y Bottom Frame.

Similar Threads

  1. Movement synchronization issues (physics spaceship movement)
    By SecondSons in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 24th January 2014, 10:52 PM
  2. Platform movement on Active objects using Nifflas' basic movement widget
    By ac3raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th October 2012, 02:16 AM
  3. Spaceship movement left and right trought bouncing ball movement instead 8 direction?
    By daryuss in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 22nd May 2012, 09:33 PM
  4. Condition ID restriction
    By James in forum Released Extensions
    Replies: 1
    Last Post: 4th December 2007, 05:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •