Questions tagged [tetris]
The tetris tag has no summary.
11 questions
2
votes
1
answer
92
views
Hard dropping blocks isn't instant and doesn't put it in the correct spot
Godot Version: v4.3.stable.official [77dcf97d8]
I'm trying to add the ability for blocks (frozen RigidBody2Ds) to be hard-dropped instantly (they get placed on the closest surface directly below them) ...
1
vote
1
answer
724
views
How does clearing full rows work in tetris?
I'm working on my tetris game, and I'm a bit confused on the aftermath of clearing a full row. In some implementations, clearing a row, shifts all the rows above it down one row. That's how I ...
6
votes
1
answer
5k
views
How is rotation defined in a tetris game?
I'm working on implementing the backend logic behind the classical tetris game, and I'm a bit confused on how a rotation is performed. I understand that you can apply a rotation matrix, but I still ...
0
votes
1
answer
227
views
How to move blocks down to fill the gap after clearing a row in Tetris?
I'm working on a Tetris clone. When I clear a line, my code does this:
I want to move the squares down + 1.
My code is:
...
1
vote
2
answers
311
views
Is it plausible for Tetris to be running at around 250 fps on a laptop?
I coded a simple Tetris game to for some programming practice. It has all the features you would expect from Tetris, like rotating shapes and clearing rows. I implemented a frame rate measure tool out ...
0
votes
1
answer
163
views
I am creating a Tetris clone on Khanacademy, will I get into trouble? [duplicate]
For those don't know, Khanacademy is an education site that also has lessons on simple computer programming and allows you to publish your own games that are made on the website.
3
votes
2
answers
689
views
How can I create a random deck of 7 cards every time they are all used?
I'm trying to create a Tetris like game in C# (Unity) and I've run into quite a problem on how I can generate 7 cards (tetrominoes) of which none are the same and when I run out of cards, I regenerate ...
0
votes
2
answers
327
views
Tetris Glitchy Movement Fix
Usual tetris game has 2D arrays for arena/piece and collision check with matrix comparison. To add smooth movement and auto alignment of pieces:
x and y are pixels on the screen
xMatrix [the cell that ...
0
votes
3
answers
13k
views
Understanding Tetris speed curve
I'm attempting to make a Tetris clone and want to be as accurate to the games as I can. I found a chart that explains the speed curve that's supposedly used in games that follow the official Tetris ...
1
vote
2
answers
617
views
Tetris - Smooth piece drop (c++)
So I have coded simple tetris games on the past but I have never done one where the pieces drop smoothly, like for instance Super Tetris 3 on the SNES.I am planning to learn SDL and for such I want to ...
3
votes
1
answer
4k
views
Tetris Copyright Issues? [duplicate]
I am making a Tetris clone with a new idea but I won't use the Tetris or Tetriminos name in the game I will refer to them as Tetrominos. Will there be copyright issues if I release this game? Does the ...