Archived

This topic is now archived and is closed to further replies.

kirk

Baldur's Gate

Recommended Posts

Baldur''s Gate does not use tiles, at least not in respect to graphics. It is a basically a big giant bitmap that is scrolled by on you''re screen. The location walk/height map was created for each pre-rendered image to decide where or how you''re player can walk. The actual "size" and "shape" of the location data I''m not sure, its been a while since I cranked up the game.

Sieggy

Share this post


Link to post
Share on other sites
Ok, I''m agree with uses of a big map, but what I don''t to understand is the implementation of the "path finding" and the "z-order" of the sprite blitting. You have an idea?

Share this post


Link to post
Share on other sites
When you program 3D applications, you''ll see that the x and y coordinate is still left, just like in 2D graphics, but you have one more, a z coordinate, which (in almost all cases) is the depth axis, the bigger z value, the deeper into the scene the object is.

The z coordinate is sometimes used in 2D too to determine in what order the images should be rendered. It''s good if you want to have several layers of images rendered.

I don''t know much about pathfinding, but I don''t think that you have to write your own function for it unless you really want to, there''s one called A* which is supposed to be good.

============================
Daniel Netz, Sentinel Design
"I'm not stupid, I'm from Sweden" - Unknown

Share this post


Link to post
Share on other sites
quote:
Original post by Spiff

I don''t know much about pathfinding, but I don''t think that you have to write your own function for it unless you really want to, there''s one called A* which is supposed to be good.

============================



Yes, I know the A* algorithm, but on a big map without tiles it no work.

Share this post


Link to post
Share on other sites
On a big map without tiles you do a space-reduction, and try to make a grid on top of the map which represents basically the same thing as you would have with tiles, only usually larger areas.

Share this post


Link to post
Share on other sites