This site has been updated.
Reload to display the latest version?
(click here)

2D explosion wave in unity

04 February, 2021
One of the challenging issues with in-game explosions - is to decide how you’ll deal damage to the player. First, it should be an area damage and regardless of the player’s position he should receive damage (if he stays close enough).

Designing Games, book by Tynan Sylvester

30 January, 2021
Lately I finished the “Designing Games”, by Tynan Sylvester, lead developer of Rimworld. Highly recommend to everyone who is interested in game design. This book is not about the code, but about experience that your game will create.

Vertical lines between tiles in tile map in unity

28 January, 2021
If you used tiles in your game, you know what I’m talking about. Usually its white lines, but they can be of any color, and it can drive you crazy. It looks like that the problem is related to how unity allocates tiles from your sprites. While the camera moves in a scene the game engine rerender the scene and from time to time it doesn’t draw exactly the tile at exactly the place. IMO it’s the result of optimizations on the unity side, but nevertheless we need a way to solve it. I found two…

Object moves too fast for the collider to catch (solution for unity)

18 January, 2021
TL;DR Do not relay on colliders for fast moving objects. You need to use “Physics.Raycast” to determine when a collision took place.

I started new game experiment

09 January, 2021
I started experimenting with game development. For now, it’s a hobby, we’ll see how it will go :)

I started to learn pixel art

01 January, 2021
I decided to add diversity in everyday developers’ life and last month I started to learn a new thing - pixel art. It was long waiting goal, but finally I found time to invest in it (thanks you to all lockdowns, I guess).

Adding favicon to gatsby website

29 October, 2020
Today is an important milestone - I create favicon for my website (the one you’re viewing right now) 🎉

Simple template engine in JavaScript

24 October, 2020
Recently I had a task, that included creating simple templates. Nothing special, just using JavaScript replace placeholders with provided values. Obviously it’s better to have some general solution in place, so next time any change wouldn’t be painful.

Adding react-snap to my app

17 October, 2020
I started to experiment with react-snap - a nice tool for creating pre rendered html of your SPA. The reason is fairly simple - I want to increase visibility of ImgReview by search engines. The installation is very easy. Basically you need to install the package npm install react-snap, and then just change your app render point to: In my case though there was a problem. Pre render failed with this weird error message: Which wasn’t informative for me, since I had no idea what exactly is causing…

How to use Konva with Rough.js

12 October, 2020
For my ImgReview app I wanted to use custom shapes with a hand-drawn, sketchy, appearance. They look nice and could add unique touch to your work: This hand-drawn, sketchy look can be generated with the help of a small library called rough.js. It doesn’t have additional dependencies and can be used as-is. I’m already using Konva as my main graphic library, which makes my life easier by simplifying work with canvas. So in order to start using rough.js I need somehow to make these two libraries…