Archive of the Gamebuino Classic forum (2014-2018), rebuilt from the pages kept by the Wayback Machine: only part of the topics and pages were captured. Read-only. Removal on request: hi@gamebuino.com.
Forum › Project Guidance & Game development
Bricks! [In development - Test demo available!]
Drakker Sat Nov 01, 2014 11:36 am
New test demo available with sources at: http://www.drakker.org/gamebuino/bricks/
Includes 4 levels and a quickly cobbled together interface.
-----------------------------------------------------------------
OLD
-----------------------------------------------------------------
Alright, I think the gameplay is settled and feature complete. Guess it's time to work on the boring stuff like menus and game over screens.
Here's a link to the new binary and sources: http://www.drakker.org/gamebuino/bricks/
There are still some rough edges in the code but it's getting there.
New items include the exploding balls (X, explodes the next time it hits a block), ball warps (W, warps straight up), fast balls (F) and slow balls (S). New blocks include weaker bombs (108) and randomly reappearing blocks (6). Levels are now stored in a proper 2d array instead of the previous flat array. Since it is still a test version, you still can't lose your first ball. Bug reports are always welcome.
Here are two more videos:


Todo (as a reference for myself):
- Fix the items drawing over each others.
- Fix items pickup height
- Add a few animations (items pickups, death, etc).
- Make the ball more visible (elongated maybe?)
- Draw the ball differently when it is about to explode.
- Level loading/saving from/to the SD card.
- Time the game for high scores.
-----------------------------------------------------------------
OLDER
-----------------------------------------------------------------
Alright, here comes a playable version!
Get it there: http://www.drakker.org/gamebuino/bricks/.
Here's the usual movie:

