EXAMPLE SOURCE CODE



 Homing Missiles

By: Kevin Picone Added: January 15th, 2007

Category: All,Demo,AI


This demo is a Homing Missile example, as seen in countless shoot'em ups! The missile controller code is pretty simple, where the behavior is broken down into four states. Just Fired (missile was just launched), Homing (seeking for the target), Given up and Dead.

All the Missiles seek on the same target, the mouse pointer. Which sort of looks like a school of tadpoles Press the SpaceBar to fire more missiles and that's about it... have fun !

Requires PlayBasicV1.61 or above


Download: Login to Download





Release Type: The source code & tutorials found on this site are released as license ware for PlayBasic Users. No Person or Company may redistribute any file (tutorial / source code or media files) from this site, without explicit written permission.


 

 
     
 
       

(c) Copyright 2002 / 2024 Kevin Picone , UnderwareDesign.com  - Privacy Policy   Site: V0.99a [Alpha]