4 ms·
So fun. I like the AI logic, if he wants a fun addition he should add more enemies as the score increases and implement something like the pac-man ghost logic s
by maxmcd 8y ago
So fun. I like the AI logic, if he wants a fun addition he should add more enemies as the score increases and implement something like the pac-man ghost logic so that they all behave differently: http://gameinternals.com/post/2072558330/understanding-pac-man-ghost-behavior http://gameinternals.com/post/2072558330/understanding-pac-m...
- lovasoa 8y agoHe hasn't learned about arrays yet : every element of the game is its own global variable. But this is something I would love to implement with him !
- jancsika 8y agoFor a reasonable number of enemies-- e.g., Pinky, Inky, Blinky, Dot-- global variables should scale just fine. Maybe learn arrays if he wants to enter the realm of Robotron enemy count... :)