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 / Jumping Help Needed :O

Author
Message
Xlaydos
20
Years of Service
User Offline
Joined: 26th Mar 2004
Location:
Posted: 28th Jun 2006 00:43 Edited at: 28th Jun 2006 00:43
I searched, but i can't find anything that would fit my game because its a 3d game in 2d style, (see pic)

[href=http://img323.imageshack.us/img323/4543/untitled12346kx.jpg][/href]

I use a 16x16x16 tile based system, which is causing me troubles with jumping due to the Intersect Object command only being able to work with 1 object which i need to know its number. Is there any command / way to do this?

P.S I would not like to change the tile based system as i need it to be able to do other things, and to make an easy to use/make map editor

Thanks

Edit: Link to image because it was too big
Tobo
19
Years of Service
User Offline
Joined: 12th May 2005
Location:
Posted: 28th Jun 2006 13:29
http://img323.imageshack.us/img323/4543/untitled12346kx.jpg

Opera had problems with the original link. This one should work.

T.
Trinita
20
Years of Service
User Offline
Joined: 29th Sep 2003
Location: Italy
Posted: 28th Jun 2006 18:43
Maybe you should try Sparky's DLL (free), could be useful with the advanced commands on casting and collision...
Find it here:

http://forum.thegamecreators.com/?m=forum_view&t=74762&b=5

"An eye for an eye will only make the whole world blind."
Xlaydos
20
Years of Service
User Offline
Joined: 26th Mar 2004
Location:
Posted: 29th Jun 2006 00:39
Thanks Tobo

Thanks Trinita, i'll try that tomorrow and let you know how it goes.
Xlaydos
20
Years of Service
User Offline
Joined: 26th Mar 2004
Location:
Posted: 3rd Jul 2006 12:15
Thats exactly what i need The problem is i don't really understand it yet and i don't want to just copy + paste code. Is there a tutorial anywhere?
Trinita
20
Years of Service
User Offline
Joined: 29th Sep 2003
Location: Italy
Posted: 3rd Jul 2006 12:50
For a better understanding of Sparky Dll give a look at:

http://forum.thegamecreators.com/?m=forum_view&t=45212&b=6&p=0

The commands you must use in your code are:

SC_objectCollision
SC_getObjectHit

Hope it helps.

"An eye for an eye will only make the whole world blind."
Daemon
18
Years of Service
User Offline
Joined: 16th Dec 2005
Location: Everywhere
Posted: 3rd Jul 2006 18:15
I am fairly new to Sparky's DLL, but I think this is right-

First you apply the world objects to a group using
"sc_setupobject"
or
"sc_setupcomplexobject" for things other than cubes, triangles, and plains.

Then you can use
"sc_raycastgroup"
just as you would use intersect object, except it can check all the objects in the group (and it finds the angle at which it hits the objects too).

Login to post a reply

Server time is: 2024-09-25 03:36:30
Your offset time is: 2024-09-25 03:36:30