Today, I need to implement locks and keys, namely getting locks to consist of more than one square and getting the correct lock matched up with the correct key. (Maybe I should have an openLock( tile ) function and then forEach it on an array of lock-squares?)
If I can do that, then I should be able to start designing levels. I will have a map (an array of strings) for each level, and I'll stick all of THOSE in array, and then keep a counter of the current level: when beatLevel() is called, it will increase the level counter by 1, and then nextLevel( levelCounter ) will load the following level. Boo-yah! And when all that works, all that remains is to make levels that are fun and exciting and challenging.
No comments:
Post a Comment