User Tag List

Results 1 to 5 of 5

Thread: Scroll around using w, a, s, d

  1. #1
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Scroll around using w, a, s, d

    Hello so I want to scroll around the screen with WASD. The frame always centers at a active object I created.
    When you press "W" the object needs to teleport to the top of the frame and then do X-5 But how can I get the coords of the top of the frame?
    It is hard to explain this but my goal is to use WASD to scroll around the screen I hope someone can help me with that.
    Thanks!

  2. #2
    Clicker Fusion 2.5Android Export ModuleSWF Export Module
    Ziplock's Avatar
    Join Date
    Oct 2013
    Posts
    448
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you asking how scrolling works or how to set the keys to make your object move? There are lots of tutorials for both.

  3. #3
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)

    Join Date
    Dec 2013
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know about both how scrolling works and how to move objects.
    What I need is if you press "W" you scroll up and when you press "S" you scroll down.

  4. #4
    No Products Registered

    Join Date
    Nov 2013
    Posts
    97
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you want the top, left, right and bottom of the screen?

    Set X position to _
    Set Y position to _

    _ for x means Storyboard-->Frame-->x of left visible edge or x of right visible edge

    _ for x means Storyboard-->Frame-->y of top visible edge or y of bottom visible edge

    Edit:
    not exactly sure I understood your question, but those 4 are the ways to get the 4 edges of the screen. hope that helps

  5. #5
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The easiest way to do this is to just put your Camera active at the center of the screen and give it an eight directions movement. You can set it as player 2, 3, or 4 if the others are used up, and in the application properties you can change the keys for that player to be wasd instead of arrows. Then just always center scrolling to 0,0 from your Camera active. You can disable Visible at Start in its runtime properties.

Similar Threads

  1. Ranged number with bias toward the middle
    By Azure in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 7th December 2012, 09:01 PM
  2. That middle mouse button
    By ac3raven in forum Multimedia Fusion 2 - Technical Support
    Replies: 16
    Last Post: 9th August 2010, 10:55 PM
  3. Middle mouse button
    By Fanotherpg in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 8th March 2010, 08:47 AM
  4. Add Backdrop goes nuts in middle of a fastloop
    By chrilley in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 3rd January 2010, 06:03 PM
  5. Looping music from the middle point?
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 30th December 2008, 06:48 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
  •