From kde-commits Tue Feb 29 23:54:37 2000 From: Cristian Tibirna Date: Tue, 29 Feb 2000 23:54:37 +0000 To: kde-commits Subject: Re: kdegames/katomic X-MARC-Message: https://marc.info/?l=kde-commits&m=95186843817509 On Wed, 1 Mar 2000, CVS by pfeiffer wrote: > > kdegames/katomic feld.cpp,1.33,1.34 toplevel.cpp,1.10,1.11 toplevel.h,1.3,1.4 > Author: pfeiffer > CVSROOT: /home/kde > Wed Mar 1 00:44:46 MET 2000 > Update of /home/kde/kdegames/katomic > In directory zeus:/tmp/cvs-serv3998 > > Modified Files: > feld.cpp toplevel.cpp toplevel.h > Log Message: > - save speed > - fixed painting bug when moving right > still broken: odd speeds cause some sprite shifting Hehe :-) I'm glad you like this game. Things that I wanted to do: - layouting the main widget - fixing the painting with respect to speed modifications. Ah! You already observed this :-) The problem is simple to fix: the speed "impression" is obtained by enlarging the number of pixel displacement of the new position painted from the old position painted. Problem is that the additional paint that deletes what is still visible from the old position is calculated as if speed was always only 1 (sorry for not having time to fix it) Cristian