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 / Camera over Terrain

Author
Message
Game Freak
18
Years of Service
User Offline
Joined: 23rd Sep 2006
Location:
Posted: 27th Sep 2006 15:13
Hi,
I have made an Terrain with Strata Works...
But i have one problem :
I got it into the game and i got it textured.
But my Character goes true the hills ETC.

Is there an way to fix this ?
My code :


Yeah i know i used the RPG tutorial

Currently stop using Game Maker...Beginning using Dark Basic Pro
FROGGIE!
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: in front of my computer
Posted: 29th Sep 2006 20:45
You need to tell the computer to position the player object at the same height as the terrain, use the GET TERRAIN HEIGHT command to find out the height of the terrain at the specified x/z coords. youl then need to modify the position of your player object using the position object command.
Game Freak
18
Years of Service
User Offline
Joined: 23rd Sep 2006
Location:
Posted: 30th Sep 2006 15:04
Can i get an code plz ???

Currently stop using Game Maker...Beginning using Dark Basic Pro
pirate
18
Years of Service
User Offline
Joined: 18th Apr 2006
Location: u.s.a
Posted: 3rd Oct 2006 21:49
use the command: disable object zdepth `put object number here
put this code right after you position your object.
i had the same problem for a long time until i finally figured this out. hope this helps because i am fairly new to this language myself. it feels good to be able to help someone else for once.
keep it up game freak!
thanks, pirate

aaarg!

Login to post a reply

Server time is: 2024-11-26 09:49:04
Your offset time is: 2024-11-26 09:49:04