VM Labs SDK Sample Code |
\vmlabs\sample\M3dl\Transparency |
Copyright © 2000-2001 VM Labs, Inc. All Rights Reserved |
March 2, 2001 |
This program demonstrates how to specify that certain colors within a texture should be treated as transparent. The program draws a background image, and then draws sprites on top of that which move around and bounce off the edges of the screen.
Don't be fooled by the background image.
Filename | Description |
bg.bmp | Background image |
datafile.s | Assembly file that includes images as binary data. |
makefile | MAKEFILE for building and running sample program. |
sprite.bmp | Source data for sprite with transparent portions |
transparency.c | Main program code for sample. |
transparency.h | Contains a variety of definitions used throughout the program |
Before attempting to load or run any of the SDK samples, make sure you have first read the Hitchhiker's Guide To NUON document.
After that, if you're still having trouble getting this sample program to work, click here to request assistance from developer support.