Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / NuclearGlory Collision Demo

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 6th Jan 2004 03:33 Edited at: 6th Jan 2004 03:37
I downloaded the freeware NG Collision dll, and started to play. The Source tab contains a documented version of what I came up with, and it's impressive for the small amount of coding! It should inspire others to use the dll, with a 0 SYNC, I got 366 frames per second from my 1Ghz processor and GeForce 2 card.

There are 4 waypoints which bounce around the matrix. They take care of themselves thanks to NG sliding collision. The ball moves from waypoint to waypoint, and slides around any waypoints in the way. The main loop is less than 30 lines, and a lot of that is simply keeping the waypoints in the arena.

You obviously need the dll and include file for it to work!

BatVink (formerly StevieVee)
http://facepaint.me.uk/catalog/default.php
nuclear glory
21
Years of Service
User Offline
Joined: 2nd Oct 2003
Location:
Posted: 6th Jan 2004 08:06 Edited at: 6th Jan 2004 08:07
Greetings.

That's cool, it's good to see people using the system. Thanks for posting the snipplet

And to anyone who may read this, the code snipplet above works with the free 2.00 release of the DLL that can be downloaded from our website (link below)

Lead Programmer/Director
Powerful Collision DLL for DBPro: http://www.nuclearglory.com

Login to post a reply

Server time is: 2024-11-23 23:40:32
Your offset time is: 2024-11-23 23:40:32