JB Advanced Collision Tutorial
Posted: Fri Aug 28, 2009 4:25 pm
It's taken a lot longer than I had anticipated, but here's a tutorial that presents no less than 12 different ways to detect different types of collisions!
Once you understand using the collision techniques, you should be able to program the following types of games:
Graphical RPG (single player only not MMORPG)
Duck Hunt game
Shooting Gallery
Hidden Object
Mirror Picture
Railroad Tycoon
Road Race
And many more!
Attached is a .zip file that has:
> The tutorial in both Word .doc format and HTML
> The source code for all of the collision functions.
> Simple example code to see how everything works
> The solution to "flaxen's dilemma" (discussed in tutorial)
> A simple triangle game that starts out easy and later becomes frantic
> A puzzle game (see Point In Polygon Function.bas)
Update: 2009.09.08
> Have added a missing example program highlighting the "Point In Polygon" function.
> Re-named R2R.bas to "Rectangle To Rectangle Collision Function.bas" as stated in tutorial.
Once you understand using the collision techniques, you should be able to program the following types of games:
Graphical RPG (single player only not MMORPG)
Duck Hunt game
Shooting Gallery
Hidden Object
Mirror Picture
Railroad Tycoon
Road Race
And many more!
Attached is a .zip file that has:
> The tutorial in both Word .doc format and HTML
> The source code for all of the collision functions.
> Simple example code to see how everything works
> The solution to "flaxen's dilemma" (discussed in tutorial)
> A simple triangle game that starts out easy and later becomes frantic
> A puzzle game (see Point In Polygon Function.bas)
Update: 2009.09.08
> Have added a missing example program highlighting the "Point In Polygon" function.
> Re-named R2R.bas to "Rectangle To Rectangle Collision Function.bas" as stated in tutorial.