CS6 - AS3 - Game Development help with Array
Hey everyone.
I'm working on a project for college currently and we're doing AS3.
My problem is I was wondering how i'd get my workers from one level to the next. in the game you start with 5 workers which are considered your lifes you have to get atleast one of them to the finish point without him dying etc if you lose one then you will only have 4 in the next level and if you lost 2 you'd only have 3 to continue the future levels with if you manage to complete the current one. so what I need to find out how to do is to use some form of vairable i was informed an array might work to bring my surviving workers to the next level.
I'm working with Box2D aswell. the only code i currently have is collosion codes so the workers can die.
any help appericated. perfered video tutorials <-- fastest way for me to learn personally.
feel free to email me: [email protected]
Thanks