Tuesday, April 24, 2007

Multi-Story Buildings!

Imagine being able to position your sniper at a specific window in an 8 story building. That’s what I’m aiming for. My plan is to make a menu pop up if the player right clicks a building with more than one floor. On the menu the player can quickly select the floor his soldier should go to. The soldier then enters the building at the bottom and actually moves up the stairs of each lever until he reaches his target position. Every building is divided into different floors. If a soldier is on a specific floor then all of the floors above him will be made transparent . To test this I’ve made the house model shown below. Next up is the difficult part, the actual coding…

No comments: