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.

DarkBASIC Professional Discussion / (DarkCLOUDS) Problems with some commands.

Author
Message
CSGames94
18
Years of Service
User Offline
Joined: 27th Dec 2007
Location:
Posted: 27th Dec 2010 23:00
Just got DarkClouds today and I'm already having problems with it, but other than these problems I'm having, it works really well.

"dc get light direction x,y, and z" always gives me this error :
Quote: "Could not determine parameter type of 'dc get light direction x()' at line 44."


"dc set auto sun direction" gives me this error :
Quote: "Parameter mismatch in command 'DC SET AUTO SUN DIRECTION' at line 47."


"dc get light color" and "dc get ambient color" is it possible to grab individual colors, for example :
Quote: "Set Light Color dc get light color red(), dc get light color green(), dc get light color blue()

Set Ambient Color dc get ambient color red(), dc get ambient color green(), dc get ambient color blue()
"


The Pokemon Engine is still alive.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 28th Dec 2010 09:19
First it might help if you post your code.

You can get individual colours from dc like this:


CSGames94
18
Years of Service
User Offline
Joined: 27th Dec 2007
Location:
Posted: 28th Dec 2010 19:06
Thanks a lot for helping!

It's basically the sample demo with "anglex#,y#, and z# = dc get light direction x(),y(), and z() :


The Pokemon Engine is still alive.

Login to post a reply

Server time is: 2026-07-18 07:32:57
Your offset time is: 2026-07-18 07:32:57