Lots of things added, rockets and proper explosions, lasers, bunch of different blocks. I included the source code in its current state (there's still room for improvement), so if you guys want to edit levels, go right ahead, it's a 80 entries flat array, it looks like this:
I will need to work on a system to read and save levels to the SD card, I plan on having a default 100 levels set, and extra levels sets will be supported, so that you guys can create your own level sets.
For high score, I think it's going to list times. With rockets, lasers and explosions, it will probably be a much more fun challenge to complete levels as fast as possible than to watch your score rise each time you hit a brick.
If you guys want to design levels right now, take a screen shot and paste the bricks array here, so I can include them in the final release, probably over xmas time. Also write whatever you want me to write for credits for the levels.
Note that in this test version you can't lose your first ball, it will always bounce off the bottom of the screen.
I think this is pretty much bug free, but there might still be a few bugs I haven't found and squashed, so bug reports are more than welcome.
Enjoy!
-----------------------------------------------------------------
EVEN OLDER
-----------------------------------------------------------------
Hi guys, I'm a bit late to the party with my life since early summer being a lot more busy than I would like. Still, found some time to start coding on the bus recently, and since I'd rather learn some before I tackle bigger projects, here's a simple Arkanoid/Breakout/etc/etc/etc style game. I'm impressed by the processing power of our little machine, there's no optimisation in my code at all, and yet it runs at a full 41 fps very smoothly. No code or executable yet, just this little 4 megs video.

Includes 4 levels and a quickly cobbled together interface.
-----------------------------------------------------------------
OLD
-----------------------------------------------------------------
Alright, I think the gameplay is settled and feature complete. Guess it's time to work on the boring stuff like menus and game over screens.
Here's a link to the new binary and sources: http://www.drakker.org/gamebuino/bricks/
There are still some rough edges in the code but it's getting there.
New items include the exploding balls (X, explodes the next time it hits a block), ball warps (W, warps straight up), fast balls (F) and slow balls (S). New blocks include weaker bombs (108) and randomly reappearing blocks (6). Levels are now stored in a proper 2d array instead of the previous flat array. Since it is still a test version, you still can't lose your first ball. Bug reports are always welcome.
Here are two more videos:
Todo (as a reference for myself):
- Fix the items drawing over each others.
- Fix items pickup height
- Add a few animations (items pickups, death, etc).
- Make the ball more visible (elongated maybe?)
- Draw the ball differently when it is about to explode.
- Level loading/saving from/to the SD card.
- Time the game for high scores.
-----------------------------------------------------------------
OLDER
-----------------------------------------------------------------
Alright, here comes a playable version!
Get it there: http://www.drakker.org/gamebuino/bricks/.
Here's the usual movie:
Lots of things added, rockets and proper explosions, lasers, bunch of different blocks. I included the source code in its current state (there's still room for improvement), so if you guys want to edit levels, go right ahead, it's a 80 entries flat array, it looks like this:
- Code: Select all
char bricks[] = {
5,2,3,4,5,5,4,3,2,5,
3,2,3,100,1,1,1,100,2,3,
4,2,1,1,1,1,0,1,2,4,
3,2,4,1,4,0,1,4,2,3,
3,2,4,1,0,4,1,4,2,3,
4,2,1,0,1,1,1,1,2,4,
3,2,100,1,4,4,100,3,2,3,
1,2,3,4,5,5,4,3,2,1, };
- Blocks 1-2-3 are the white, gray and black blocks.
- Block 4 is the items block.
- Block 5 is the indestructible block (need rockets or explosions to destroy it).
- Block 100 is the exploding block.
I will need to work on a system to read and save levels to the SD card, I plan on having a default 100 levels set, and extra levels sets will be supported, so that you guys can create your own level sets.
For high score, I think it's going to list times. With rockets, lasers and explosions, it will probably be a much more fun challenge to complete levels as fast as possible than to watch your score rise each time you hit a brick.
If you guys want to design levels right now, take a screen shot and paste the bricks array here, so I can include them in the final release, probably over xmas time. Also write whatever you want me to write for credits for the levels.
Note that in this test version you can't lose your first ball, it will always bounce off the bottom of the screen.
I think this is pretty much bug free, but there might still be a few bugs I haven't found and squashed, so bug reports are more than welcome.
Enjoy!
-----------------------------------------------------------------
EVEN OLDER
-----------------------------------------------------------------
Hi guys, I'm a bit late to the party with my life since early summer being a lot more busy than I would like. Still, found some time to start coding on the bus recently, and since I'd rather learn some before I tackle bigger projects, here's a simple Arkanoid/Breakout/etc/etc/etc style game. I'm impressed by the processing power of our little machine, there's no optimisation in my code at all, and yet it runs at a full 41 fps very smoothly. No code or executable yet, just this little 4 megs video.
Zoglu Sat Nov 01, 2014 12:04 pm Re: Bricks! [In development - not playable yet]
Your bricks look very good and their destruction animation is neat, looking forward to a playable demo ;)
erico Sat Nov 01, 2014 1:50 pm Re: Bricks! [In development - not playable yet]
Yep, really cool, the destruction anim is so plesurable people will play just to look at it. ;)
ripper121 Sat Nov 01, 2014 7:48 pm Re: Bricks! [In development - not playable yet]
Drakker Sat Nov 01, 2014 11:52 pm Re: Bricks! [In development - not playable yet]
I did look at it (and 101 starships!), but no offense, I like to write my own stuff from scratch. That's how I learn. ;)
rodot Sun Nov 02, 2014 12:52 pm Re: Bricks! [In development - not playable yet]
Looking great, I can't wait to try the playable version!
PS: I moved your topic from "Games gallery" to "Games development" as it's not playable yet.
PS: I moved your topic from "Games gallery" to "Games development" as it's not playable yet.
Drakker Wed Nov 05, 2014 1:50 am Re: Bricks! [In development - not playable yet]
Another little video, it's almost playable now. Lasers and rockets soon. I need to improve collision with the bar when the bar moves and hits the ball when it is relatively low. I will also rewrite my whole ball velocity logic, I tried to keep it as simple maths, but that does tricky things to the velocity (not shown in the video, I set it as fixed). I will make a pre-computed table of angles with X-Y velocities and ball velocity will be a percentage of these numbers. This should make things a lot more consistent. Oh, and explosions!
PS. Sorry Rodot, on dirait bien que j'étais pas mal dans la lune.

