Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Donsol

Donsol is a solitary card game in which you must go through the deck in sequences of 4 cards. · By Rek & Devine

GBA direction inputs repeat too fast

A topic by Alina Norakari created Nov 27, 2022 Views: 1,093 Replies: 7
Viewing posts 1 to 6

Hello, in the GBA version when pressing left or right the indicator whizzes across the screen and since it wraps around, it's not controllable at all, it's more like a random generator. Can you implement some rate limiting or only listening for a key down event and not polling and executing the key press each frame?

Developer

You're running it through an emulator or an actual device?

It happens on my Nintendo hardware (GBA SP, GB Micro, DS Lite) as well as FPGA based hardware emulation (Analogue Pocket)

While I'm at it, I also found it amusing that depending on the shield you get, the mouse cursor will become visible in the upper left (I think after a palette cycle?) and stay there for the remainder of the game

Oh I just saw that BadDiode did the port. I can get in contact with him directly via fedi, we follow each other. I'd be happy to help with testing on real hardware. Would you like me to do that?

Developer

Just fixed the sticky cursor issue that draws even if using the d-pad. I think the repeat should be handled at the emulator level, ideally it could not even repeat.

(1 edit)

> I think the repeat should be handled at the emulator level

but it did happen on real Nintendo hardware that's not using GBA emulation, I'm not sure if I understand right what you're saying

Developer

Oh right, sorry it's kind of confusing, but I mean uxn emulator, on the GBA. The gba rom is basically a uxnemu wrapping a uxn rom, I meant, that bd should handle the key repeat at the uxn emulation layer, not at the gba emulator layer ;)