Tuesday, October 11, 2011

Problem Solved!

Ok I have solved my problem of switching levels. I know and understand actionscript a whole lot more too. I coach basketball and often talk about kids eventually it just clicks for them they get it. Well actionscript clicked for me and I understand it a lot more, so I solved my problem. I needed to add "if" statements so the game knew at different points to do something else.

Example: I now have a statement that says "if" current levels is 1 then do this. Its more complex than that, but thats the basic way its done. I then added a level tracker much like the way you track your score. When the level changes so does what happens. I have other statements that say "else if" do this. So if something is going on but it changes th else if statement redirects the game what to do.

1 comment: