OpenXcom Forum

OpenXcom => Open Feedback => Topic started by: sidav on November 09, 2012, 08:50:39 pm

Title: Walls between cells. How it realized?
Post by: sidav on November 09, 2012, 08:50:39 pm
Give me please an explanation about "thin walls", i.e. walls between cells on battlescape. How it made in openXcom? How it made in original x-com (if someone knows, of course)? I'm beginner programmer, and very interested in strategic games :)
sorry for my bad english.
Title: Re: Walls between cells. How it realized?
Post by: Daiky on November 09, 2012, 09:01:04 pm
Hello,

this gives a good explanation how it is made in both original xcom and openxcom:
https://www.ufopaedia.org/index.php?title=MAPS

Internally I called each position in a map a "tile", which can consist out of 4 objects: a floor, a west-wall, a north-wall and an object.
Title: Re: Walls between cells. How it realized?
Post by: sidav on November 09, 2012, 10:11:10 pm
Hello,

this gives a good explanation how it is made in both original xcom and openxcom:
https://www.ufopaedia.org/index.php?title=MAPS

Internally I called each position in a map a "tile", which can consist out of 4 objects: a floor, a west-wall, a north-wall and an object.
Big thanks! All understandable :)
Title: Re: Walls between cells. How it realized?
Post by: sidav on November 09, 2012, 11:10:39 pm
And what about pseudo-3d globe? How it made?
Title: Re: Walls between cells. How it realized?
Post by: SupSuper on November 09, 2012, 11:33:06 pm
And what about pseudo-3d globe? How it made?
https://en.wikipedia.org/wiki/Orthographic_projection_(cartography) (https://en.wikipedia.org/wiki/Orthographic_projection_(cartography)) (or some approximation)