User Tag List

Results 1 to 5 of 5

Thread: (repost) Statues fire on you even when in safe zone

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Floormaster Imzogelmo's Avatar
    Join Date
    Sep 2005
    Location
    Earth, currently
    Age
    45
    Posts
    387
    Mentioned
    7 Post(s)
    Tagged
    3 Thread(s)
    vBActivity - Stats
    Points
    1,465
    Level
    12
    vBActivity - Bars
    Lv. Percent
    95.84%
    Just finished an in-depth study of this. It turns out that my picture above is best interpreted by taking the center of Link's position, which would shift my squares down and right by 8 pixels each. From that, you can see that the safe zones are centered on the mouths of the statues (which are in different places for the two types) and extend 24 pixels in each direction, for a 48x48 (or 49x49, not certain there) pixel safe zone for each.

    Just wanted to put it down for future reference.

    EDIT: A related note: The NES aiming of the fireballs is not as accurate as ZC's, which means there are places you can stand (outside the safe zones) where a statue will fire at you all day and never hit you. Not sure on the algorithm yet.

    EDIT 2: By making a visible shooter enemy, I have discovered that the spawned shooter enemies are not centered on the statues, but rather on the mouths of them. So, this becomes even easier to fix. As the Shooter enemy is offset from the statue, in the same way is the safe zone. If Link's sprite is anywhere within 16 pixels (one tile) of the shooter enemy, then it will not fire (on the NES).

    IOW, if the center point of Link falls inside any of the 48x48 pixel zone which is centered on the shooter enemy, it won't fire. Think of it as a hitbox that is larger than the "monster", and causes no damage if touched.
    Last edited by Imzogelmo; 08-16-2011 at 04:37 PM.

  2. #2
    Floormaster Imzogelmo's Avatar
    Join Date
    Sep 2005
    Location
    Earth, currently
    Age
    45
    Posts
    387
    Mentioned
    7 Post(s)
    Tagged
    3 Thread(s)
    vBActivity - Stats
    Points
    1,465
    Level
    12
    vBActivity - Bars
    Lv. Percent
    95.84%
    2.5 is soon to be final. I have a modified version of Saffith's homing fireball script that can mimic the exact behavior (including 16ths of a circle firing angle) of the NES version. Uses ghost.zh.

  3. #3
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,962
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.6%
    This actually always bugged me a little so I might take a look at it.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  4. #4
    Floormaster Imzogelmo's Avatar
    Join Date
    Sep 2005
    Location
    Earth, currently
    Age
    45
    Posts
    387
    Mentioned
    7 Post(s)
    Tagged
    3 Thread(s)
    vBActivity - Stats
    Points
    1,465
    Level
    12
    vBActivity - Bars
    Lv. Percent
    95.84%
    If you do, it's a fairly easy fix via script. I'm sure you've seen Saffith's homing fireball shooter enemy. I can show you my modifications to it if that helps (not that it's that complicated). In my "fix" I just replace the shooter with a scripted one and set the parameters accordingly (the original game can only fire in 1/16's of a revolution, for instance). I had fun playing with that one--1/3 of a revolution results in a funny looking firing arc. :)

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