VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Collision detection for games written in machine code

by IRBMe (22 Submissions)
Category: Games
Compatability: Visual Basic 5.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (14 Votes)

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

Download Collision detection for games written in machine code

Download Collision detection for games written in machine code (14 KB)

Collision detection for games written in machine code Comments

No comments have been posted about Collision detection for games written in machine code. Why not be the first to post a comment about Collision detection for games written in machine code.

Post your comment

Subject:
Message:
0/1000 characters