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 / Using Sparky's DLL to walk up stairs

Author
Message
RicoBros
17
Years of Service
User Offline
Joined: 15th Nov 2007
Location:
Posted: 6th Aug 2008 20:16
Quite new to dark basic and was wanting to know more about using sparky's dll to walk up stairs. I'm trying to use this in a FPS so it'll mean moving the camera. Any help will be appreciated
HWT
19
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 2nd Sep 2008 00:25
Have you referred to the help files that come with Sparky's - they're excellent. If that doesn't help, post a reply here.

Hello world tommorrow
To do: Play games, make games, eat, sleep
Random color object
16
Years of Service
User Offline
Joined: 14th Aug 2008
Location: Montreal Canada
Posted: 5th Sep 2008 03:14
Don't waste time like I did, go get yourselve a favor and buy Dark physics.

When it is too complicated it is because you are trying at the wrong door.
Jesusaurisrex
16
Years of Service
User Offline
Joined: 5th Aug 2008
Location: the heart and soul of all
Posted: 5th Sep 2008 08:28
no, don't waste time and money like he did, make a ramp over the stairs and hide it. ta da!

What do you get when you combine the 2 coolest things ever? JESUSAURISREX!
Tiborko
16
Years of Service
User Offline
Joined: 25th Jul 2008
Location: In front of computer
Posted: 6th Sep 2008 10:34
I have an idea that works in theory, I haven't used it yet though... Try making stairs in dark basic with CREATE OBJECT command, and turn off collision with these objects... Then make box that is rotated upwards, like on the image below... Set it to be invisible with HIDE OBJECT command. Now it is almost done, and all you have to do is to alter collision function to slide up and down...
I'm not sure if this works, but it is worth to try


Repetitio est mater studiorum!

Login to post a reply

Server time is: 2024-11-25 18:27:17
Your offset time is: 2024-11-25 18:27:17