Trying new things

Ok, it took me a little while to work out the bugs, but I managed to add special blocks that spawn extra balls when destroyed. I hope you like them

9 Likes

coool!
it’s not just the game that is so good … the player is a pro too !

2 Likes

Looking really good LordBetosh :slight_smile: I like the castle theme :slight_smile:

1 Like

Just did another change before being happy about it. Made a multiple lives system (granting a new life every 3000 points). It was a little tricky to make it work out, since I had to treat balls and lives differently. But I like it :smiley:
Block Breaker - Level 2 - PC, Mac & Linux Standalone - Unity 2019.4.21f1 Personal DX11 2021-04-03 15-53-55

4 Likes

Good work!

1 Like

Now that’s a pretty interesting gameplay quirk. You also could’ve spawned based on the number of hits/points, how many times it hits a wall collider and so on. That makes it a little unpredictable for the player too. Great work.

1 Like

That’s normally how you would think of lives. The balls hits focus on points accumulated and the lives are the instances of the ball before it collides with the lose collider. Of course always categorise things how you logically see it.

1 Like

How did you implement the “Lives” option? I was trying to do it but can’t…
Can you help, please? I just want to add the lives option which is ‘If your ball collides to the LoseCollider, it deletes one life on the screen…’

Thanks, Hope you’ll help!
Jai

1 Like

I don’t have the code with mw right now, but I do remember that I made a variable in the “game level” that had the amount of lives. Once a ball was destroyed, it triggered a function that checked how many lives were left, if this number was above 0, then it instantiate a new ball over the paddle and diminished the amount of lives by one. I remember that my biggest problem was to “attach” the instantiated ball to the paddle. If you need more help than that, I could search for my code tomorrow

Thanks for your great help! I would love to see your codes!! If you’re not able to find it, it’s Okay! As I don’t know how I made it work but yes my Life System is working, Thanks to you and your Explanation!!!
I appreciate it a lot!!

1 Like

So glad you made it dude! part of the fun is to turn an explanation into code :grinning_face_with_smiling_eyes:

1 Like

Yeah! It’s so true :smiley:

1 Like

Privacy & Terms