My first game!
-
- Posts: 44
- Joined: February 13th, 2019, 3:23 am
My first game!
Thanks Chili's tutorial. Here's my first game ever made, Tetris. I can't believe I finish it by myself!
My next project will be Puyo Puyo. I hope I have perseverance to finish it!
https://mega.nz/file/FQNSVYDa#fQBEi3RPM ... J0pCvydXNU
How To Control
==============
Move: Arrow Keys
Rotate Right: Up Key, X
Rotate Left: Z
Hard Drop: Space Bar
Pause: Enter
My next project will be Puyo Puyo. I hope I have perseverance to finish it!
https://mega.nz/file/FQNSVYDa#fQBEi3RPM ... J0pCvydXNU
How To Control
==============
Move: Arrow Keys
Rotate Right: Up Key, X
Rotate Left: Z
Hard Drop: Space Bar
Pause: Enter
Last edited by WilsonHuang on April 20th, 2020, 6:21 am, edited 3 times in total.
Re: My first game!
Cool stuff man. Got some nice polish on this one. Sound effects sound like they are from Tetris 99
The animation for clearing is nice too. I think the input on the left/right movement is a little sluggish. Rotation is fine, but fast dropping maybe a little to fast. Also, how are you generating the sequences of tetronimos? There are rules for proper generation that you might not be aware of. A little more of an advance preview window would be nice as well.
I look forward to seeing what you do with puyo. It's a more interesting game than tetris imo. Very hard to learn how to effectively set up those chains.
The animation for clearing is nice too. I think the input on the left/right movement is a little sluggish. Rotation is fine, but fast dropping maybe a little to fast. Also, how are you generating the sequences of tetronimos? There are rules for proper generation that you might not be aware of. A little more of an advance preview window would be nice as well.
I look forward to seeing what you do with puyo. It's a more interesting game than tetris imo. Very hard to learn how to effectively set up those chains.
Chili
-
- Posts: 44
- Joined: February 13th, 2019, 3:23 am
Re: My first game!
Ahhh.. I'm so happy chili replies this thread, Anyways, for the movement I wonder how to count how many times the user presses a button? The movement is a modification version of Snake game from the tutorial. For the generating the sequences of tetromino, I just randomly pick one. Do they have proper rules? An advance preview window means more "next" pieces?chili wrote: ↑February 8th, 2020, 7:25 amCool stuff man. Got some nice polish on this one. Sound effects sound like they are from Tetris 99
The animation for clearing is nice too. I think the input on the left/right movement is a little sluggish. Rotation is fine, but fast dropping maybe a little to fast. Also, how are you generating the sequences of tetronimos? There are rules for proper generation that you might not be aware of. A little more of an advance preview window would be nice as well.
I look forward to seeing what you do with puyo. It's a more interesting game than tetris imo. Very hard to learn how to effectively set up those chains.
I take Sega Arcade Tetris as reference https://www.youtube.com/watch?v=wNhMmCMtRdU&t=7s so the next piece just one
Re: My first game!
For the inputs, you want to use an event-driven system. The keyboard/mouse already supports events, you just loop through all events every frame and process the ones you're interested in.
The rules for tetronimo is, every 14 tetronimos you will see each type twice. So generate a sequence of each type 2x and then shuffle it. It prevents situations where you never get, for example, I piece. Or where you get too many of the same piece in close succession.
The rules for tetronimo is, every 14 tetronimos you will see each type twice. So generate a sequence of each type 2x and then shuffle it. It prevents situations where you never get, for example, I piece. Or where you get too many of the same piece in close succession.
Chili
-
- Posts: 44
- Joined: February 13th, 2019, 3:23 am
Re: My first game!
I found a bug. The link has been updated.
Re: My first game!
Great work man. I typically not a tetris player, but I played a game of it and was had a surprising amount of fun. It was probably because it's easier than traditional tetris? really good work, and it has me wanting to make a tetris clone now... lol
- krautersuppe
- Posts: 91
- Joined: September 14th, 2015, 10:58 pm
- Location: Istanbul
Re: My first game!
Damn i hoped i would beat your scoreboard array but it was longer than i initially thought :p
DSU
Discord: dsu1, GitHub: https://github.com/DSpUz
Discord: dsu1, GitHub: https://github.com/DSpUz
-
- Posts: 44
- Joined: February 13th, 2019, 3:23 am
Re: My first game!
The max score is 999999krautersuppe wrote: ↑April 19th, 2020, 10:48 amDamn i hoped i would beat your scoreboard array but it was longer than i initially thought :p
tetris_wilson_huang.png
Last edited by WilsonHuang on April 20th, 2020, 7:45 am, edited 2 times in total.
-
- Posts: 44
- Joined: February 13th, 2019, 3:23 am
Re: My first game!
Oh sh*t! Thanks to krautersuppe, I found the score counting bug. The link has been updated!
-
- Posts: 44
- Joined: February 13th, 2019, 3:23 am
Re: My first game!
This is my score. You are batter than me XDkrautersuppe wrote: ↑April 19th, 2020, 10:48 amDamn i hoped i would beat your scoreboard array but it was longer than i initially thought :p
tetris_wilson_huang.png