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.

Work in Progress / Synergy Editor Misbehavior

Author
Message
JORGEMAL
14
Years of Service
User Offline
Joined: 2nd Aug 2009
Location:
Posted: 17th Jul 2010 19:43
I wonder if this is the right place to write this post, so please redirect me to the right forum.
I am testing the code below to see how 3D commands work. When I use the synergy editor a command window is openned and immedietaly closes not showing anything at all.
If I run it with the editor that comes originaly with Dark Basic Pro, a cube is shown and I can use the arrow keys to move it.
Is there any issue with Synergy Editor regarding working with objects.

Regards
Jorge Maldonado


SET DISPLAY MODE 1024,768,32
AUTOCAM OFF
SYNC ON
SYNC RATE 60

MAKE OBJECT CUBE 1, 10
COLOR OBJECT 1, RGB(0,255,150)

POSITION CAMERA 30,30,30
POINT CAMERA 0,0,0

MAKE LIGHT 1
POSITION LIGHT 1, 0,30,0

DO
IF DOWNKEY()=1 THEN PITCH OBJECT DOWN 1,1
IF UPKEY()=1 THEN PITCH OBJECT UP 1,1
IF RIGHTKEY()=1 THEN TURN OBJECT RIGHT 1,1
IF LEFTKEY()=1 THEN TURN OBJECT LEFT 1,1
SYNC
LOOP

END
Link102
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 17th Jul 2010 23:14 Edited at: 17th Jul 2010 23:16
Jorge,

1: this would be the correct forum
edit: or maybe this?

2: Please use code blocks when dealing with code.


3: I'm not familiar with the synergy gui, but my gues is you need to let the program know where dark basic is. Try looking through the options and see if there are any paths to be set.

Login to post a reply

Server time is: 2024-04-26 17:37:26
Your offset time is: 2024-04-26 17:37:26