User Tag List

Results 1 to 5 of 5

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

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #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,464
    Level
    12
    vBActivity - Bars
    Lv. Percent
    95.39%
    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.

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