bugGnash - The GNU Flash player - Bugs: bug #21588, Bowman hit registered in wrong...


bug #21588: Bowman hit registered in wrong place

Submitted by:  Benjamin Wolsey <bwy>
Submitted on:  Thu Nov 15 08:52:39 2007  
Category: NoneSeverity: 3 - Normal
Release: masterStatus: Confirmed
Privacy: PublicAssigned to: Benjamin Wolsey <bwy>
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Fri Jul 5 13:35:00 2013, comment #8:

Yep, it's the Y being wrong, not the X
(as said by bwy in comment #2)

Sandro Santilli <strk>
Project Member
Fri Jul 5 12:59:18 2013, comment #7:

Hits are still registered some distance under the birds.

Bastiaan Jacques <bjacques>
Project Member
Tue Nov 9 03:13:18 2010, comment #6:

This is the same bug as http://www.juegosfan.com/commando-2, when the aircraft gone, the soldier fall from the house...

Maximiliano Castañón Araneda <maximi89>
Wed Jan 14 11:57:42 2009, comment #5:

The version referred to in this bug report actually has an extra 'bird hunting' game, which still fails. Giving the same treatment to generic_character::pointInShape makes this work as well, but fails some of the HitTest tests (3 XPASS, 2 FAIL).

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Wed Jan 14 11:49:04 2009, comment #4:

Tests welcome.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Wed Jan 14 08:53:46 2009, comment #3:

hitTest apparently ignores _root's transform. I have a fix under test.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Tue Jan 13 16:13:57 2009, comment #2:

This has to do with MovieClip.hitTest. pointInBounds() returns false when it should be true. The problem may be to do with the 'camera' effect, which changes root's _x translation. Anyway, assuming getBounds() is correct, the only possible error is in getWorldMatrix(), as the x and y arguments are passed.

In any case, the hit is registered at the correct height (always the same, I think), but at the wrong x position.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Thu Nov 15 13:20:43 2007, comment #1:

Not sure if it's related, but as_environment's get_variable_raw seems to fail consistently through the movie, leaving lots of undefineds on the stack, some of them apparently having to do with the hit test.

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.
Thu Nov 15 08:52:39 2007, original submission:

bowman.swf (lots of versions on the internet) works pretty well. However, in all games the point where a hit is registered is miles away from where it should be. This version:



has a 'bird hunting' game, where a hit is registered some distance under the birds.

When playing against a computer opponent, you are hit if the arrow lands a short distance behind you, your opponent usually much closer to you than he's drawn.

The opponent's bow also looks strange, but I haven't seen what it looks like on the pp

Benjamin Wolsey <bwy>
Project MemberIn charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by strk (Posted a comment)
  • -unavailable- added by bjacques (Posted a comment)
  • -unavailable- added by maximi89 (Posted a comment)
  • -unavailable- added by bwy (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Jul 5 12:59:18 2013bjacquesReleaseNone=>master
      StatusReady For Test=>Confirmed
    Wed Jan 14 11:49:04 2009bwyStatusNone=>Ready For Test
    Wed Jan 14 08:53:46 2009bwyAssigned toNone=>bwy

    Back to the top

    Powered by Savane 3.1-cleanup1