Infinite Cursor

Posted in EpicTable Development on April 10, 2013 at 9:12 pm

I haven’t had a bug this interesting since the multiplying coins of 2009.

I was working on EpicTable 1.1 tonight, modifying the dice tray and the way dragging is handled. I have this neat little routine that creates a cursor from an object you’re dragging and the existing cursor. I use then when you start dragging an object, and ordinarily, I reset it to normal when you stop dragging. Here’s what happened when I neglected to reset it.

Infinite Cursor

What you’re seeing there in the red circle is a custom cursor. It’s the result of dragging a d12, then a d20, a d4, a d6, and finally, a d8. It should look like a d8 with the little cursor arrow. Instead, it’s a d8 with a little d6, with a little d4, and so on, as long as you keep dragging dice. Not very functional or intuitive, as cursors go, but kind of interesting.

Speaking of version 1.1, expect it soon. I’m trying to get a build ready for a second internal test this weekend.

  • Similar Posts

  • Recent Posts

  • Tags