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 / Runescape Question (No i'm not trying to make a game like it)

Author
Message
CocaCola
14
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 6th Aug 2010 01:42
Ok first ok i'm not tring to make my own runescape or ORPG or MMORPG I have a question about how they did it if any of you know, in runescape they only use the x and y axis, yet they have hills, 3d objects, etc, but objects are placed on a 2d grid, how would you go about doing that? also wouldn't this make collision so much easier?

I want coke, not Pepsi!
Bursar
16
Years of Service
User Offline
Joined: 17th Sep 2008
Location:
Posted: 6th Aug 2010 16:15
You use the Y value as a way of sorting the items on the screen. Objects with a Y value that puts them near the top of the screen are drawn first, and objects with a Y value that puts them at the bottom of the screen are drawn last.

That way you can move 'up' the screen and walk behind an object.

Login to post a reply

Server time is: 2024-11-16 16:00:53
Your offset time is: 2024-11-16 16:00:53