PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Button Problems.....

I'm plaing around with EasyCE at the moment, and I've a problem, I have the pad controllnig a player, up, down left right etc I then have buttonA setup to make "him" run, this works ok, until you change direction, then he slows down (presumably the device no longer see the button down), until you take your finger from the button and replace it down again.... can this be "corrected", or will I have to setup in ingame toggle for walk/run ? i.e tap the button to get run mode, tap again to stop etc...

-Brendan
What PPC are you using?
Casio E-125
BTW I recommend that you implement the walk/run toggle anyway, otherwise it wouldn't run properly on devices that don't recognise 2 button presses (Ipaq 36xx & 37xx).

How are you checking to see whether character should run/walk? E.g A 'run' flag, checking button state, etc.
yep, I've implemented a bool toggle in the player struct, it places a little "boot" pic to the screen when in run mode... seems to work ok.