[Fixed for V0.39] Keyboard and mouse not synchronized

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Lubor Kolar
Artisan
Posts: 178
Joined: Thu Jan 25, 2001 10:21 pm
Location: Prague, Czech Republic, Europe

[Fixed for V0.39] Keyboard and mouse not synchronized

Post by Lubor Kolar »

There is (a big IMHO) problem with events.
I have heavily overloaded (== slow) party. When I have an item in mouse and I press up arrow and THEN I try to throw item, it FIRST throws the item and THEN steps ahead.
In DM and CSB it was buffered right way - if I pressed up arrow and then threw item, firt my party moved forward (but slowly, I had to wait about 1/2 sec if my party was overloaded) and then I threw the item.
I hope I described it clearly.
User avatar
beowuuf
Archmastiff
Posts: 20686
Joined: Sat Sep 16, 2000 2:00 pm
Location: Basingstoke, UK

Re: Keyboard and mouse not synchronized

Post by beowuuf »

Just bringing this back up and agreeing with it, it does slow the gameplay compared to DM when in the middle of combat. And it occurs when not overloaded (I've tried to spin then fire and had a fireball in the face, for example)
Was unable to (permenantly) kill off ian_scho (Haynuus), Ameena, oh_brother (Westian), money (Falkor), raixel (Petal) and Lord_Bones (Aurek) in the DM D&D game Time's Champions!

CONGRATULATIONS TO THOSE WHO MADE THE GAME WHAT IT WAS - GREAT!
Rick
Novice
Posts: 29
Joined: Tue Aug 07, 2001 5:19 pm

Re: Keyboard and mouse not synchronized

Post by Rick »

A simple solution to this is to handle keyboard and mouse with a single routine. The routine puts the event in a queue and voila.

Speaking about mouse, i have a problem with the mouse behavior. It's too erratic! :( At some point i feel certain acceleration effect in the mouse and that affects gameplay a lot.

Imagine your ninja picking up a lot of arrows to throw them to the monster, but when he tries to pick them up, you realize he has Parkingson disease :P

Curiously, this only happens in "action mode". When i click on a party member (like to move inventory), the mouse behaves ok. (The acceleration effect persists tho).

Perhaps it's the graphics routine that updates the screen too often, maybe? This is (i think) why monsters aren't animated in the original DM, but only screenshots - right?

By the way, George - do you work over the windows desktop, right? I think that maybe using console mode in the app would make things smoother (just my opinion), i mean why not 320x200 if you have to prescale the bitmaps anyway? it's a linear mode so screen drawing is pretty simple.
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Post by George Gilbert »

Fixed for V0.39
Post Reply