Toss That Ball, Fire That Gun, Shoot That Arrow; Projectiles in 3D Games, Part 3
April 30, 2002
by Allen Partridge
Part 1 of this series defined our objective of creating a simple Shockwave 3D shooting game, with an aimable gun and an array of targets, as well as covering the code that sets up most of the elements of the world. In Part 2, objects were defined to create the gun and its bullets.
Sample Director 8.5 movie source is available for download in ZIP or SIT archive format (each file is approximately 70K). Before we begin, amuse yourself for a moment tinkering with the demo movie. (6K, Requires Shockwave 8.5)
Figure 1.1. Demo Simulating Projectiles, Gravity and Collision.
Al
Partridge is an independent game
developer, host of dirGames-L,
and Professor of Dramatic Media at The
University of Georgia. Partridge's recent publications include Real-time
Interactive 3D Games: Creating 3D Games in Macromedia Director 8.5 Shockwave
Studio.
Copyright 1997-2024, Director Online. Article content copyright by respective authors.