Timeline for Flash AS3 Tower Defense Problem
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 25, 2011 at 12:20 | comment | added | Sean | I wouldn't need to draw the line if I am checking for a hit every frame. I could just check if the bullet hit a target with the hitTestObject method. My main problem was that the bullet would hit the enemy each frame until it moved all the way passed. I just need a good way to store whether the enemies are hit. I am going to try and use an array to store hit enemies or look up more information about dictionaries. | |
| Apr 23, 2011 at 16:26 | history | answered | ultifinitus | CC BY-SA 3.0 |