User Tag List

Results 1 to 3 of 3

Thread: Illusionary Combo

  1. #1
    Developer
    ZC Developer

    Join Date
    Aug 2006
    Location
    Australia
    Age
    37
    Posts
    2,777
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    6,851
    Level
    25
    vBActivity - Bars
    Lv. Percent
    37.77%

    Illusionary Combo

    ...a.k.a the Glamour script.
    Code:
    //
    // "Glamour"
    // When the seemingly solid FFC is approached, it turns translucent and fades away.
    // Flags:
    // * Run Script on Screen Init
    //
    ffc script Glamour {
      void run() {
        // First: hide the combo underneath while scrolling in.
        int combo = ComboAt(this->X, this->Y);
        int under = Screen->ComboD[combo];
        Screen->ComboD[combo] = this->Data;
        Waitframe();
        Screen->ComboD[combo] = under;
    
        // Next: the trickery.
        while (true) {
          Waitframe();
          this->Flags[FFCF_CHANGER] = (Abs(this->X - Link->X) < 10 && Abs(this->Y - Link->Y) < 15);
          this->Flags[FFCF_TRANS] = (Abs(this->X - Link->X+8) < 20 && Abs(this->Y - Link->Y+8) < 25);
        }
      }
    }
    Tuning: Replace "10", "15", "20" and "25" with larger numbers to increase the radius of the effect.

    Ideas for usage:

    * Attach to an FFC that has the appearance of a solid block. When Link walks right next to the block, it turns translucent, then vanishes.
    * Attach to an FFC that has the appearance of a floor tile, and place it over a spiked combo. Link won't be able to see the spikes until he walks just next to them.

  2. #2
    Wizrobe
    Join Date
    Dec 2006
    Age
    29
    Posts
    3,693
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    8,936
    Level
    28
    vBActivity - Bars
    Lv. Percent
    43.02%

    Re: Illusionary Combo

    Neat. But would it be possible to make it where the lens of truth sees through the fake combo?
    Quote Originally Posted by rock_nog View Post
    Well of course eveything's closed for Easter - don't you know of the great Easter tradition of people barricading themselves up to protect themselves from the return of Zombie Christ?


  3. #3
    Wizrobe C-Dawg's Avatar
    Join Date
    Jan 2002
    Posts
    4,205
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    6,612
    Level
    24
    vBActivity - Bars
    Lv. Percent
    99.97%

    Re: Illusionary Combo

    I love this. Simple, elegant. Lends itself well to a quest designer figuring out something interesting to do with it. For example, carrying the lantern through a dark room.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social