User Tag List

Results 1 to 7 of 7

Thread: Player Not Stopping

  1. #1
    No Products Registered

    Join Date
    Nov 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Player Not Stopping

    This is probably a simple problem, but I can't figure it out.

    I want my Player1 to stop when he runs into an object -- "brick" -- but only when its internal flag is off. The way I have the programming right now is: If "bricks internal flag is off" and "Player1 collides with brick" then "Player1 stops"

    With this programming he doesn't stop, but he does slow down. It almost seems like he is stopping at every line of pixels but after stopping continues to go through.

    Any help is appreciated.

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wnhat movement type are you using?

  3. #3
    No Products Registered

    Join Date
    Nov 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have Eight-direction movement on Player1

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think the only situation where the 'Stop' command really works ( for hindering movement through a solid mass or obstacle ), is when you use it with the event 'Active collides with background'.

    ...
    If you want an Active Object to be able to collide with a Backdrop Object, you simply do:

    Active collides with Backdrop
    --> Active movement stop

    If you are using Actives and not Backdrops as obstacles, its not as easy as this.

    ...
    Im not sure exactly what you are trying to do, but i will give you a suggestion wich might put you on the right track here:

    ( 1 )
    Give your Player Active 2 Alterable Values Values:
    MemoryX_
    MemoryY_

    ( 2 )
    In the Event Editor do:

    Player is 'not' overlapping Brick
    - Player set MemoryX_ to Playe X possition
    - Player set MemoryY_ to Playe Y possition

    Player is overlapping Brick
    + Brick Flag0 is OFF
    - Player set X possition to MemoryX_
    - Player set Y possition to MemoryY_

    ...
    This solution will works, but will not be perfect. ( basically because all game mechanics are different and i dont know how yours work )
    Depending on how your game mechanics work, you will be able to tweek this method and move stuff around ( Events in the Event Editor ) untill it works perfectly or satisfactory.

  5. #5
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    If you want to "stop" the user from having control over your player, use "ignore control" under Player 1 in the event editor.

  6. #6
    No Products Registered

    Join Date
    Nov 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I got it working!

    Thanks for the help guys!

  7. #7
    Clicker Fusion 2.5 DeveloperiOS Export Module
    ChrisBurrows's Avatar
    Join Date
    May 2011
    Location
    Tasmania, Australia
    Posts
    622
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Well done. You are awesome man iamawesomeman.

Similar Threads

  1. Why are all objects stopping?
    By jfisher446 in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 17th April 2013, 10:37 AM
  2. Stopping the Timer
    By Connors_Friend in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 25th October 2011, 03:27 PM
  3. Stopping Timer
    By Connors_Friend in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 14th October 2011, 03:19 PM
  4. Stopping help
    By warriorcat3 in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd September 2009, 11:24 PM
  5. Stopping an object
    By Stephen38 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd January 2007, 01:08 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
  •