RagingPixel Posted September 17, 2018 Share Posted September 17, 2018 Hello, I'm working on small html5 game - Tetris clone - in javascript. Controls: arrow keys play source Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 20, 2018 Author Share Posted September 20, 2018 Hi! I've rewritten large parts of code due to bugs that I found. I would like to ask for feedback. Best regards Quote Link to comment Share on other sites More sharing options...
Wolfsbane Posted September 20, 2018 Share Posted September 20, 2018 Just a black screen, nothing loads for me? Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 20, 2018 Author Share Posted September 20, 2018 I was cleaning up the code and introduced error ? Its fixed now Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 23, 2018 Author Share Posted September 23, 2018 Howdy, There is new version available to view on same url, and please feel free to comment on progress in this little project. Quote Link to comment Share on other sites More sharing options...
Milton Posted September 23, 2018 Share Posted September 23, 2018 It's a little sluggish. I'm used to the original (1984 ) version which used the space bar to drop to the bottom immediately. In your version I have to hold the down cursor, which makes it buffer, which causes the next block to come down like crazy. Also, the block doesn't rotate immediately. I'm not sure about the colors either. They're a bit bland. In the original they're primary and hard. That makes it easier to associate the color with the shape. But then again, what do I know. Maybe this is more like the Nintendo versions... Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 23, 2018 Author Share Posted September 23, 2018 Thank you for your feedback! I will make spacebar drop to bottom immediately and fix the issue with arrow down key. Colors are on my todo list I need to work on this right now colors are just random. I wanted to add some kind of animation when block is rotated so It should fade out and fade in pretty fast - is it annoying? Quote Link to comment Share on other sites More sharing options...
Milton Posted September 23, 2018 Share Posted September 23, 2018 Hmm, don't know. Responsiveness is the most important . Bells and whistles come later. The biggest problem is that it doesn't (always) pick up multiple key presses. I'm used to pressing up and left/right at the same time. And it moves left/right too slow. The original was instant, it just jumped to the new position, no scrolling. And it's pretty easy. Just played it to about 1500 and still no challenge. Gave up to respond to your question Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 23, 2018 Author Share Posted September 23, 2018 I made several changes after receiving feedback: The sideways movement is now instant, spacebar makes piece drop to the bottom instantly, fixed a bug with the down arrow / s key I'm planning to add some difficulty increasing next. Milton 1 Quote Link to comment Share on other sites More sharing options...
Milton Posted September 23, 2018 Share Posted September 23, 2018 Wow, I'm impressed. This is so much better. Please do the colors first. Look at wikipedia for the originals. Also, I'm not a fan of seeing where the block would end up. It obscures my view. Most people do want this, but maybe you could have an option? RagingPixel 1 Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 23, 2018 Author Share Posted September 23, 2018 Thanks - the changes were easy to make I will make the shadow on by default and the S key will turn it off and on. I have little idea for the colors - I will check if it will work with the wiki information on colors. Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 23, 2018 Author Share Posted September 23, 2018 I modified the grid size to be exactly the same as in Tetris game, and added increased difficulty after completing certain amount of lines. Quote Link to comment Share on other sites More sharing options...
Milton Posted September 23, 2018 Share Posted September 23, 2018 Nice work. I'm not a fan of the block animation, very distracting. I need a Pause (P) key. I need a Hide Ghost (or Shadow) key. Blocks need to enter at line -2 (or even -3). So if a 'RED l' shows up (vertically), it should only show on line 1, not the whole thing at once. You're getting there Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 23, 2018 Author Share Posted September 23, 2018 So maybe I make it an option the block animations. Pause is a must - I recently realize that I forgot about that ^^ There is G key it toggles ghost on and off. Right now Im working on implementing difficulty scaling and amount of lines needed to complete before advancing to next lvl. Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 24, 2018 Author Share Posted September 24, 2018 Hello, So there is a pause key P now And difficulty scaling is same as original nes tetris Also lines needed to go to next level is implemented as in new tetris Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 25, 2018 Author Share Posted September 25, 2018 Let there be starting screen ;) Quote Link to comment Share on other sites More sharing options...
RagingPixel Posted September 27, 2018 Author Share Posted September 27, 2018 play screen changes: Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.