Improving HTTP resilience in Blazor webassembly

Hi All! Today I decided to take a quick break from my Blazor gamedev series and talk about resilience. We’ll see how to call a REST API from a Blazor webassembly app using an HTTP Client and how to handle errors using Polly. As usual, I’ve pushed a sample repository on GitHub, feel free to […]

Blazor GameDev – part 4: moving a sprite

Hi All! Welcome back to part 4 of our Blazor 2d Gamedev series. Today we’re going to refactor the code of part 3 and start moving the sprite across the screen. The final result will be something like this: Example 3 and 4 will render exactly the same thing but in Example 4 we’ll start […]

Blazor GameDev – part 3: sprite rendering

Hi All! Welcome to part 3 of the Blazor 2d Gamedev series. Today we’re going to see how to render a sprite and handle the window resize event. Last time we saw how easy it is to initialize the HTML Canvas and render some text. Now we’re going to expand that code and add the […]

Blazor GameDev – part 2: canvas initialization

Hi All! Welcome to part 2 of the Blazor 2d Gamedev series. Today we’re going to see how to initialize the canvas and start rendering something. Last time I’ve introduced the GitHub repo, so if you haven’t already, feel free to take a quick look at the code of the various examples. I also managed […]

Blazor and 2D game development – part 1: intro

Every now and then I go back to game development. It’s literally what brought me into this world of coding, something like 32 years ago. This time I decided to do some experiments with Blazor and 2D graphics. I don’t have a precise goal in mind right now, just playing around. Probably this late-night fever […]

Scroll to top