Log In  

Cart [#48180#] | Code | 2018-01-14 | License: CC4-BY-NC-SA | Embed
6

It's one of those break out games! In this game the player uses the mouse to place blocks move the paddle to bounce the balls around the screen.

​Press X to insert coin

Would love to know people's thoughts and suggestions for improvement :)

P#48172 2018-01-14 12:42 ( Edited 2018-01-14 23:28)

I love it! I'm usually suspicious of Pico-8 games that use mouse. But this one is great. Saw this on Twitter the other day. Glad to see it finally published!

Will give it a proper try later. Here is my feedback after my first few attempts:

  • Ball got stuck in indestructible blocks

  • Is it just me or are the balls getting a lot faster when they hit exploding blocks?
P#48173 2018-01-14 13:02 ( Edited 2018-01-14 18:02)

Thanks for the kind words!

Explosive blocks do speed up the balls so in all probability, they're not helping the issue. I did add a whole bunch of checks today to keep this exact issue from happening but it keeps rearing it's ugly head.
Will have to have a look into this a bit further in the future...

P#48175 2018-01-14 13:19 ( Edited 2018-01-14 18:19)

I had the same issue in my tutorial Breakout. I finally adopted this approach to the collision detection and it seems to work a lot better:
https://codeincomplete.com/posts/collision-detection-in-breakout/

Otherwise, a good alternative solution would be a "walk-back" collision fix. Ball remembers previous positions and collisions. It notices if it's stuck and resets to a previous 'safe' position.

P#48176 2018-01-14 13:30 ( Edited 2018-01-14 18:30)

A ha! I was already storing the previous frame position of the balls anyway to create the trail effect.

Cartridge has been updated with this slight fix, from the brief tests I ran, the issue appears to be sorted.

P#48179 2018-01-14 15:12 ( Edited 2018-01-14 20:12)
:: ianh

Great work! Love the concept and the execution.

P#48184 2018-01-14 18:28 ( Edited 2018-01-14 23:28)

[Please log in to post a comment]

About | Contact | Updates | Terms of Use
Follow Lexaloffle:        
Generated 2019-10-18 10:17 | 0.016s | 2097k | Q:28