You are browsing as a guest. Sign up (or log in) to start making projects!

3h 39m 17s logged

NeoCade Devlog #2: building the UI and improving the pong game

This session took longer than expected and that’s mainly because i spent a good amount of time trying to find the right color combos and stuff. Here is the summary of the changes i made, how i made them, and the challenges i faced:

Change 1:

The first change was building the actual UI. In my prvious sessoin, i just had a plain pong game but that’s definitely not enought so i aimed to build a proper website. I wanted to keep it simple so i built all the menus and stuff in one page instead of different pages. See the attached picture to see what i did

Change 2:

This change is about improving the pong game. I made two main changes:

  • i connected the pong interface to the main interface, which wasn’t hard and didn;t take up a lot of time

  • the second change was adding difficulty levels into the game. I added an easy, medium and hard mode. THis is also took a bit longer than expected because i couldnt get the diffiuclties right. By that I mean that it was hard trying to find the right wat to make it difficult to play the pong game. I was stuck between two different options:

  1. One was keeping the speed of the ball same but just making the omputer better. This essentially means bridging the gap between the ball speed and the computer speed.

  2. the second way was increasing the ball speed as the difficulty increased.

I spent like a chunk of time trying those two out, and in the end, i chose the second way. A faster ball just felt better than a better oppoenet but the same speed ball.

0
5

Comments 0

No comments yet. Be the first!