User Tag List

Results 1 to 7 of 7

Thread: Boss Music/Explosive Death

  1. #1
    Lynel Dart Zaidyer's Avatar
    Join Date
    Apr 2001
    Location
    Rand McNally
    Age
    37
    Posts
    1,943
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,058
    Level
    17
    vBActivity - Bars
    Lv. Percent
    89.21%

    Boss Music/Explosive Death

    I haven't been keeping up with the betas until recently, so I'm not sure if this is entirely possible with a script. Here we go...

    I want a script that will start playing a midi (although I'd prefer alt music, if that's possible yet) when a target enemy is in the room, then defer to the Screen/DMap music when it is dead. (If that can't be done, it could just switch to another midi/alt music selection of my choice.) This will make it easier for me to build boss battle sequences where the fight music stops after you win instead of using screen midis and warp-related trickery.

    I would also like a script that will make the target enemy "explode a lot" like in A Link to the Past before it dies. (Preferably by using harmless tiles instead of actual bomb explosions.) I'm not sure if this is even possible without using FFCs to represent the enemy instead of a plain ol' monster straight from the enemy editor, but I'm willing to try that if necessary.
    ~Dart Zaidyer

  2. #2
    Gibdo beefster09's Avatar
    Join Date
    Mar 2006
    Age
    31
    Posts
    699
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    2,714
    Level
    16
    vBActivity - Bars
    Lv. Percent
    98.44%

    Re: Boss Music/Explosive Death

    For the first: about the closest you can get to that is an enemy indicator light which I implemented a couple days ago. And just use warps. It's easier for the scriptors.

    The second: It's really easy. You can even use 0 Damage explosions so it won't hurt Link. It can even work on normal enemies.
    Avatar: Just who the SPAAAACE do you think I am?

  3. #3
    Lynel Dart Zaidyer's Avatar
    Join Date
    Apr 2001
    Location
    Rand McNally
    Age
    37
    Posts
    1,943
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,058
    Level
    17
    vBActivity - Bars
    Lv. Percent
    89.21%

    Re: Boss Music/Explosive Death

    Alright, now I know this is possible.

    http://www.youtube.com/watch?v=XAGlpcxbhsU

    Jman demonstrates a custom boss that very clearly explodes a lot before it dies. Also, the music changes a couple of times. What's the code for this?
    ~Dart Zaidyer

  4. #4
    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,854
    Level
    25
    vBActivity - Bars
    Lv. Percent
    38.29%

    Re: Boss Music/Explosive Death

    For music:
    Code:
    ffc script BossMusic {
      void run(int music, int music2) {
        Waitframes(5);
        if (Screen->NumNPCs() > 0) {
          Game->PlayMIDI(music);
        }
        while(Screen->NumNPCs() > 0) {
          Waitframe();
        }
        Game->PlayMIDI(music2);
      }
    }
    For explosions, I'll need to know what kind of tiles you're using. 2x2 tile explosions? 1x1?

  5. #5
    Lynel Dart Zaidyer's Avatar
    Join Date
    Apr 2001
    Location
    Rand McNally
    Age
    37
    Posts
    1,943
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    3,058
    Level
    17
    vBActivity - Bars
    Lv. Percent
    89.21%

    Re: Boss Music/Explosive Death

    Ah, that works excellently. Thanks! Didn't know it was that easy. (*cough* most of the functions still seem to be undocumented, or at least hard to look up!)
    For explosions I prefer 2x2.
    ~Dart Zaidyer

  6. #6
    Developer
    ZC Developer
    jman2050's Avatar
    Join Date
    Jun 2001
    Location
    Do you really need to know
    Age
    37
    Posts
    3,883
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    5,713
    Level
    23
    vBActivity - Bars
    Lv. Percent
    46.83%

    Re: Boss Music/Explosive Death

    for the explosions in my video I simply generated a series of exploding weapon sprites in random positions (The DeadState variable is what makes them disappear quickly) and then generated the particles using weapon sprites with radom direction and speed variables.
    AGN's Resident Zelda Classic Developer and Sonic the Hedgehog Fanboy

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

    Re: Boss Music/Explosive Death

    Huh.

    Just got done overhauling Zodiac's SHMUP code to take advantage of some of Gleeok's innovations in Gikarugen (getFFC! Why the FUCKLE didn't I think of that?). Next time I go back to overhaul old code, I'm going to merge some of your insights into using eweapons as explosion graphics into my own scripts, too. Good job, Jman.

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