Coded Tetris for the first time and this is how I did it.
If you want to learn how the game loop works in detail:
• Game Loop and Key Input - How to Make a 2D...
The in-game background music is from:
• 【フリーBGM】白い迷宮 - active mix:ポケットサウンド【神秘的/クール】
ポケットサウンド - @pocketse
The sound effects download link:
https://drive.google.com/drive/folder...
*All sound effects were made using Beepbox
https://www.beepbox.co
Thanks for watching!
Timestamps
0:00:00 Introduction and Setup
0:01:28 Window and Game Panel
0:04:25 Game Loop
0:08:30 Play Area
0:14:35 Block and Tetromino
0:18:52 Create the First Tetromino
0:25:40 Auto Drop
0:28:32 Movement
0:32:08 Rotation
0:37:05 Create Other 6 Tetrominoes
0:42:45 Pickup a Random Tetromino
0:44:55 Collision
0:54:19 Replace the Current Tetromino with the Next One
0:59:19 Static Blocks Collision
1:01:50 Sliding
1:05:02 Delete line(s)
1:10:15 Add Effect
1:13:00 Game Over
1:15:50 Scores and Level
1:20:40 Music and Sound Effect
1:30:15 FINAL RESULT
#gamedev #javatutorial
Auf dieser Seite können Sie das Online-Video How to Code Tetris in Java mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer RyiSnow 13 September 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 62,115 Mal angesehen und es wurde von 1.6 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!