PACMAN IN UNITY
Unity is a game engine that has quickly become ubiquitous when it comes to development of cross-platform video games. I have been wanting to get familiar with it for a long time, because even though I am not particularly passionate about video games, I figured it can also be easily adapted to a multitude of other interactive applications, mainly as a real-time visualization tool for dynamic simulations.
When learning a new technology, for me personally the best thing to do is to practice, practice, and practice. That means taking it and doing something — anything — no matter how simple or mundane. And so I decided to start off with something basic but comprehensive that will bring me in contact with all essential features of the Unity editor, these are: its user interface, animation mechanisms, scripting, and editor extensions. Eventually I settled on a simplified implementation of Pacman to be my goal.
Table of contents
- Graphical User Interface
- Main, pause, and endgame menus
- Animated interface elements
- Scene transition animations
- Dynamic HUD
- Pseudo-random ghost movement
- Smart keyboard input processing
- Collectible items
- Character and item animations
- Score management
- Easy maze design with waypoints and editor extensions
- Game objects dynamically spawned at runtime.
You can view the source code on GitHub.
- Unity: an excellent cross-platform game engine.