Descriptive Problem Summary:
This is an issue that a few people have reported with A Miner Adventure. It doesn't seem like the type of issue that would or could be my fault (only a couple of users experience it), so it seems like it'd have to be a BYOND bug.
From Zaole's comment on the game's hub:
i'm getting craaaaazy issues with the controls. i'll hold the right key and then press the jump key, and after 10 seconds of walking to the right my character will finally decide to jump (this is single player not-hosted, no lag). i'll tap the right key for half a second and then tap the left key for half a second, and my character will walk 5 paces to the right and then 25 paces to the left. all sorts of weird random things
I can't provide too much information about this because I don't experience the issue, but do you have any idea what might be causing this?
Numbered Steps to Reproduce Problem:
1. Sneak into Zaole's house (or Ganing's house, he reported the issue too)
2. Log onto their computer.
3. Play A Miner Adventure.
Code Snippet (if applicable) to Reproduce Problem:
The player's mob should be responsive (move when you hit the arrow key, jump when you hit the key, etc.)
Long delays occur before the key presses or releases are processed. It sounds like the key events are being processed, just in a very delayed manner.
Zaole also said that the demos in my Sidescroller library run just fine. It sounds like there is a difference between the simple demos and the game that is causing this. My hunch was that the game is more graphically intense (every turf has a couple of partially transparent overlays, I know they can slow down drawing) and that the CPU time spent on drawing the screen caused the keyboard input to be less responsive than in the graphically simple demos. Unfortunately, Zaole said that the CPU usage, as reported by task manager, was 8-14%.
The demos don't have sound and the game does, that might be causing the issue too.
Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Mar 7 2011, 10:38 am