The
Illinois of Art, Chicago |
Programming for the Artist |
Instructor: Lindsay Grace |
Example Code Chunk and Discussion (Week 2 Assignment 2):
Discussion:
The following code creates a glow effect. The code was provided at BlitzBasic.com and was used in the games Flight Sim AD and Wild Riders. Since it is public domain, we plan to use it in our game to highlight collect items. We will also use it warn the player that their life force is nearly depleted. The basic description of the code is as follows:
Code Sample:
;Glow effect ;Code by Mag. Idea from Sswift. Graphics3D 640,480,32,2 ; Create camera light=CreateLight() Global cube=CreateCube() ;glow setup End |