User Tag List

Results 1 to 5 of 5

Thread: How do I make a building become invisible?

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module
    Eagi's Avatar
    Join Date
    Feb 2012
    Location
    Eskilstuna, Sweden
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do I make a building become invisible?

    Hi I'm making my first Rpg in MMF2
    as you can see below I have an Idea on how I want the interaction with buildings to work.
    If you walk in front of a building I would like it to act as a background not obstructing the player.
    But if you walk around back it would be cool if the outline of the building would disappear and only
    leave the base as a marker of where you cant walk. Is there an easy way to achieve this or should
    I rethink my layout?

    I was thinking something along the lines of making a separate object of the base that is used as an
    obstacle and then making the outline into an active object that will go invisible when you step onto
    the area that represent the backside of the building. Would this work or do you have a better
    suggestion?

    Thank you all // Ed

    line of sight.jpg

  2. #2
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-on
    iamjot's Avatar
    Join Date
    Nov 2008
    Location
    Austria
    Posts
    728
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As I understand your idea - i guess i would do it the same: 1 object as a physically object with collision. 1 for the graphics. When getting close to the roof (or whatever you want to have) I would change the transparency / alpha value in a smooth way till it gets 100 percent transparenc (every 4ms alpha of object -1). But I dont know if I understood your problem.
    best
    Jot

  3. #3
    Clicker Multimedia Fusion 2SWF Export Module
    Eagi's Avatar
    Join Date
    Feb 2012
    Location
    Eskilstuna, Sweden
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not really a problem yet, I'm totally new to this, and haven't learnt even the basics yet. So I'm mostly looking for conformation of whether my design ideas are feasible or not.

    Tank you for the tip, about gradual transparency I might get back to you for aid when the time comes

  4. #4
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Apr 2009
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Eagi View Post
    Not really a problem yet, I'm totally new to this, and haven't learnt even the basics yet. So I'm mostly looking for conformation of whether my design ideas are feasible or not.

    Tank you for the tip, about gradual transparency I might get back to you for aid when the time comes
    I've included a simple example file below of what you do to change the semi transparency. It's very simple so you should get the hang of it right away.

    iamjot's method is much nicer but the example I'm showing is just a basic fade to get you started. Rather than fading away, the building simply goes semi-transparent so you can still see the building but also the character through it. There's a plain black tile dumped underneath this which is then seen when the house goes semi transparent.

    If you want no outline at all, you can just change the semi-transparency to it's full value of 128 or just make the house invisible.
    :3

    Take a look at the events in the example attached.
    Attached files Attached files

  5. #5
    Clicker Multimedia Fusion 2SWF Export Module
    Eagi's Avatar
    Join Date
    Feb 2012
    Location
    Eskilstuna, Sweden
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks! really nice instructions, hard to believe how helpful everyone is around here.

Similar Threads

  1. How do you make an invisible button?
    By UnicornMan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th September 2013, 02:44 AM
  2. How to make an ini invisible?
    By XStar in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 28th March 2012, 11:55 PM
  3. make layer visible/invisible?
    By Iwantmyrpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th September 2009, 11:39 PM
  4. How to make invisible objstacles.
    By fenrich in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 20th February 2009, 02:57 PM
  5. Invisible Sub App...o.O?
    By Martin_Bodger in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th July 2008, 04:14 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
  •