BBC BASIC for Windows
« Absolutely pixel-perfect collision detection »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 10:51pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Absolutely pixel-perfect collision detection  (Read 924 times)
David Williams
Developer

member is offline

Avatar

meh


PM

Gender: Male
Posts: 452
xx Absolutely pixel-perfect collision detection
« Thread started on: Aug 18th, 2008, 3:40pm »

Some new functions have been added to GFXLIB to provide fast, easy-to-use, pixel-perfect collision detection suitable for use in many kinds of 2D game. Interested persons can see a demo of one of the collision detection routines right here:

http://www.bb4w-games.com/collisiondetect.zip

Instructions: Move the hand around using the mouse. If so much as ONE pixel in the hand comes into contact with ANY pixel in any of the three collision objects (cat, crystal and butterfly) then a red screen border appears indicating that a collision has taken place.


Current publicly available version of GFXLIB (poor documentation, sorry):

http://www.bb4w-games.com/gfxlib_v1_0_beta3.zip


Regards,

David.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls