Breakout is a simple 2D example game for the Delta Engine.
Classes
Class | Description | |
---|---|---|
Ball |
The player interacts with the ball with his paddle and navigates it to destroy bricks.
View code on GitHub | |
Ball RunBall | ||
BallInLevel |
Extends the ball to live and communicate with the level
View code on GitHub | |
Game |
Renders the background, ball, level and score; Also handles starting new levels
View code on GitHub | |
Level |
All the bricks for each level are initialized and updated here.
View code on GitHub | |
MainMenu | ||
Paddle |
Holds the paddle position
View code on GitHub | |
Paddle RunPaddle | ||
Program |
Simple breakout game with more bricks to destroy each level you advance.
View code on GitHub | |
Score |
Each brick can either be dead or alive, has a color and the bounding
rectangle for rendering and collision detection.
View code on GitHub | |
UI |
Primes the window to respond to keyboard commands and launches the game
View code on GitHub |
Enumerations
Enumeration | Description | |
---|---|---|
Ball Direction |