News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

Challenge #13 - Moving Projectiles/Bullets (Game AI)

Started by kevin, May 07, 2008, 12:41:56 AM

Previous topic - Next topic

kevin





Challenge #13 - Moving Projectiles/Bullets (Game AI)


     The vast majority of video games genres include some type of shooting mechanism.  So in this challenge, we'll try to make a Player control character (the character should move) that includes the ability to shoot and control multiple projectiles at one time.   The example should demonstrate two basic types of projectiles. 

     1) Projectiles that move in straight lines.   

     2) Projectiles that move along an arc.  Such as being influenced by gravity and or de/acceleration or some other approximation.   (Like you'd see in Worms styled game for example)

    All projectiles should be drawn/managed for as long as they appear on screen.  Once the projectile leaves the display bounds (and isn't likely to return, ie. projectiles moving along arc, will often leave the display and return ) it's life span is over and should be deleted.   

    As usual don't concern yourselves with pretty visuals, this is an AI/logic challenge, so experiment and see what methods you can dream up!



More Reading

Trajectory / Projectile Motion




Submission

* Submissions can be written in any version of PlayBasic

* Submission can only be accepted in Source Code form only.

* Authors can use external Media (images/music) provided you created the media/and or have permission to distribute somebody else's media or the media in the public domain.

* Zip up your Submissions and please try to keep it smaller than 500K !

* Authors automatically give consent for their submission(s) to distributed and used for promotional purposes via UnderwareDesign.com, PlayBasic code tank.

* Authors can submit as many times as they like.

* To make a submission, zip up your projects source code + media and either post it in this thread, or create your own a thread the Source Codes or Show Case forums and post a link bellow.



Dead Line

Anytime before the next ice age