Phaser 3 + Webpack
Phaser 3 + Webpack

I am writing this article to help people that are just starting to learn Phaser 3 and need extra support when deploying their game to production. This tutorial will focus on configuring your app with Webpack, I will run through each line of code explaining what they are doing and why they are important. This tutorial won’t show you how to set up your Phaser 3 game, in that case I recommend you to start with this template and jump to configuring your prod.js in this article (Step 5).

Step 1: Create webpack files

First of all, create a webpack folder in the root of…


Interview image
Interview image
Interview

In this article, I will present some of the most frequent questions and answers made by interviewers. There will be questions about HTML & CSS. If you like reading, go ahead. If you don’t, you can still watch myself answering the same questions in this YouTube playlist I prepared.

1. What is CSS selector specificity and how does it work?

What is CSS selector specificity and how does it work? (Video)

When you are working with CSS selectors, there are many different ways you can select a certain element or group of elements, but there are four categories: Inline styles (1000), IDs (100), classes (10), and elements (1).


Javascript Language
Javascript Language

It’s been a while since I started learning JavaScript and, like other languages I learn, I like to discover ways to code efficiently. In this article, I’m going to show you some of the most awesome libraries and VSCode extensions that will improve your JavaScript coding experience.

“The most damaging phrase in the language is ‘We’ve always done it this way’.” — Rear Admiral Grace Murray Hopper

Packages

Ramda

Ramda makes JavaScript too easy, you don’t really need to think about the logic behind your functions after you start using it. Did you build 3 functions and need to apply them to…


Before and after refactoring (chimney). Ref.: https://static.wixstatic.com/media/222c5c_c5c48d7d2ae54f08931baa6a8932f7a8~mv2_
Before and after refactoring (chimney). Ref.: https://static.wixstatic.com/media/222c5c_c5c48d7d2ae54f08931baa6a8932f7a8~mv2_

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live” — John F. Woods

The above quote is very intriguing and it makes us programmers think twice before writing a piece of code. I first saw this when I was at the beginning of my course at Microverse, and it changed everything for me, I was always thinking about how to write better functions and use the best linters.

In this article, I’m gonna walk you through some steps to make your Ruby on Rails code more beautiful


As a Microverse student for one month, I realized that my first clone webpages didn’t have a responsive layout. I was using pixels in the Navbars, percentages in one section and rem in another, I didn’t have a rule or a standard procedure. The goal was to make it look like the original webpage IN MY SCREEN. As I advanced through the course, I learned that these units made all the difference to the webpage’s response in different screen sizes. My code reviewers would tell me to adjust my webpage because it looked different when they were viewing it. When…

Murilo Roque Paiva da Silva

Full-stack developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store