Breakout clone
- 2 Devlogs
- 14 Total hours
A breakout clone with some additional features.
A breakout clone with some additional features.
Hello again!
Its’s almost been a week since my last devlog, and I’ve added a few new things since then
I now have the ability to declare custom levels, which I hope will make prototyping levels later on much easier.
After launch, the game reads a levels.json file which contains the block layout in this format:
{
"1": {
"title": "level 1",
"blockGrid": [
["1","1","1"]
["1","1","1"]
["1","1","1"]
]
}
}
This example would produce a 3 × 3 grid of blocks.
The game just iterates through the arrays in the blockGrid array and instantiates a block when the value is 1 and does nothing when the value is 0.
This is definitely not the best way of defining custom levels, since it’s kind of hard to visualize and can be a pain to modify, so I’ll definitely have to revisit this later
Also, I can’t define more than one level at the moment 🥲
Welcome to my first devlog!
This is Breakout Clone, a project where I try and make a clone of breakout in Godot so that I can practice game development and familiarize myself with the engine
That’s pretty much it for now!
I know this is pretty short post so I’ll try to write more in-depth ones in the future.
I’ve included a short video showcasing everything that I’ve mentioned as well as things that I forgot to talk about.