CodeBase - Sprite to Background Collision
Return to the CodeBase listing
Category: 2D
Version: 1.0
Information
Uploaded: 6th Oct 2003 12:53
Modified: 1st Jan 1970 01:00
Author: Licaon
Summary
A background to sprite collision detection (pixel perfect)
Full Description
It checks the collision between a sprite and an image, assuming:<br /> the coords of the sprite and the image are 0,0 of the screen<br /> the sprite is inside the image<br /> <br /> The parameters are <br /> 1. sprite number<br /> 2. image number<br /> 3. the transparent color<br /> <br /> NOT TESTED ON 16 bits SCREEN MODES
Comments
No comments yet.