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.

Author
Message
zappi
15
Years of Service
User Offline
Joined: 16th Oct 2010
Location: with your mother
Posted: 12th Mar 2011 12:50
after i've made the menu and i go to the "New game" label
my screen is completely black and my player dont move
this is the code
Sasuke
20
Years of Service
User Offline
Joined: 2nd Dec 2005
Location: Milton Keynes UK
Posted: 13th Mar 2011 13:52
New Game? Are you talking about Maingame?
zappi
15
Years of Service
User Offline
Joined: 16th Oct 2010
Location: with your mother
Posted: 13th Mar 2011 14:38
ah yes excuse me....
Jimmy
22
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Back in the USA
Posted: 13th Mar 2011 14:41
DBP wont render the 3D scene unless you load or create a 3D object, which is why your screen is staying black.

I added 'make object sphere 1, 10' before the do..loop in your Maingame sub and it works just fine.

And your player is moving, you just don't notice because the variables you're tracking (X#, Y#, and Z#) are not being re-set with the camera's new position at the end of your loop.

Hope this helps!

NaGaFailMo.
zappi
15
Years of Service
User Offline
Joined: 16th Oct 2010
Location: with your mother
Posted: 13th Mar 2011 16:04
thanks!!

Login to post a reply

Server time is: 2026-07-14 20:38:41
Your offset time is: 2026-07-14 20:38:41