-
3558 readersIn preparation for my upcoming Flash game programming training courses, I’m getting my head back into game physics for some upcoming projects, and I so I thought I’d share some useful collision detection methods I’ve discovered. Reactive collision detection Collision detection in Flash games often occurs after things have moved. So you have a circle
-
6366 readersI promised I’d introduced artificial intelligence in a racing game, and I am starting with artificial stupidity. Anyway, I managed the car to somehow run around the track. I said “stupidity” but I should have said “blindness”, because the CPU driver is actually blind. How would you react if you were blind and crazy enough
-
11739 readersDuring my Flash gaming workshop at the Adobe Education Leader Institute, we built out a little game which covers the following game development concepts; Timing, Mouse Interaction, Character Movement, Rotation, Scrolling Backgrounds, Obstacles, Collision Detection, Game Loop, Scoreboard, Player Health, Sound Management, States, Constraints, Packages/Classes, Garbage Collection, and Game Cleanup! The game is called Flash
-
11797 readersDuring my Flash gaming workshop at the Adobe Education Leader Institute, we built out a little game which covers the following game development concepts; Timing, Mouse Interaction, Character Movement, Rotation, Scrolling Backgrounds, Obstacles, Collision Detection, Game Loop, Scoreboard, Player Health, Sound Management, States, Constraints, Packages/Classes, Garbage Collection, and Game Cleanup! The game is called Flash
-
9366 readersIn the previous tutorial, we went through the basics of pixel-level collision detection. In this tutorial, we shall explore the use of matrices in better defining the area of interest – very useful for graphics that have been rotated, translated, or skewed.
Collision Detection
This is the final piece we will try to progam. Click on the
-
14785 readersCollision detection is a branch of algorithms that checks whether two shapes overlap. If you build physics or action games with ActionScript, you will certainly not escape acquaintance with this topic. This is the first of the series regarding collision detection. In this Quick Tip, we shall look at ActionScript’s built-in collision detection method, hitTestObject(),
-
13163 readersWe covered collision detection between an infinite line and circle in our previous Quick Tip. However, the issue that arose was that the line extends further than the visible line segment; in fact, it extends into a hyperplane. In this Quick Tip, we shall limit our collision detection to that of a line segment only.
Final
-
2227 readersDo you remember the LineBall video teaser? Now the complete game has been published and sponsored by Coolbuddy.com. It’s based on the Flash AS3 Pixel based circle collision engine, that I found better than Collision Detection Kit when you want your ball to bounce. I added a little twist introducing a gravity switch allowing you
-
9391 readersUp until now, our collision detection methods have been mathematically based. Although this is helpful, there are cases where the mathematical approach is just not worth it, such as with an irregular, organic shape – the computations required are too complex and expensive to justify. Instead, we can check each individual pixel of
-
11522 readers
Hey Flash Developers, welcome to the second part of my Tower Defense Game tutorial. In the first part, we developed the basic mechanism of creating turrets and making them shoot towards the point of mouse click. But that’s not what turrets are for! In this part we’ll extend the game to include enemies, basic artificial