aliens

Author Topic: Walls between cells. How it realized?  (Read 7461 times)

Offline sidav

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Walls between cells. How it realized?
« 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.

Offline Daiky

  • Battlescape Programmer
  • Administrator
  • Commander
  • *****
  • Posts: 904
    • View Profile
Re: Walls between cells. How it realized?
« Reply #1 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.

Offline sidav

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: Walls between cells. How it realized?
« Reply #2 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 :)

Offline sidav

  • Sergeant
  • **
  • Posts: 19
    • View Profile
Re: Walls between cells. How it realized?
« Reply #3 on: November 09, 2012, 11:10:39 pm »
And what about pseudo-3d globe? How it made?

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: Walls between cells. How it realized?
« Reply #4 on: November 09, 2012, 11:33:06 pm »