A Breakout clone writting using Allegro and the Zig programming language.
Go to file
Sander Schobers f5b3ff4f0c Changed God mode.
- Paddle follows the ball (not restricted by its hardcoded speed).
- Bricks are spawned again after all bricks are destroyed, only when God mode is enabled.
2020-06-13 10:22:57 +02:00
assets Breakout clone to demonstrate Allegro & Zig. 2020-06-12 19:34:43 +02:00
src Changed God mode. 2020-06-13 10:22:57 +02:00
.gitignore Breakout clone to demonstrate Allegro & Zig. 2020-06-12 19:34:43 +02:00
build.zig Breakout clone to demonstrate Allegro & Zig. 2020-06-12 19:34:43 +02:00
LICENSE Breakout clone to demonstrate Allegro & Zig. 2020-06-12 19:34:43 +02:00
README.md Breakout clone to demonstrate Allegro & Zig. 2020-06-12 19:34:43 +02:00

Breakout

A Breakout clone writting using Allegro and the Zig programming language.

How to play

Move the paddle with the left and right keys (or A and D keys). Start a new game with R and enable god mode with G. Escape exits the game.

Building

Run zig build play

Dependencies

License

This project is ICS licensed.

Licenses of third parties

Allegro

Copyright © 2008-2010 the Allegro 5 Development Team

This software is provided as-is, without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.

Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.

This notice may not be removed or altered from any source distribution.

Zig

The MIT License (Expat)

Copyright (c) 2015 Andrew Kelley

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Kenney Puzzle Pack

You're free to use these game assets in any project, personal or commercial. There's no need to ask permission before using these. Giving attribution is not required, but is greatly appreciated!

Thaleah font

CC-BY 3.0 licensed.