User Tag List

Results 1 to 9 of 9

Thread: ZC 2.53 Beta 10 8-way homing is bugged.

  1. #1
    Nine-Tailed Goddess Tamamo's Avatar
    Join Date
    May 2011
    Location
    Kobe
    Age
    28
    Posts
    834
    Mentioned
    95 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,165
    Level
    22
    vBActivity - Bars
    Lv. Percent
    46.75%
    Daily Activity
    0%
    Weekly Activity
    0.91%
    Monthly Activity
    4.9%

    ZC 2.53 Beta 10 8-way homing is bugged.

    I created a keese type enemy with bat movement and 255 homing factor to test if the lined up function was bugged. Or if it was something else.
    Here's the result. Link's position is the blue square. The black line is the path of the keese.
    Despite not being lined up diagonally it always follows that path.

  2. #2
    Keese Avataro's Avatar
    Join Date
    Oct 2010
    Posts
    59
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    495
    Level
    8
    vBActivity - Bars
    Lv. Percent
    1.07%
    Daily Activity
    0%
    Weekly Activity
    0.91%
    Monthly Activity
    4.9%
    How would you want it to move instead?
    Beware the power of GANON! Hahaha

  3. #3
    Nine-Tailed Goddess Tamamo's Avatar
    Join Date
    May 2011
    Location
    Kobe
    Age
    28
    Posts
    834
    Mentioned
    95 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,165
    Level
    22
    vBActivity - Bars
    Lv. Percent
    46.75%
    Daily Activity
    0%
    Weekly Activity
    0.91%
    Monthly Activity
    4.9%
    it shouldn't always move diagonally upright. as they are not currently lined up within 15 pixels of the 4 axis or the 4 imaginary diagonal axis.

  4. #4
    The Timelord
    ZC Developer
    ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,147
    Mentioned
    101 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,932
    Level
    19
    vBActivity - Bars
    Lv. Percent
    96.56%
    Daily Activity
    0%
    Weekly Activity
    0.91%
    Monthly Activity
    167.91%
    Good spot. Let me know when you check this.

    For integration, on this, and trap sensitivity, I'll need to add a rule, so that if a quest author depends on this behaviour for some obscure reason, we don't completely wreck their quests. I forsee this being a bigger issue with traps:

    @Anarchy_Balsac Do your quests depend on the present, overly-sensitive, trap sensitivity, or weird enemy homing? I don't want this to turn into another issue, like the statues bugfix.

    @Tamamo I'll also backport whatever you push to 2.54, into 2.53 once it's tested. If you have issues building, to test the change, let me know.

    I have one other thing to do in 2.53, before I was going to call it 'done', so, I may as well roll this into it and knock out b14 as soon as I have free time. I'm working double-time this spring, so that I have all summer to dedicate to ZC. :/


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

  5. #5
    Quest Builder Anarchy_Balsac's Avatar
    Join Date
    Nov 2005
    Posts
    739
    Mentioned
    10 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    2,357
    Level
    15
    vBActivity - Bars
    Lv. Percent
    96.76%
    Daily Activity
    0%
    Weekly Activity
    0.91%
    Monthly Activity
    133.18%
    I don't use traps much, but when I do it's nothing a fix should hurt. The statues thing was only a problem b/c it can make statues do nothing.

    I kinda feel bad about that TBH.

  6. #6
    Nine-Tailed Goddess Tamamo's Avatar
    Join Date
    May 2011
    Location
    Kobe
    Age
    28
    Posts
    834
    Mentioned
    95 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,165
    Level
    22
    vBActivity - Bars
    Lv. Percent
    46.75%
    Daily Activity
    0%
    Weekly Activity
    0.91%
    Monthly Activity
    4.9%
    and few 8dir enemies are even giving homing factor. with the enemy editor they can all have it. But I think gleeok heads are the only ones with it IIRC.

  7. #7
    Keese Avataro's Avatar
    Join Date
    Oct 2010
    Posts
    59
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    495
    Level
    8
    vBActivity - Bars
    Lv. Percent
    1.07%
    Daily Activity
    0%
    Weekly Activity
    0.91%
    Monthly Activity
    4.9%
    I still don't see the bug. You want it to home onto the center of link instead of the upper left corner of link?
    Beware the power of GANON! Hahaha

  8. #8
    Nine-Tailed Goddess Tamamo's Avatar
    Join Date
    May 2011
    Location
    Kobe
    Age
    28
    Posts
    834
    Mentioned
    95 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,165
    Level
    22
    vBActivity - Bars
    Lv. Percent
    46.75%
    Daily Activity
    0%
    Weekly Activity
    0.91%
    Monthly Activity
    4.9%
    It's a bit hard to explain. It has to do with how the homing actually works.
    It's based off whether or not link is within range along either the x or y axis. for 8dir it should change direction only when lined up every 45 degrees. do to the way the lined_up function was written. Because it was always abs(lx-x)-abs(ly-y)<=range. but if link is farther on the y axis then the x axis but not lined up 8way (45 degrees again) then it doesn't matter because it results in a negative number. Similarily it will always result in a positive if link is far enough on the x axis and very close on the y axis to it's relative point.

  9. #9
    Keese Avataro's Avatar
    Join Date
    Oct 2010
    Posts
    59
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    495
    Level
    8
    vBActivity - Bars
    Lv. Percent
    1.07%
    Daily Activity
    0%
    Weekly Activity
    0.91%
    Monthly Activity
    4.9%
    Like this then?


    Or this
    Last edited by Avataro; 03-20-2018 at 06:06 PM.
    Beware the power of GANON! Hahaha

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