G’day Internet. Welcome to Stick Ninjas, DevLog episode 12. My name is Andrew Russell.
Someone has asked me to transcribe these DevLogs, so I’m going to be doing that this week. If it’s useful to you, let me know. Because then I’ll probably do it for future episodes; and I’ll also go back and transcribe my old episodes.
A couple of things to show you today: I’ve been working on my physics engine platforming stuff.
I don’t think I mentioned it last week, but I’ve used Stick Ninjas as an opportunity to upgrade from Farseer 2 to Farseer 3 (the physics engine). And while my overall platforming algorithm still works, there are still a few literal edge-cases to figure out. So I’ve been working on those.
I’ve been making sure everything works when you fall off a polygon. Or when you cross the boundary between two polygons.
I’ve also added wall-sliding and wall jumping – both upwards and outwards.
The other thing that I’ve been working on (in the background), is my line-rendering code.
So here’s my old line-rendering code, and you can already see what’s wrong with it. The head is made up of a pair of line end-points that are quite large. And you can see the same thing if I zoom in on a line – it’s just made up of a bunch of triangles and there’s some fairly crappy blurring for anti-aliasing.
If you look at my new line-rendering technique, it’s extremely smooth no matter what zoom level I go to. And this is going to look really great later on when I want to add some fancy zoom effects to the game.
That’s it for this week. For development news, subscribe to my blog at AndrewRussell.net or follow me on Twitter: @_AndrewRussell. And visit StickNinjas.com to sign up to get a notification when Stick Ninjas is available for playable pre-order.
Thanks for watching reading, and I’ll see you next week.
(Side note about transcription: Obviously I refer to a lot of animated visuals during my videos. I tried making some illustrations for this post, but it took too long and produced some fairly large files. It’s not worth the effort when you can get a better result by just watching the video. But, because you made it this far, here’s a bonus animated gif for you :))