1. Jwiz33

    OP Jwiz33
    Banned

    Joined:
    Jun 5, 2014
    Messages:
    2,654
    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
     

    Attached Files:

    Last edited by Jwiz33, Dec 27, 2015
    Cid2mizard, SLiV3R, Sinon and 10 others like this.
  2. VideahGams

    VideahGams Advanced Member
    Newcomer

    Joined:
    Aug 29, 2015
    Messages:
    91
    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!
     
    Margen67 likes this.
  3. Jwiz33

    OP Jwiz33
    Banned

    Joined:
    Jun 5, 2014
    Messages:
    2,654
    Country:
    United States
    This goes in love.update? When I tried this, I got an error. :huh:
     
    Margen67 likes this.
  4. VideahGams

    VideahGams Advanced Member
    Newcomer

    Joined:
    Aug 29, 2015
    Messages:
    91
    Country:
    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
     
    Margen67 likes this.
  5. Jwiz33

    OP Jwiz33
    Banned

    Joined:
    Jun 5, 2014
    Messages:
    2,654
    Country:
    United States
    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!
     
    Margen67 and Psi-hate like this.
  6. GalladeGuy

    GalladeGuy Cool and Epic
    Member

    Joined:
    Oct 28, 2015
    Messages:
    2,687
    Country:
    United States
    Is this no longer in development? It seems like a cool project, but there hasn't been an update since October.
     
  7. Jwiz33

    OP Jwiz33
    Banned

    Joined:
    Jun 5, 2014
    Messages:
    2,654
    Country:
    United States
    I can update it if you want. :)
    I know how to make the scores on the top screen now, lol.
     
  8. GalladeGuy

    GalladeGuy Cool and Epic
    Member

    Joined:
    Oct 28, 2015
    Messages:
    2,687
    Country:
    United States
    That would be nice. :D
     
  9. TurtleP

    TurtleP GBAtemp Regular
    Member

    Joined:
    Oct 7, 2015
    Messages:
    140
    Country:
    United States
    @Jwiz33 I can help you with the physics bugs if you want. Just let me know what exactly is wrong. ;)
     
  10. Jwiz33

    OP Jwiz33
    Banned

    Joined:
    Jun 5, 2014
    Messages:
    2,654
    Country:
    United States
    I don't remember, I haven't updated or used this in forever. :P
     
  11. Jwiz33

    OP Jwiz33
    Banned

    Joined:
    Jun 5, 2014
    Messages:
    2,654
    Country:
    United States
    Update V3 is out(if anyone cares)!

    See changelog for details.
     
  12. Technicmaster0

    Technicmaster0 GBAtemp Psycho!
    Member

    Joined:
    Oct 22, 2011
    Messages:
    4,245
    Country:
    Gambia, The
    Great :)
    Maybe you can fix the collision with the bricks a bit (I know that it's complicated but it's also a must-have).
     
  13. Games&Stuff

    Games&Stuff GBAtemp Advanced Fan
    Member

    Joined:
    Oct 8, 2015
    Messages:
    788
    Country:
    United States
    Any screenshots?
     
  14. Jwiz33

    OP Jwiz33
    Banned

    Joined:
    Jun 5, 2014
    Messages:
    2,654
    Country:
    United States
    I'm taking some now :)
    I'll try to get to it eventually.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - [RELEASE], Breaköut,