Block Breaker game

https://makecode.microbit.org/S40302-56457-00548-42548

After 1-4 hours, it’s here. Yup it actually works!


How to play

Click the a or b buttons to move the paddle.

Then, when your done choosing, click the a and b button to launch the ball up to the blocks.

Repeat the instructions until you break the last block.

3 Likes

This is pretty cool!

2 Likes

This is fun, I like the added sounds!
I got a grand total score of 0 :partying_face: :laughing:
Do you have any plans on what to add next? :eyes:

1 Like

the game has been updated, with an 2nd layer of blocks, fixed the score from being 0 and a tidier interface for the project.

Play the updated version here!

Ping pong v1.1

2 Likes

Nice update, my score is 10 now! :partying_face:
One bug I found is that if you move the paddle left and right while the ball is moving, the ball will also move left and right.

Update v1.1.1


Fixed a bug that @randomuser sayed

So, i fixed it in the newest version but there’s 2 new bugs,

  1. No cooldown i think
  2. ball stays at y5 because of some line of code.

Here it is!

Also, I renamed it to “Block Breaker” because of

This

Omg I can’t believe I did this!

okay I need to stop showing spoilers i just... CAN'T refuse to!!1!!1
1 Like

GREAT update, thank you for fixing the bug I was having!! :partying_face:
Interestingly, I’m not getting either of the two new bugs (The cooldown is fine for me, and the ball bounces as it should)
I’m intrigued… how is it going to be both a brick breaker and pong in one!? :eyes:

1 Like

Nope it’s sperate. (may do a bundle for both!)

1 Like

This game is really cool!

1 Like

Oh yeah, the bugs I got them
I have to used GIF because MakeCode won’t allow me to.

Bug #1:

Video Project 3

Bug #2:

Video Project 5

1 Like

Bro makes update the epic grand update
Us: :tada::tada::tada::partying_face::tada::partying_face::tada::partying_face::tada::partying_face::tada::tada::tada::partying_face::partying_face::partying_face::confetti_ball::confetti_ball::confetti_ball::tada::partying_face::tada::partying_face::tada::partying_face::tada::partying_face::partying_face::partying_face::partying_face::partying_face::partying_face::tada::mirror_ball::partying_face::piñata::partying_face::mirror_ball::piñata::tada::partying_face::partying_face:

2 Likes

Wow 50 clicks! i gonna make a new update soon!

guys what update should i make because i ran out of ideas.

it’s separate

1 Like

okay now i have an idea now, but i need to optimize the code, which we have to do with arrays.

1 Like

Oof best of luck, that can be difficult but worthwhile! LMK if you need help! :blush:

1 Like

Update V1.2

The code is now optimized! but with that now there’s a bug,

  1. blocks don’t break, even tho i tried everything

Nope done! the only problem is i can’t break the blocks and guess what? i tried removing the value and deleting the sprite but it doesn’t work.

1 Like

Hmm…
If you mean that you have a sprite as part of an array of sprites, then the way I’d delete them is by using the destroy(sprite) block on that value in the array and then removing it from the array.

1 Like

Nope didn’t work!

1 Like