User Tag List

Results 1 to 3 of 3

Thread: Move sprite in a continuous side scrolling

  1. #1
    Clicker Fusion 2.5 (Steam)
    Junix's Avatar
    Join Date
    Jul 2017
    Location
    Rio de Janeiro - Brazil
    Posts
    8
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Move sprite in a continuous side scrolling

    Hey guys,

    I'm trying to move my sprite in a continuous scrolling background, as you can see on video below.
    https://youtu.be/3gZqz4dG7Tw

    I have a few conditions:
    - follow the X mountain position (always)
    - path movement:
    unknown.png

    Those 'Always' is changing the X tank position making it impossible to move the path, so it looks like the tank is drifting...
    I have no idea how to make this movement better/smooth/fluid.
    Some tip?

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Location
    Western Cape, SA
    Posts
    516
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Can you upload an example .mfa rather than a video?

    You should only have to tell it once to follow the path - and then code in what should happen when it reaches the end of the path - i.e. start again.

    Also you can build your own path with markers and move the tank from marker to the next marker - that will give a continuous movement - do you have to use a path movement?

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall CreatorInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Aug 2006
    Location
    France
    Posts
    1,158
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hello you can work with layer object an change the layer position

    * Every 00''-17
    Layer object : Set X layer lyrGetLayerName$( "Layer object", 2 ) to lyrGetLayerXPos( "Layer object", 2 ) - 1

Similar Threads

  1. Move cursor to right side of text...
    By KLiK-iT in forum Fusion 2.5
    Replies: 3
    Last Post: 23rd March 2016, 05:30 AM
  2. Help with Camera Scrolling for Side-Scrolling
    By ThatOtherGuy in forum File Archive
    Replies: 4
    Last Post: 29th August 2009, 10:38 PM
  3. How to move to the other side when collide?
    By 7Heroes in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th July 2009, 12:05 AM
  4. Continuous scrolling screen (no edges)
    By JoshHarris in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 19th March 2008, 05:10 PM
  5. Side scrolling
    By Tommy in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th December 2006, 05:04 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
  •