Homebrew [RELEASE] 3DS Breaköut

Jwiz33

OP
Banned
Joined
Jun 5, 2014
Messages
2,654
Trophies
0
Location
in the illuminati headquar—I have said too much!
Website
iwillcleanyourbasement.webstarts.com
XP
1,492
Country
United States
Breakout/Brick Breaker sloppy clone for 3DS using LövePotion
Most of the code I had to redo, but some of the code was used from this project: https://love2d.org/forums/viewtopic.php?f=5&t=80670&p=187437&hilit=pong#p187437

Features:
-Score count
-Lives
-Game over
-Breaking blocks
-Exiting to launcher

Bugs/Unimplemented Features:
-Collision errors
-No "win" system(ball keeps on going after you hit all of the blocks)
-"Get ready" and Block count/Lives are behind the blocks, so you can't read them well

Controls:
D-Pad: Move paddle left and right
A: Reset ball position(could be abused to cheat, but whatever)
START: Exit to launcher

Changelog:
V1: Initial release
V2: Exit to launcher feature added
v3: Scores, stats and "Get Ready!" message are now displayed on the top screen

Thanks to @VideahGams for LövePotion!

Download is attached!

scr_103_TOP_LEFT.png

scr_103_BOTTOM.png
 

Attachments

  • 3DSBreakout.zip
    762.2 KB · Views: 498
Last edited by Jwiz33,

VideahGams

Well-Known Member
Newcomer
Joined
Aug 29, 2015
Messages
91
Trophies
0
Age
26
Location
Glasgow, Scotland
Website
videah.xyz
XP
156
Country
You can exit to launcher using the love.event.quit() function.

So something like this:
Code:
function love.keypressed(key)

   if key == "start" then love.event.quit() end

end

Would quit LövePotion when the start button is pressed.
Keep up the good work though, it's nice to see more people using LövePotion!
 
  • Like
Reactions: Margen67

Jwiz33

OP
Banned
Joined
Jun 5, 2014
Messages
2,654
Trophies
0
Location
in the illuminati headquar—I have said too much!
Website
iwillcleanyourbasement.webstarts.com
XP
1,492
Country
United States
You can exit to launcher using the love.event.quit() function.

So something like this:
Code:
function love.keypressed(key)

   if key == "start" then love.event.quit() end

end

Would quit LövePotion when the start button is pressed.
Keep up the good work though, it's nice to see more people using LövePotion!
This goes in love.update? When I tried this, I got an error. :huh:
 
  • Like
Reactions: Margen67

Jwiz33

OP
Banned
Joined
Jun 5, 2014
Messages
2,654
Trophies
0
Location
in the illuminati headquar—I have said too much!
Website
iwillcleanyourbasement.webstarts.com
XP
1,492
Country
United States
love.keypressed is its own callback, (love.update, love.draw etc. are all callbacks) so if you put it outside of love.update it'll work
I see. Thanks for the help!

EDIT:
V2 is up which adds the ability that should've been available from the start, exiting to the launcher. Thanks @VideahGams!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: But I bet that would be more for a flashcart than a consumer repro board.