Well, this is my first ever attempt at coding a game. It's simply a PSP adaptation of the old game Breakout. This is not in LUA (since I don't know it, and from what I've seen it's a bit higher level than I'm comfortable with), it's coded in C++
How to Play
Move the paddle left or right with either the stick or the d-pad. You must prevent the ball from reaching the bottom of the screen, or you will lose a life. Should you reach 0 lives, the game is over. The level will then restart, and any blocks you destroyed will reappear. You can pause the game anytime by pressing Start.
To win, you must destroy all of the blocks on the screen. Afterwards, the level will reload. Each time a block is destroyed however, it will increase the speed of the puck. You can reset the speed only by losing a life.
Known Issues
Currently, due to the way that the paddle is responding to collision (only changing the y axis velocity), it's possible to trap the puck within the paddle. It's not a huge issue, just know that if that happens, the puck will bounce up and down really fast, and if it's released out of one of the sides, it might as well be random which Y direction it will go.
Also, it seems that if you keep playing over and over (reloading the level again and again), the game will eventually freeze. You can hit the home button and attempt to go back to the menu, but at that point the system will crash. I think I'm getting a buffer overflow, since each time the level loads, it must reload all of the images. However, I don't know how to clear the buffer, so if anyone could point me in the right direction, I'd very much appreciate it.
Finally, I have no idea if this works on 2.0+. I don't think I'm using the kernal, so if anyone would like to try it out and let me know, be my guest.
Features to Add
Additional Content - The way the code is setup, it should be very very easy to add in more levels, more blocks (I've already got the algorithm down to add in a bunch of blocks of different color, size, and position, it's just a matter of loading them into memory), multiple pucks on the screen, paddles, etc.
Screenshot Support - I've gotten it kinda sorta working, but not how I'd like. Rather than release a broken feature, I decided to leave it out for this build.
Sound - Adding it shouldn't be too difficult. It's mostly an issue with finding sounds I like.
Everything Else
If you want my source, either to learn from it or to tell me I'm doing everything wrong (which is appreciated as long as you help me fix it), post here and I'll get it too you. It's mostly undocumented, so I'm not gonna go through the trouble of commenting everything unless someone wants it.
Check out the casinos not on gamstop UK guide 2021 at Justuk.club
Find recommended online casinos in Japan at onlinecasinoosusume.jp
May 2025 | ||||||
---|---|---|---|---|---|---|
Su | Mo | Tu | We | Th | Fr | Sa |
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
DCEmu Portal
DCEmu Current Affairs
DCEmu Forums
DCEmu Console Sites
Apple & Android News
Sega News
Nintendo News
Open Source Handhelds
PC Gaming
Sony Console News
Xbox News
DCEmu Misc Sites
Retro Homebrew & Console News
DCEmu Reviews
Wraggys Beers Wines & Spirits Reviews
DCEmu Theme Park News
Gamer Wraggy 210
DCEmu Homebrew Coder Sites
Chui Dreamcast Developer
Number of Members: 484,080 Total Threads: 212,871 Total Posts: 764,223 Currently Online: 13604 Newest Member: HanoraSakura99 |
Catherine: Full Body’s English translation for the Vita