itch.io is community of indie game creators and players

Devlogs

First Testrelease

Simple Tetris
A browser game made in HTML5

Wanted to share my prototype of a 2D-Tetris game, which is still in an early state but core functionality is implemented. 
It has a menu where the player is able to input their name and options to start the gane or look at the online-highscore list.

Initial thoughts
There were still some things I wasnt quite happy with: You can't go back from the highscores to the main menu and you have to repeatetly press Arrow-Down to put blocks down faster. Also I'm not really satisfied with the rotation logic for the blocks.

The first build

I decided to go for a WebGL build first which ended up being a mess with several exceptions being thrown and the game not even starting in the inital build I uploaded on itch.io. Also I encountered an issue on the highscore list, where it is just stuck fetching the current scores. Both issues do not occur when i build a windows standalone executable.

To resolve the exception-issue i decided to push another WebGL, this time as Unity Development Build and ExceptionThrown enable so I can get a hint what exceptions are even being thrown.
The game now did now start, while I saw the actual error message popping up in my console. An issue with my array to spawn the next block appeared which I could not quite get into just yet. Further investigation is needed. But the game was starting which was a little success.
The highscore issue was still present. I now found out it has to do with mixed contentbeing used as I use http requests to get and write my highscores. This issue should be resolvable by switching to the https-protocol which I was foolish enough to not do in the first place, then luckily the service I was using to store the highscores online offers secure connections.

I will keep you updated on my progress with the game! Thanks for reading!

Files

  • Build.zip 6 MB
    Apr 21, 2021
  • Tetris win.zip 21 MB
    Apr 20, 2021
Read comments (1)