User Tag List

Results 1 to 7 of 7

Thread: Is it possible to...?

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Is it possible to...?

    Hi everyone,
    Is it possible to have a certain animation play ONLY when you are pushing against a wall and to stop your movement when you are pushing against the wall. Also, when you let go of the arrow keys it has to be able to restore the animations back to stopped. I'm kind of new to this software so I'm not sure if it is possible to do, but I have all of the updates and expansions. Thanks for your cooperation.

    Sincerely,
    RagingTiger

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export Module
    Tiny's Avatar
    Join Date
    Jul 2006
    Location
    Sweden
    Posts
    598
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to...?

    Yes you can do this.

    For example, something like this should work:
    in an Active object (AO) you can have several animations (directions).
    In event editor you write:

    AO collides with "wall" & keyboard key "arrow up" is pressed

    Under the AO on same line you select 'change animation to "animNameHere"'

    Then you can Negate the 'keyboard key "arrow up" is pressed' > change animation to "stop"

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to...?

    =( I tried it, but it doesn't work. He plays the animation for a split second and then switches back to stop. Also, he doesn't stop when he collides with the wall. He just plays the animation "push" and goes straight through the wall. Sorry it didn't work. Any more suggestions? This video game maker program is probably just not capable of doing this...

  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to...?

    Sure it can... If you don't use the built-in movements...

  5. #5
    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: Is it possible to...?

    []This video game maker program is probably just not capable of doing this... [/]

    Not what you want to say on this forum! <img src="/center/images/graemlins/wink.gif" alt="" />

    It's definitely possible, but may be more difficult than it seems at first - using a custom movement will definitely help, because that gives you more control over the animations played by your object, rather than having the built-in engine handle them.

    You need to have a condition that checks whether the player is next to a wall and heading towards it (possibly using a couple of detector objects), and as a result stop and play the Pushing animation.

    I'll do it myself if you like. Hang on.

  6. #6
    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: Is it possible to...?

    OK, here it is.

    http://clickteam.com/center/showflat.php/Cat/0/Number/14662/an/0/page/0#Post14662

    Pretty much all animation/objects are coloured squares, as that's how all my projects start off - walking/stopped is represented by the player object being coloured blue, and "pushing" by being coloured yellow.

  7. #7
    No Products Registered

    Join Date
    Jul 2006
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Is it possible to...?

    yes it works... thank you very much!

Posting Permissions

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