Game Inside a Web Browser

html

As I first started getting into modern personal computers back in 2000s I first learned HTML. I eventually learned also some CSS. I didn’t learn JavaScript or PHP back then and it seemed like a tough deal for me. I didn’t get into “real” programming in years. It was 2010 when I coded my first tiny applications with Java.

Java is hard to combine with HTML and CSS but learning to code with it helped me to get into JavaScript and also actually PHP later. During my studies I also learned something about MySQL and about databases in general. JavaScript is a versatile language. It can be used in backend (Node.js) or frontend (for example React. You can also use plain JavaScript for frontend).

I actually wasn’t able to combine as effectively as possible my studies and my experiences with HTML and CSS in 2000s. But now it’s 2022 and I can’t help to still be curious about how these things called web browsers handle themselves (or actually, how do they work).

I have been reading a lot about different techniques of how to produce a web application. I don’t have currently a project that I could showcase in job application. I am still learning. I want to learn as much as possible and go through in my mind all this theory that there is. Working with solving different end users problems also helps me to achieve this. It can in best case bring some new knowledge for me. It definitely helps me to develop myself.

But how do things really work inside the browser? Basically you have ways to display shapes that have different colors, texts and images. You can read in the users input from a keyboard or a gamepad. You can ahve commands and buttons that make the user to interact. The possibilities are almost limitless. You can even bring 3D graphics to your web browser.

What can you do, if you find these sorts of things interesting? I would say that building website or two will help you to get started. Don’t set your goal too high. I for example have come up with several different prototypes of games and some of them have been based on JavaScript and HTML and CSS. Start with something small and keep building. It might help if you team up with some talents that can help you with the game, like for example a 3d modeler or a musician.

I would have started to write a paragraph about techniques that you can use when developing a game to be played in a web browser but I think I have already introduced all of them. Having a game inside a browser enables you to play and deliver the game for many platforms. Is there a device, that cannot run a website on it? I think there actually isn’t.

You have so many ways to start building your game that runs on for example Firefox. This might not be your future profession but it sure is a nice hobby. I am saying this because I’ve myself had a ahrd time in trying to be employed as a Full Stack Developer. The competition is tough. But start with HTML, CSS and maybe even JavaScript, and soon you will understand how these things work.

Social media & sharing icons powered by UltimatelySocial