Advertisement

Feedback Wanted - My First 2D Puzzle Game Brick Buster!

Started by August 23, 2020 02:26 AM
2 comments, last by JohnCM 4 years, 2 months ago

Hello everyone, I recently learnt how to use Unity last year and have been excited since to create my own games.

This year, I decided to do my own independent project - Brick Buster!

Check it out here: https://tanchongmin.github.io/brick-buster/

Walkthrough here:

Expedition Mode Walkthrough: https://www.youtube.com/watch?v=gvLJB1zldCk&t=282s

Puzzle Mode Walkthrough: https://www.youtube.com/watch?v=hrsCUp3Ccbo​

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Basically, it is brick-busting fun by busting two or more adjacent bricks with the same colour.

There are three modes:

1) "Expedition Mode". You control a Mars rover and give it instructions by playing puzzles, upgrade power-ups and try your best to get to 100km. So far, no one I know has managed to reach it yet. Let me know how far you can go! [Note: This mode is meant to be hard. Personally, I think reaching 30km is quite a good achievement already.]

2) “Puzzle”. Solve the puzzles by busting all the bricks! There are 30 levels in this hand-crafted mode to challenge the avid game.

3) “Practice”. Play puzzles of your own difficulty. Choose the quantity and types of bricks you want, and the random level generator will generate a puzzle for you.

Enjoy! Let me know how you find this game?

Hey, I gave your game a try and had fun ?

The fact that the levels are randomly generated definitely gives it some replayability, as you try to do the best you can with what the rng gives you.

Advertisement

@rayan008 Hi rayan, you should apply a RigidBody2D to your player, and set the gravity to 1, and rigidbody type should be Kinematic. Add a CircleCollider2D or CapsuleCollider2D for collision processing with other objects.

For your square, it should a RigidBody2D with rigidbody type Dynamic. Also add a BoxCollider2D for collision processing with your player.

Then, all you need to do when you press the jump button is to set the vector in the RigidBody2D of the player upwards.

Example code within GameObject of your player:

public class Player : MonoBehaviour

{

Rigidbody2D myRigidBody;

[SerializeField] float jumpSpeed = 5.0f;

void Start()

{

myRigidBody = GetComponent<Rigidbody2D>();

}

void Update()

{

if (Input.GetKeyDown("space"))

{

myRigidBody.velocity = new Vector2(myRigidBody.velocity.x, jumpSpeed);

}

}

}

@TrevorKitt Hi Trevor, thank you for the kind words!

Wow you made it really far at 81km!

Some tips: The Lightning Strike with Valuable can make single red bricks be worth up to 11points. It is very game breaking and may help you complete the game?

This topic is closed to new replies.

Advertisement