RSSAmplifier

Blog

joel.net - JavaScript, ReactJS, Node, Programming and More!

joel.net - JavaScript, ReactJS, Node, Programming and More!

joel.netRSS feed ↗20 posts

Latest posts

Building a native app install experience with a Progressive Web App (PWA)

Turn any website into an Installable App How I make web apps that install to the home screen (Android and iOS), launch full-screen (not in-browser), work offline, and offer a first-class in-app Instal

JavaScript and Type Narrowing Magic

Type Narrowing allows the IDE (development environment) to narrow down the object type, from a union type, to a more specific type. Bullsh*t Example In this bullsh*t example, value is the union type string | number, meaning it can either be a string ...

First Beta of My Indie Game Dungeon Sweeper: A Knights Adventure

There is still a lot of work to be done, but I finally have something "playable" 🔥 I would describe it as a mashup of Mine Sweeper and a rogue-like dungeon crawler RPG. That's right! The first playable demo is up! The game is still in active develo...

Creating a TypeWriter Effect in Phaser.js v3

I recently added some dialog options for my indie game, Dungeon Sweeper: A Knights Adventure and wanted to create a TypeWriter effect for the dialog text. This technique works well for monospaced fonts and may not work for variable-width fonts. Fail...

Dungeon Sweeper: A Knight's Adventure -- devlog 004

TL;DR: I discuss adding intuitive features, dealing with Phaser quirks such as a tween memory leak and scaling issues, managing screen size, and creating an executable for a demo. I express my struggle with the less enjoyable parts of game developmen...

Dungeon Sweep: Knight -- devlog 004

It's starting to feel like a real game! Ok. It's still in the "prototype" phase. The gameplay basics are there, but it's still not ready for a demo. Maybe next week? If you are looking for a Demo, hit me up on my Twitter! UI Updates I am liking the l...

Dungeon Sweep: Knight -- devlog 003

tl;dr I posted Gameplay Video on Twitter. Added some graphical flair to the dungeon. Found some free sound effects. Huge Gameplay pivot to rogue-like. Save states added. Struggles with ChatGPT and Phaser. How do I promote this thing? Gameplay Video I...

Dungeon Sweep: Knight -- devlog 002

Welcome back to another devlog for Dungeon Sweep: Knight! I'm excited to share the progress I've made on the game so far. Just in case you didn't read the first devlog, Dungeon Sweep: Knight is a game that will have the mechanics of Minesweeper and c...

Dungeon Sweep: Knight -- devlog 001

I recently decided I wanted to make an indie game. I have had this idea for a while and I think it's about time. The idea is a variation of Minesweeper with RPG elements. I'm thinking about calling it Dungeon Sweep: Knight. Art I can't art, so I deci...

I asked an AI Chatbot to write an Episode of Rick and Morty and I was blown away

Since OpenGPT launched I have been playing with this AI Chatbot. My experience has been mixed. I had thrown a handful of complex programming tasks at it and it failed miserably. Other more simple programming requests I made did seem to yield good res...

Const vs Immutable (Plus Shallow vs Deep)

While const and immutability are related, they are two separate concepts. These concepts often get confused, so I thought it made sense to cover them together. It is my goal to not simply give you definitions, which are often forgotten. Instead, give...

⛅ Smart Routing with Cloudflare Workers and Webpack (bonus content)

Automatic Smart Routing for Cloudflare Workers simplifies routing and removes boilerplate. Currently each route is setup manually. This has been tedious and needs to change. https://www.youtube.com/watch?v=q17r-ZLFMJA Cloudflare Workers Course Outlin...

⛅ Key-Value Storage With Cloudflare Workers KV (lesson 4)

Serverless key-value storage or KV provides an easy way to store / retrieve data for your Cloudflare Workers. Best of all, Cloudflare has recently introduced a FREE tier for KV! https://www.youtube.com/watch?v=5dkzFrJ044o Cloudflare Workers Course Ou...

⛅ Making API Calls From a Cloudflare Worker (lesson 3)

Being able to retrieve data from an API or Database is a common task for a Cloudflare Worker. Without some type of API call to a database or service, your site would be the same as a static site. It's the API call that will make your site dynamic. Cl...

⛅ Cloudflare Workers as a Web Server with Webpack (Lesson 2)

In this article, I will be configuring a Worker as a Web Server with Webpack. This is the second article in a series I am doing on Cloudflare Workers. I am excited about the Cloudflare Workers platform and if you are too, subscribe to my Newsletter a...

⛅ Getting Started with Serverless Cloudflare Workers (Lesson 1)

Cloudflare Workers are a similar to other serverless platform offerings, but at the Edge. Edge meaning your code is deployed and runs globally across many regions in the same way a CDN works for static content. https://www.youtube.com/watch?v=WFlDSL7...

🧠 I Code Differently Depending on These 5 Project Types

There are a lot of articles out there talking about best practices, patterns, principles, etc. When I say a lot, I really mean an overwhelming soul crushing amount of articles. But few of them talk about when these practices should be applied. Even w...

FREE JamStack / Static Site Hosting with Keybase.io

Keybase offers secure messaging and file sharing. Included in the file sharing offering is 250GB of storage which can also be used to host public JamStack / Static Websites. https://www.youtube.com/watch?v=GzhhG5ItwY8 Install Keybase Keybase Sites ar...

Custom Array Sort Algorithms in JavaScript

https://www.youtube.com/watch?v=-S8b_j5XBV0 JavaScript's Default Array Sort JavaScript's Array.sort defaults to a String sort. This catches many people off guard when attempting to sort an Array of type Number. // ❌ Default search is a String search ...

This Week in JavaScript by Joel 2020-10-16

https://www.youtube.com/watch?v=ZtyHrzOjJZE Why Tailwind CSS Why Tailwind CSS is an interesting piece by swyx making the case for Tailwind. What makes this article interesting is that he started as a non-believer even making such remarks against it:...