Author Topic: Brickomania  (Read 6715 times)

Poligrafowicz (OP)

  • Posts: 213
Brickomania
« on: February 07, 2011, 06:29:20 pm »
I made a BrickShooter(check the page for instructions how to play) clone for Dingux.




Controls:

In menu:

A, Start - confirm
B, Select - cancel

In game:
Arrows - move cursor
X -  fire a brick from the upper sidebar(If Inv.Ctr. option is off. If said option is on then bricks are fired from opposite sidebar)
B -  fire a brick from the lower sidebar
Y -  fire a brick from the left sidebar
A -  fire a brick from the right sidebar
Select - go back to menu
Start - pause
Hold - turn off display (doesn't work right yet)

Known bugs:
- Brightness control does nothing
- Hold doesn't turn off all graphics and doesn't turn off the backlight

http://www.mediafire.com/?kvqkze1b38unt

P.S. I'll upload sourcecode later. Edit: Done.

Edit:
Some other info about the game:
Your current game is automatically saved upon exiting.
You receive 10 points for destroying arrowed brick and 100 points for destroying blank bricks.
For every 3 bricks you destroy in one move(brick firing) you get a combo bonus. For example:
- You fire a brick from one side and destroy 3 bricks. You get points for that.
-After the brick got destroyed another arrowed brick was freed and destroyed some other bricks. You get twice as much points this time.
- If the situation repeats, you get three/four/etc. times as many points.

Edit:
There are 64 levels. If you complete all of them, the game will end.

Edit:
How to play:
When you start a new game you can choose difficulty level(number of brick colors). New game starts at level 1. Each level has a number of blank bricks equal to its number. To advance a level player has to destroy those blank bricks. One can destroy bricks by lumping 3(or more) bricks of the same color together. For that purpose there are 4 bars with bricks around. A brick can be shot from one of those bars only if there are already bricks in corresponding column/row on the map and there is space for them.(Ekhem)Shooting bricks produces arrowed bricks at the borders of the map. Arrowed bricks move on their own(in direction pointed by the arrow) and while they move player can not shoot any new bricks.

Hope this will help.
« Last Edit: February 11, 2011, 10:01:29 am by Poligrafowicz »

Poligrafowicz (OP)

  • Posts: 213
Re: Brickomania
« Reply #1 on: February 07, 2011, 11:59:38 pm »
I uploaded the sourcecode. Its available under the same link in first post.

Even though I wrote this game from scratch this time, the code ended up being a mess as well. Anyone knows a good object programming guide(preferably for c++)?

I kind of have problem with the license. I wrote the game from scratch, but I based image loading and makefile on this tutorial. While the code on the tutorial page has no information about license of any kind, GPL is mentioned in the FAQ. I'd rather not license this game under GPL, but you could say it shares a few lines of code with that tutorial(even though those have limited originality). Anyone got tips in this matter?

After looking into other SDL tutorials I have found pretty much the same code for loading images(which is not surprising). So I hereby declare this game licensed under WTFPL License.
« Last Edit: February 09, 2011, 12:04:34 pm by Poligrafowicz »

Harteex

  • * Administrator
  • Posts: 713
    • Harteex Productions
Re: Brickomania
« Reply #2 on: February 10, 2011, 08:54:21 pm »
I did a quick port of this to native
Download: http://www.mediafire.com/?w1sehcqu2tesbtj
Source: http://www.mediafire.com/?vde9awaxp83sj7t

Things changed:
* Makefile
* Made file loading/saving in C instead of C++ as we lack C++ stream support

Poligrafowicz (OP)

  • Posts: 213
Re: Brickomania
« Reply #3 on: February 10, 2011, 10:25:52 pm »
I did a quick port of this to native
Download: http://www.mediafire.com/?w1sehcqu2tesbtj
Source: http://www.mediafire.com/?vde9awaxp83sj7t

Things changed:
* Makefile
* Made file loading/saving in C instead of C++ as we lack C++ stream support
Cool

Pingouin

  • Posts: 268
Re: Brickomania
« Reply #4 on: February 10, 2011, 10:52:11 pm »
Thanks for the game Poligrafowicz! I'll try this weekend if I have time (not only to play, but to learn the rules).
Thanks!  :)

Poligrafowicz (OP)

  • Posts: 213
Re: Brickomania
« Reply #5 on: February 11, 2011, 10:02:04 am »
Added game rules to the first post.

Pingouin

  • Posts: 268
Re: Brickomania
« Reply #6 on: February 27, 2011, 02:55:53 pm »
Just played a game, a bit confusing but I like it, thanks! I made an icon too:

Pingouin

  • Posts: 268
Re: Brickomania
« Reply #7 on: March 26, 2011, 04:38:08 pm »
Help, I can't stop playing this game!
I'm on level 33 now, it doesn't seem to get any harder anymore (i.e. I don't think I start with more blocks than previous levels).
Let me get to level 64 and stop then :p It does take ages to get there though.

Poligrafowicz (OP)

  • Posts: 213
Re: Brickomania
« Reply #8 on: April 06, 2011, 08:55:28 pm »
Help, I can't stop playing this game!
I'm on level 33 now, it doesn't seem to get any harder anymore (i.e. I don't think I start with more blocks than previous levels).
Let me get to level 64 and stop then :p It does take ages to get there though.

Sounds really weird. I kind of lack the time to check this right now though.

 

Post a new topic