Fast Bullets - going through targets.


Attached Files

The following files have been attached to this tutorial:



Download now 174.61 KB


2,314 visits, 4,278 views



This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

If I understand it correctly - sometimes when you have a fast moving bullet it can jump through its target and not register it as a hit.

Say your bullet is 5 pixels long but is travelling at 20 pixels a frame and your target happens to be in that gap of 15 pixels ? No hit !

Just been playing with this problem and came up with the idea of firing either

a second longer (and invisible) bullet which would give you a better chance of catching the target


altering your bullet to make it have a long empty space trailing behind it but this empty space would still be covered by the collision polygon.

anyway a quick example of the invisible bullet idea.

Please see attached capx



Download now 174.61 KB

  • Order by
Want to leave a comment? Login or Register an account!