PS. Sorry Rodot, on dirait bien que j'étais pas mal dans la lune.
erico Wed Nov 05, 2014 2:12 am Re: Bricks! [In development - not playable yet]
OH MY! it looks utterly amazing!
Superb use of the grey!
Looks like it plays really smooth.
Superb use of the grey!
Looks like it plays really smooth.
Drakker Fri Nov 14, 2014 7:15 pm Re: Bricks! [In development - now playable]
Alright, here comes a playable version!
Get it there: http://www.drakker.org/gamebuino/bricks/.
Here's the usual movie:

Lots of things added, rockets and proper explosions, lasers, bunch of different blocks. I included the source code in its current state (there's still room for improvement), so if you guys want to edit levels, go right ahead, it's a 80 entries flat array, it looks like this:
I will need to work on a system to read and save levels to the SD card, I plan on having a default 100 levels set, and extra levels sets will be supported, so that you guys can create your own level sets.
For high score, I think it's going to list times. With rockets, lasers and explosions, it will probably be a much more fun challenge to complete levels as fast as possible than to watch your score rise each time you hit a brick.
If you guys want to design levels right now, take a screen shot and paste the bricks array here, so I can include them in the final release, probably over xmas time. Also write whatever you want me to write for credits for the levels.
Note that in this test version you can't lose your first ball, it will always bounce off the bottom of the screen.
I think this is pretty much bug free, but there might still be a few bugs I haven't found and squashed, so bug reports are more than welcome.
Enjoy!
Get it there: http://www.drakker.org/gamebuino/bricks/.
Here's the usual movie:
Lots of things added, rockets and proper explosions, lasers, bunch of different blocks. I included the source code in its current state (there's still room for improvement), so if you guys want to edit levels, go right ahead, it's a 80 entries flat array, it looks like this:
- Code: Select all
char bricks[] = {
5,2,3,4,5,5,4,3,2,5,
3,2,3,100,1,1,1,100,2,3,
4,2,1,1,1,1,0,1,2,4,
3,2,4,1,4,0,1,4,2,3,
3,2,4,1,0,4,1,4,2,3,
4,2,1,0,1,1,1,1,2,4,
3,2,100,1,4,4,100,3,2,3,
1,2,3,4,5,5,4,3,2,1, };
- Blocks 1-2-3 are the white, gray and black blocks.
- Block 4 is the items block.
- Block 5 is the indestructible block (need rockets or explosions to destroy it).
- Block 100 is the exploding block.
I will need to work on a system to read and save levels to the SD card, I plan on having a default 100 levels set, and extra levels sets will be supported, so that you guys can create your own level sets.
For high score, I think it's going to list times. With rockets, lasers and explosions, it will probably be a much more fun challenge to complete levels as fast as possible than to watch your score rise each time you hit a brick.
If you guys want to design levels right now, take a screen shot and paste the bricks array here, so I can include them in the final release, probably over xmas time. Also write whatever you want me to write for credits for the levels.
Note that in this test version you can't lose your first ball, it will always bounce off the bottom of the screen.
I think this is pretty much bug free, but there might still be a few bugs I haven't found and squashed, so bug reports are more than welcome.
Enjoy!
MexxNapster Fri Nov 14, 2014 9:13 pm Re: Bricks! [In development - now playable!]
thank you for this awesome game it is really good :mrgreen:
Update:
i try to add a option to set the Framerate with "up" and "down"
My gray looks bad now :cry:
Update:
i try to add a option to set the Framerate with "up" and "down"
My gray looks bad now :cry: