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.

2D All the way! / newbie wondering how to interface w terrains

Years of Service
User Offline
Joined: 3rd Nov 2009
Posted: 3rd Nov 2009 22:28
not sure if this is a 2D or 3D question, but I'm wondering how to make sprites navigate & interact w terrains (the Terrain documentation I've found is pretty "Dark")

Unbeliever in the UnHolyTrinity of: Usury, Fake Democracy, & the Beast of Armageddon
Years of Service
User Offline
Joined: 14th Oct 2005
Location: US - Virginia
Posted: 10th Nov 2009 16:46
Mind expanding a bit on what you're looking for exactly?

If by "Terrain" you mean the actual Terrain objects that are built-in to DBPro, then yes, those are for 3D objects, not 2D sprites (although there's nothing stopping you from using 3D planes to represent sprites in a 3D world).

If you just mean a 2D terrain in general, then that all just depends on how you implement it! One way would be a simple array that stores the height of the terrain at any given 'x' position, that is perfect for 2D games, as long as you're not planning to have any "tunnels" or areas where things can appear under the terrain.
Newbie And Furious
Years of Service
User Offline
Joined: 10th Nov 2009
Posted: 13th Nov 2009 21:40
If you want make 2D terrain and put sprites in it then go here:


Login to post a reply

Server time is: 2023-01-29 06:56:18
Your offset time is: 2023-01-29 06:56:18