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 / wots wrong with this code

Author
Message
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 20th Mar 2003 20:23
Anyone know why this does not work.



thanx
2ghz, ati radeon mobility 32mb DDR, 30gb, 256mb DDR ram, Win Xp
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 20th Mar 2003 22:49
i think you need to put this line:

cay# = camera angle y()
inside the do...loop

or

change these lines:

if leftkey()=1 then yrotate camera wrapvalue(cay#+5)
if rightkey()=1 then yrotate camera wrapvalue(cay#-5)

to:

if leftkey()=1 then yrotate camera wrapvalue(camera angle y()+5)
if rightkey()=1 then yrotate camera wrapvalue(camera angle y()-5)


(i assuming camera not rotating is problem u meant)
lcfcfan
21
Years of Service
User Offline
Joined: 19th Feb 2003
Location: North East, UK
Posted: 20th Mar 2003 22:51
well actually the bsp does not load.

but thanx anyway

2ghz, ati radeon mobility 32mb DDR, 30gb, 256mb DDR ram, Win Xp

Login to post a reply

Server time is: 2024-09-20 01:10:55
Your offset time is: 2024-09-20 01:10:55