This is a simple python script I use to batch process pngs using the command line version of Pngquant. I realize that nowadays there are a ton of utilities and guis doing the exact same thing, but I like it as a command line tool in case I need to batch process thousands of images –– guis tend to freeze.
Time to add the plane and make it follow the path the player draws. For this, I added one method to the Path class and added a PathSprite class which takes care of interpolating the path and adjusting to any changed done to the path.
Now I’ll go over the logic to collect points for a path, to be used in a path game like Flight Control. At the end of this tutorial you should be able to have something like the image above: namely, the ability to draw an endless dashed line.
It’s been a while since I did one of these tutorials. I was messing around with drawing sharks, for another vector tutorial but then I stopped in the middle of it and repeated the steps but this time sketching the shapes in Photoshop.