also here's a small project that my sis made at the time i was teaching her lite-c.

you can build diffrent types of buildings by clicking panels, delete them by highlighting them and pressing del key, red/green shows you can build or not, also you can't build in walls and on cliffs. (i mean if one corner of the building doesn't have a ground below, you can't build it, places like edge of a cliff.)

but the code is not optimised(also pretty untidy), there are 2 or more unnecessary c_traces i guess.

f9 toggles debug mode.(you can see where c_traces hit, and the real edges of the model as a square.)

pressing r rotates the building while you are building it.

http://rapidshare.com/files/229324295/StrategyGame.rar

p.s. she's very good at lite-c but not good at English, so she doesn't post in forums. actually my cousin, but i prefer to call her my sis.

edit: fixed link

Last edited by Quadraxas; 05/05/09 07:18.

3333333333