A week removed from my in person interview with In-Telecom and I still haven’t heard back. I was informed that I would hear from them early this week at the latest so I’m hoping for tomorrow. I felt the interview went well and I’m hoping for an offer, but we will just have to wait and see.
In the meantime I have begun working on a new project. With the new job at bestbuy and the potential new job at in-telecom I am shifting my coding focus from web design for a bit and beginning to work on what I really want to do which is design video games. I don’t have the time right now to dive into learning one of the big game engines like Unreal or Unity so for now I’m just going to work in JavaScript and make some fun easy games.
The first one I’ll be talking is a racing game. I’ve started by adding simple boilerplate code and installing a new JavaScript library called Phaser.
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge, Chrome1" />
<meta name="author" content="AskForGameTask" />
<meta name="keywords" content="2021 Ask for game tasks" />
<title>3D Racing</title>
<style>
body {
margin: 0;
background: #000;
overflow: hidden;
}
</style>
<script src="..\libs\phaser.min.js"></script>
<script src="main.js"></script>
</head>
<body></body>
</html>
After that I set some parameters for the game in the a main.js file
// screen size
const SCREEN_W = 1920;
const SCREEN_H = 1080;
// game states
const STATE_INIT = 1;
const STATE_RESTART = 2;
const STATE_PLAY = 3;
const STATE_GAMEOVER = 4;
// current state
var state = STATE_INIT;
// coordinates of the screen center
const SCREEN_CX = SCREEN_W / 2;
const SCREEN_CY = SCREEN_H / 2;
//Main Scene
class MainScene extends Phaser.Scene {
constructor() {
super({ key: "SceneMain" });
}
in this file I created states for the game, coordinates for the center of the screen, set the screen size, and created a Main Scene class that extends the Phaser Library. Once again my new job at best buy has kept me from putting the time that I would like to into coding, but things should start settling down soon and I will get a little more work in, in the near future. As always thanks for reading and I will get back to you all next week!