User Tag List

Results 1 to 10 of 10

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

  1. #1
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%

    Sick Bug 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
    64
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    742
    Level
    9
    vBActivity - Bars
    Lv. Percent
    58.14%
    How would you want it to move instead?
    Beware the power of GANON! Hahaha

  3. #3
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    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
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,781
    Level
    21
    vBActivity - Bars
    Lv. Percent
    73.06%
    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. :/

  5. #5
    Quest Builder Anarchy_Balsac's Avatar
    Join Date
    Nov 2005
    Posts
    751
    Mentioned
    11 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    2,612
    Level
    16
    vBActivity - Bars
    Lv. Percent
    69.57%
    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
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    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
    64
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    742
    Level
    9
    vBActivity - Bars
    Lv. Percent
    58.14%
    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
    Here lies mero. Died by his own dumbassitude.
    Join Date
    May 2011
    Posts
    929
    Mentioned
    102 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    5,527
    Level
    23
    vBActivity - Bars
    Lv. Percent
    13.96%
    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
    64
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    742
    Level
    9
    vBActivity - Bars
    Lv. Percent
    58.14%
    Like this then?


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

  10. #10
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,781
    Level
    21
    vBActivity - Bars
    Lv. Percent
    73.06%
    This should be patched in all branches. Could use a re-test.

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