Today was all about setting up the interface for the game.
My goals were:
-get the canvas in the middle of the screen
-get the canvas to take up as much of the screen as it can without going over
-support resizing the screen
-support mobile interfaces
-make the canvas slightly longer on mobile devices, so that it can leave room for a gamepad
After way too long, I achieved two things. I discovered that HTML doesn’t like me, and I met all my requirements!
As shown in the pictures, the website works on both mobile and desktop, it supports resizing, and there’s an extra white rectangle only on the mobile device. I even had time to make a cool gradient (nature themed) and make some test visuals. I’m very excited to work on the javascript section next!
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.