OpenCombat icon indicating copy to clipboard operation
OpenCombat copied to clipboard

No more one unit at same tile

Open buxx opened this issue 8 years ago • 4 comments

We cannot place more than one unit at same tile:

  • When a position change will be done, verify before if it is free (take care: computing process are parallelized, use share memory for this ?)
  • More than one tile units have to be managed: a tank take more than one tile !

buxx avatar Jan 01 '18 09:01 buxx

What is the size of a tile in metres?

tomlowshang avatar Jan 29 '18 19:01 tomlowshang

For now, i think to use 1 meter by tile. So 0,125 meters by pixel.

buxx avatar Jan 29 '18 20:01 buxx

Note that at 1 meter per tile, a prone man occupies two tiles.

tomlowshang avatar Jan 29 '18 20:01 tomlowshang

You're right. In really, i don't know if it will be a problem but i think (for the moment) it can be playable to have "very near" soldiers:

capture du 2018-01-29 21-46-53

But, i will have to code the "occupied tiles" by large units like tank, so it wil be possible to code it for prone soldiers.

buxx avatar Jan 29 '18 20:01 buxx