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.

DLL Talk / Help needed with 1st attempt at NGC

Author
Message
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 9th Aug 2006 14:38
I need help with NGC, what must I do to this code to create an effective collision system where the player collides with the world? With my current game the main player just goes straight through the floor... (this is the first time i've used NGC)...



Let the games begin.
sprite
18
Years of Service
User Offline
Joined: 22nd Apr 2006
Location:
Posted: 10th Aug 2006 01:18
I found this link with someone elses code it may point you in the right direction.
http://forum.thegamecreators.com/?m=forum_view&t=83658&b=18

I'll add something later on.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 10th Aug 2006 12:15
Make sure you call RunCollisionPRO() once per loop.

Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 10th Aug 2006 15:42
Thanks Lost in Thought, putting RunCollisionPRO() into the loop has made the collision work

Let the games begin.
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 10th Aug 2006 16:27
Glad you got it going

Login to post a reply

Server time is: 2024-11-22 12:13:04
Your offset time is: 2024-11-22 12:13:04