User Tag List

Results 1 to 7 of 7

Thread: Changing the background colour of the level

  1. #1
    No Products Registered

    Join Date
    Jun 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Changing the background colour of the level

    Is it possible to do this during the runtime? I can't seem to find any option to do it. I can't just have a big block of colour in the background that changes colour because it will slow my game down immensly.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing the background colour of the level

    Put in the background a "Background System Box". It'll not slow down your game (only a little for changing color and for event editor but it's not a great performance hit).

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall 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
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Changing the background colour of the level

    Or you could use the "clear screen" action with the Storyboard control. Follow this by the Fast Loop Object's "redraw frame" action. Note: It will get rid of any backdrops on Layer 1.
    .:::.Joshtek.:::.

  4. #4
    No Products Registered

    Join Date
    Jun 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing the background colour of the level

    Ok I'm doing this 'background box' method. In the event editor I can set the fill colour to a numerical value. How do I know what number corresponds to what colour??

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall 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
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Changing the background colour of the level

    [] How do I know what number corresponds to what colour?? [/]
    GetRGB(red, green, blue). For example: GetRGB(255, 0, 0) is red; GetRGB(0, 255, 0) is green; GetRGB(0, 0, 255) is blue; GetRGB(255, 255, 0) is yellow.

    This is also explained in the help documentation. [The objects->Inventory->Interface objects->The System Box Object->Actions]
    .:::.Joshtek.:::.

  6. #6
    No Products Registered

    Join Date
    Jun 2006
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing the background colour of the level

    Ok thanks for the help so far. I can set the background object to a colour now. However, I want it to slowly fade to one colour and back again. Is there any way I can do this?

    EDIT: On top of this question, is there a way I can make a layer slowly fade in and out? as that would be a much easier way of doing it!

  7. #7
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Changing the background colour of the level

    Since you enter color with number in runtime, you can calculate a gradient to the color you want.

Similar Threads

  1. Replies: 4
    Last Post: 27th August 2012, 08:34 AM
  2. Transition background Colour Problem
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 8
    Last Post: 8th December 2011, 02:02 PM
  3. Colour Changing
    By Red_Giant in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 5th September 2009, 10:10 PM
  4. Colour Changing Question
    By McPhisto in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 31st January 2007, 04:05 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
  •