User Tag List

Results 1 to 3 of 3

Thread: Question: camera scrolling yMouse

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2014
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question: camera scrolling yMouse

    Hi,

    I#ve read the bad news about firefly support at the moment, but i thought maybe an advanced user can help me, too.

    Can someone explain me how to scroll the camera if my mouse is at the edge of the window for y-position?
    I managed it for x-position, but how to translate y-position to z-dimension.

    What i have done?

    I've created events for xmouse and ymouse.
    For example:
    If xMouse <= 20 -> set XCoordinate to position of "Camera" + 1 -> that worked!

    Furthermore i have set a target:
    Always -> set target to absoluteXPosition (X=CameraX,0,0)

    How to achieve this for "If yMouse <= 20" ?


    Has someone an idea what i could try?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    Posts
    373
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    it should be the same - just remember that y starts at the bottom not the top

    so you need to reverse it

    so If yMouse <= 20 -> set YCoordinate to position of "Camera" - 1

    checkout the rts demo from https://community.clickteam.com/threads/103164-How-can-i-make-an-RTS-camera

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Jul 2014
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I saw your demo that helped me, but my camera angle is not 90degree.
    In the end I managed it *sigh*.

Similar Threads

  1. Smooth Camera Scrolling Mario Style Question
    By render8 in forum Fusion 2.5
    Replies: 1
    Last Post: 28th May 2016, 02:03 AM
  2. Scrolling Camera
    By Emerson3 in forum Fusion 2.5
    Replies: 5
    Last Post: 18th July 2014, 10:32 PM
  3. Camera scrolling
    By Dmsds in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 31st July 2011, 08:12 PM
  4. Camera Scrolling Help
    By N64Mario in forum Multimedia Fusion 2 - Technical Support
    Replies: 13
    Last Post: 4th September 2009, 04:07 AM
  5. Help with Camera Scrolling for Side-Scrolling
    By ThatOtherGuy in forum File Archive
    Replies: 4
    Last Post: 29th August 2009, 10:38 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
  •