User Tag List

Results 1 to 4 of 4

Thread: how to do an infinite loop scenery?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module

    Join Date
    Apr 2014
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to do an infinite loop scenery?

    xHello guys!

    I have a huge doubt about to make scenery loops. For ex.: A zombie tsunami's (https://www.youtube.com/watch?v=aDmI4fZpBNo) style of game. But really have no ideia how to do it properly. I'm sorry if there's already another topic open for this purpose, but I can't find it here. Thanks!

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,159
    Mentioned
    28 Post(s)
    Tagged
    1 Thread(s)
    There are many ways to accomplish that.
    Easiest one (imo), also open to creation "randomness" (for which I have a particular predilection )
    could be dividing the scenery in big active "slices", giving each slice a peculiar name, and adding that names to a list object.

    Then, after setting up slices scrolling, you coud check when a slice has completely entered your frame (right side got in),
    then create object by name - pick a name at random from the slices list.
    That would be infinite and random.

    Obviously, if undesired, you could get rid of randomness just by making an ordered list and reading it increasingly.

  3. #3
    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)
    Parallaxing:

    Create a new mfa at 320 x 240.

    Click on frame 1, click "settings," and set the "virtual width" to 10000. Insert an Active Object and set it's movement properties to "eight directions."

    In the event editor, set the condition Always: Storyboard Controls -> Scrollings -> Center Window Position in Frame -> Relative to -> Active Object

    You should be able to run this and see a 10000 pixel horizontal scrolling app in a 320 pixel area.


    Ctrl+K to bring up the "layers" toolbar. Click the folded paper icon to add a new layer.

    Click the new layer and add a "quick backdrop," set it to motif in its properties, and set it to a random width and a height of 240. Click the layer and select "wrap horizontally." Then change its x-coefficient to something between 0 and 1 (like 0.75, 0.23, etc).

    Continue to add layers in this fashion ad nauseam.

    Make sure your active object layer is the foreground layer #1, but drag your layers around to see how it works.
    Attached files Attached files

  4. #4
    No Products Registered

    Join Date
    Apr 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here's a great tutorial for this kind of game !

    https://www.youtube.com/watch?v=I05TDijQx-Q

Similar Threads

  1. spawned objects develop collsion issues with scenery
    By mikky_mik in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th March 2015, 12:53 AM
  2. Replies: 7
    Last Post: 25th December 2012, 11:26 AM
  3. Switching background scenery during runtime
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 25th March 2011, 06:21 PM
  4. fast loop and loop index
    By willow in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 18th May 2010, 01:43 AM
  5. Bug: Infinite Loop & Memory problem
    By netninja in forum File Archive
    Replies: 6
    Last Post: 26th October 2008, 08: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
  •