It's odd, it's time to time; I know I don't have any background processes running other than Avast Real-Time Virus protection (I have Photoshop, First Page and GM open while the game is running, but those are static programs that doesn't use any CPU load when not being used)--That may be the problem if everytime I make a call to the dll, my anti-virus does a sweep of the dll. However, the way I understand dll's is that once it's "loaded", it's in the memory, and there is no longer any need to access the dll file until it's unloaded, correct?
Next problem (this is actually code related).
I want a "ball" to bounce off with increased velocity when it hits the wall, so I used this in the collision event with the Wall Parent object:
add_force_direction(h,2,get_body_direction(h),VELO
CITY);
However, the ball exhibits odd "roll along the wall" syndrome once it comes in contact with the wall and would continue to pick up speed afterwards instead of bouncing off of the wall realistically with extra added force.
Note: No gravity is being used; it's a top down style engine.
Edited by MatrixQuare, 24 August 2006 - 07:59 AM.