Tetris Clone for Construct 2

3

Index

Attached Files

The following files have been attached to this tutorial:

.capx

tetris-clone.capx

Download now 1.67 MB

Stats

10,849 visits, 28,871 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 21 Aug, 2015. Last updated 19 Feb, 2019

Set Blocks _Wall property to SOLID

Place one Blocks _Wall on left at 16, 192 and size 64, 544

Place second Blocks _Wall at bottom 240, 480 and set size to 512, 32

Place 3rd Blocks _Wall 416, 192 and set size to 160, 544

Create sprite and call it Linechecker

Place it at 64, 448 and set size to 256, 16

Now placed walls looks like below:

Create sprite and name it Revolve_Blocks. Set size 16, 16 and paste it outside layer

For this you will need three Instance variables

Blocknext number = 0

createNewBlock True Boolean

rotateableBlock true Boolean

Now we need sprites for Falling_Blocks you can create your own or you can use my Falling_Blocks sprites below. Also remember to set animation speed to 0 (Zero)

Now add instance variable to Falling_Blocks below:

Falling = false Boolean variable

Move = 0 Number Variable

  • 0 Comments

Want to leave a comment? Login or Register an account!