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.

DarkBASIC Discussion / scroll background

Author
Message
iplaybass
20
Years of Service
User Offline
Joined: 11th Nov 2004
Location: illegally hacking into gov. networks
Posted: 16th Mar 2005 08:43
i have a sky sphere, and it moves with my character when i walks, but how can i make it scroll when i walk? is there any other way i can simulate real walking? also, my character can walk right off the matrix. how can i stop this? thanks.
Ragnarok89
20
Years of Service
User Offline
Joined: 27th Jun 2004
Location: Look behind you! Ahhhh!~
Posted: 16th Mar 2005 10:26 Edited at: 16th Mar 2005 10:31
*Post Removed*
hyrichter
21
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 16th Mar 2005 11:32
Use the scroll object texture command to scroll the texture. To simulate real walking, you'll need an animated character. You can also use a little sin and cos maths to make your character bob up and down slightly as it walks.

As for walking off the matrix, just set some collision boundaries around the edge of your matrix, i.e., if object position x()<10000 or whatever, then you can move, otherwise no.

iplaybass
20
Years of Service
User Offline
Joined: 11th Nov 2004
Location: illegally hacking into gov. networks
Posted: 17th Mar 2005 01:26
i already have my animated character and erverything, but i want the sky to scroll only when i walk. if i stop, i want it to stop. i'll try the bounday thing too.

Login to post a reply

Server time is: 2025-05-23 19:03:17
Your offset time is: 2025-05-23 19:03:17