Posted: 10th Mar 2004 3:49
That is right im posting how you have your camera jump.(see attached code made in dbpro) Their is no height limit tho you can set it yourself by changing the if jumpb=1 to jumpb=1 and height<(put your any height number here)
Posted: 10th Mar 2004 5:02
From what I have found there is no "if jumpb=1 to jumpb=1 and height<(put your any height number here)" ! Also, you might try to think about making a demo which features the jump.

Bye,
Colin
Posted: 11th Mar 2004 3:46
u have to add then add height and I don't have the time to make a demo with the jump
Posted: 12th Mar 2004 2:30
check my demo in the code base, i use something startlingly similar for jumping...

http://darkbasic.thegamecreators.com/?m=codebase_view&i=456fc68cb31ab4cbd476030a4f6e52a9

EDIT: What? is that mine?!? it even uses the same variable names!

here's mine

if jumpb=1
height=height-1
position object 4,object position x(4),object position y(4)+height,object position z(4)
endif
if object position y(4)>100 then ajump=0 else ajump=1
if object position y(4)<100
position object 4,object position x(4),100,object position z(4)
jump=0
height=0
endif
Posted: 12th Mar 2004 10:20
First one to turn it into a propper snippet can claim it as there own - no point getting possesive over 15 seconds work.


Van-B
Posted: 12th Mar 2004 16:20
i know, it just seemed wierd
Posted: 12th Mar 2004 21:08
yea yours is for an object mine is for a camera
Posted: 17th Mar 2004 14:23
Any version of this for DBC?
Posted: 18th Mar 2004 0:44
no but im sure you can change a few things and it would work....lol im not sure what commands you dont got