VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Collision detection for games written in machine code

IRBMe  (22 Submissions)   Games   Visual Basic 5.0   Intermediate   Wed 3rd February 2021

This is a DLL (full source included) written in pure assembly which will detect a collision between 2 sprites given their masks to the pixel. Because it is written in assembly, it is extremely fast. The fastest I got for 1 call on my 1.65 GHz was 2 milliseconds. The slowest being 11 milliseconds. You can use it outwith VB if you want (VB Calls to the DLL are slow). This is the second submission with some optmiization and also I fixed a bug whereby it raised an access violation when used with compiled exe's. If you like it, please vote and leave some feedback. ;)

Rate Collision detection for games written in machine code (14(14 Vote))

Download Collision detection for games written in machine code

Collision detection for games written in machine code Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters