Contextual Menu-Wrapping

Dear Dairy,

I haven’t worked on my puzzle-platformer game (tentatively titled “Blockling”) since like last year. Probably because you have not been giving me any milk, and my programming bones have weakened. But it’s okay; I forgive you.

I just wanted to let you know that I actually worked on it a little bit today, sans-milk!

It wasn’t much. In fact, it was such a subtle improvement that I doubt you’ll even notice it…especially in light of the fact that you happen to be an inanimate object that rarely uses any sort of computer software.

I tweaked the menu-interface so that if you are holding down an arrow button to rapidly scroll through menu-items, the selection will stop at the first/last item, but if you distinctly press e.g. the up button while the first item is selected, the selection will wrap around to the last one.

Basically, the wrap-around behavior is contextual. It’s so obvious, I don’t know why I never thought of it before. You get the convenience of wrap-around without the annoyance of doing it accidentally. As always, glory be to God.

Download It

In reality, you’ll probably be much more interested in the game than in the menuing-system:

EDIT: To download it, see the SourceForge project page.

Let me know what you think of it so far. No, not you, Dairy; I was talking to the nice readers who read this blog. All two of them.