![]() |
Curse you analogue controller! |
Wow, it's been a few weeks since I last posted anything here. I should remedy that.
I think I will.
Let's talk programming.
When we last talked I'd been working on a Zelda-like for Linux and I'd made a bit of progress. One of the things I was testing was the ability to use a controller.
SDL2 makes it fairly simple to hook a controller up to your computer, find it and use it and I did tests that did just that. Using the left analogue stick I made a sprite move around the screen. This worked well for both horizontal and verticle moves. But there was a problem.