About Vadym

Thanks for reading!
[dinosaur peeking in from the right] Hey! I now have a newsletter! Come take a look.
You can also follow me on Twitter or Tumblr.

Grid-based spirals

Good for placing objects around a grid cell! Like this:

A spiral spanning a 9x9 square grid. Points are numbered and lines show the path.
(try a newer browser for an interactive demo!)(enable JavaScript for an interactive demo!)
(click to interact)
Click/tap to select point

You give the function a grid XY and it tells you where the next point should be to have it go in a spiral.

Continue reading

GameMaker: Radial health/progress bars

This is a post about turning this

into this:


(try a newer browser for an interactive demo!)(enable JavaScript for an interactive demo!)
(click to interact)
Click/drag to adjust %

Continue reading