https://github.com/mwesterham/tank-game
A fun little game built in Processing. Includes custom rendering and physics.
https://github.com/mwesterham/tank-game
game
Last synced: about 1 month ago
JSON representation
A fun little game built in Processing. Includes custom rendering and physics.
- Host: GitHub
- URL: https://github.com/mwesterham/tank-game
- Owner: mwesterham
- Created: 2019-11-04T19:23:33.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-18T17:45:57.000Z (over 2 years ago)
- Last Synced: 2024-02-18T18:44:39.779Z (over 2 years ago)
- Topics: game
- Language: Processing
- Homepage:
- Size: 320 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tank Game
This is a prototype built with processing 3, game was moved to Unity!
A fun little game I am working on. Includes basic AI and an upgradable tank. Levels get harder as you get farther into the game. Included a levelcreator class but must be put into it's own folder to be used. Includes a randomized level feature with modifiable amount of enemies/walls.
• Bullet.pde: Bullet class, instances are stored in a linkedlist in the BulletController.pde script
• BulletController.pde: Handles the bullet collisions
• Button.pde: Button class used in the UI.pde script
• EnemyAI.pde: Defines enemy AI
• EnemyTank.pde: Enemy tank class, used in the TankController.pde script for multiple tanks
• PlayerTank.pde: Player tank class
• TankController.pde: Handles enemy placement, rendering, and shot cooldowns
• TankGame.pde: Main loop to run the game
• TankLevelCreator.pde: Level creator to aide in level creation (seperate from main game). Also note: very basic, must copy-paste the code printed in the terminal to the World.pde file
• UI.pde: UI class that controls the entire user interface and can start the actual game.
• World.pde: Contains definitions for each level, including wall placements, enemy types, and enemy placements. Note: I do not recommend writing level definitions by hand, use the TankLevelCreator.pde script to draw the levels and then copy-paste the code here.