Drawing Levels From SVG Files
In this chapter, you'll play the back nine of Crazy Golf, whose walls curve. The big idea is to draw a level in a vector-graphics program, save it as an SVG file, and let JetLag turn every line of the drawing into a wall.
I'm still writing this chapter, step by step. In the meantime, you can play the finished game, and read the code and the assets that make it, so that you can run it and change it yourself.
Play the Game
The code that makes it:
The assets, which go in an assets folder next to the game: