Yes, Game Maker was indeed a simple scripting language. But sometimes this simplicity drove me crazy. I wanted to do something more advanced like what I usually did in C++ like struct, enumeration, and so on. Above all of that, it wasn't even strongly type-bounded!! I can compare string with integer. I couldn't force my variable to recognize integer only - no float!
Without struct, I couldn't bind together my balloon and it's corresponding popping effect. The only thing I could I was keeping a track of two different variables which indeed will caused me miss-tracking. However, I still made it! I got more than one colour balloons and each of them pop with the exact correct colour. I even use a nice algorithm to check the string on each balloons, compared it into user input and show the error input in red. This only work in the practice and progressive mode, though. The ETS mode needed another method and a better way. However, the basic idea was still the same.
No comments:
Post a Comment