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 Discussion / About FLOAT values...

Author
Message
FREMAN
18
Years of Service
User Offline
Joined: 24th Jul 2007
Location:
Posted: 25th Jul 2007 04:26
Ive been experiancing problems with my ATAN funkction beocuse it is unable to recognize numbers like 2.5, 0.23... it cant produce angles which are below 45 degrees, and i dont know how to define a variable to become a FLOAT type, like in c++ when you define it before you use it.

thx in advance
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 25th Jul 2007 04:29 Edited at: 25th Jul 2007 04:30
FREMAN
18
Years of Service
User Offline
Joined: 24th Jul 2007
Location:
Posted: 25th Jul 2007 05:33
thx a lot! i made controling without it and my character had a "tickles" while moving, and when i imputed # after variables it worked perfectly... thats why i like about this DB.

I wanted to ask after is there any depot with sample characters and object which can by used just for test?

thx again a lot
Libervurto
20
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 26th Jul 2007 11:38
What did you use ATAN for? I've never used it (never used any of the Arcs) and i've forgotten what a tangent IS!

I am king of the noobs!
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 26th Jul 2007 16:34
Quote: "I wanted to ask after is there any depot with sample characters and object which can by used just for test?"


If you have the non-trial version of DB you should have a Media folder in the directory it was installed in.

TDK_Man

FREMAN
18
Years of Service
User Offline
Joined: 24th Jul 2007
Location:
Posted: 27th Jul 2007 00:49
I only have trumpet in media folder, but my folders were somehow damaged, i dont have many of integreted tutorials, and their examples so now i am thanful for all assistance i can get from you guys.

Login to post a reply

Server time is: 2026-07-05 22:38:22
Your offset time is: 2026-07-05 22:38:22