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.

Newcomers DBPro Corner / Movement in DBPRO from DB

Author
Message
Kanzure
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location:
Posted: 20th Feb 2003 02:21
I started out with some example code from Dark Basic Lite, from Help->Examples->BASIC3D->Sliding Collision.
It works fine in the Lite edition, and probably in the full version too.

I use the same commands for moving up and down as in that example (code below), but it does not work in DBPro..

DB Lite Code


The new code is exactly the same. Please help me.

The object I am controling is a sphere, zdepth disabled,and textured. When I use a .X file instead of this sphere, I can use that code, and it works... Please help..;
Kanzure
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location:
Posted: 20th Feb 2003 03:22
I've been reviewing the commands for DB Pro, and they seem extremely similar.. Might it be that I need some diffrent rotation function for my left and right movement (that uses the yrotate function) ???

~Morph
Owner of MultiCode.NET.
I know HTML, PHP, Perl, JavaScript, VBScript, Visual Basic, C/C++, QBasic, YaBasic, and now Dark Basic/Pro...
Kanzure
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location:
Posted: 20th Feb 2003 04:35
Sorry, this is fixed now..I believe it was a matter of where I placed by code..

Second problem..When converting my code, i get an error that "Make static object" is not a command any more! HELP!

~Morph
Owner of MultiCode.NET.
I know HTML, PHP, Perl, JavaScript, VBScript, Visual Basic, C/C++, QBasic, YaBasic, and now Dark Basic/Pro...

Login to post a reply

Server time is: 2024-11-24 03:56:37
Your offset time is: 2024-11-24 03:56:37