User Tag List

Results 1 to 5 of 5

Thread: How to integrate interface hud with scrolling game?

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Aug 2016
    Location
    Utah, USA
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile How to integrate interface hud with scrolling game?

    Hello all those experienced game makers. I continue to work on my game and now I am wondering how the game interface is placed on the frame. Is it put outside of the frame so it doesn't interfere with the gameplay? I made it transparent because as is my ship is going over the interface- that is probably not right. I can't wrap my head around what I am to do to make it so it is separate from the game but part of every frame. I haven't been able to find a tutorial that explains this. Please check out my game and help me understand. Thank you! https://www.dropbox.com/s/drmt18nej9...nterf.mfa?dl=0

  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)
    Layers are just perfect for this, just place your hud graphics on a separate layer
    (on the right you should see the layers toolbar, click on top, in the "new layer" icon)
    anything staying in a layer "above" will be displayed over what's in layers "below"
    (being objects in the layer actives or backdrops)

    then you can set layer x,y coefficients to 0 if using backdrops (to avoid them scrolling)
    or use an active object for GUI and disable "follow the frame" in its properties
    and set layer (or GUI active object, if that's the case) blend coefficient to something above 100 to allow for transparency

    see modified example:

    https://www.dropbox.com/s/5vj18e3tef...ter_1.mfa?dl=0

    the GUI size must be the same of screen size though (I've reduced it a bit in the example)

  3. #3
    Clicker Fusion 2.5 Developer

    Join Date
    Aug 2016
    Location
    Utah, USA
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey thanks salamanderpants and shrodinger! Especially for the example schrodinger! That is so helpful! I haven't entirely finished with the gui, but now I can work on it knowing how it will look and function. Thank you!

  4. #4
    Clicker Fusion 2.5
    Del_Duio's Avatar
    Join Date
    Sep 2008
    Location
    Cygnus X-I
    Posts
    944
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I put my HUD on a layer directly above the main layer, which is almost always an active object set to not follow the frame around.

    Layers are awesome and very very useful. You can even use another one specifically to hold an options menu, Subscreen, etc.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export Module
    Retrobolt's Avatar
    Join Date
    Mar 2016
    Posts
    415
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Also put your characters on a layer above the HUD which will give it a cool retro effect like in mario and Shovel Knight.



    And for fun heres a link to this great shovel knight blog.
    http://www.gamasutra.com/blogs/David...vel_Knight.php

Similar Threads

  1. How to design scrolling interface
    By Drcooper in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 20th August 2017, 03:43 PM
  2. How to integrate Facebook SDK?
    By Alejandro in forum Android Export Module 2.5
    Replies: 0
    Last Post: 26th August 2014, 12:03 PM
  3. Comment fixer une interface dans un scrolling-game
    By Tessier in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 6th January 2012, 01:17 AM
  4. Interface Bar has a Scrolling Bug
    By dragonguy in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 15th October 2008, 04:22 PM
  5. Multiplayer Game Interface
    By grayhuskie53 in forum File Archive
    Replies: 4
    Last Post: 15th September 2007, 10:07 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
  •