[kde-edu]: New games for kdeedu

Carsten Niehaus cniehaus at gmx.de
Wed Feb 1 16:47:55 CET 2006


Am Mittwoch, 1. Februar 2006 16:16 schrieb Jason Harris:
> Hi Carsten,
>
> You might want to put a qApp->processEvents() somewhere in your game loop;
> the UI is quite unresponsive with a fast timestep.

Yes, will look into it.

But perhaps you can help with something else:

Some games need special configure-options. For example the Boltzmann-Game 
needs a setting for the start energy-level (1,2 or 3 would be usefull cases). 
Currently I set this in the code. Ok, other simulations need other options, 
depending on their parameters.
How do I do that gui-wise? How do I describe in my class derived from 
Simulation how the Parameter-GUI is supposed to look like? 

a) Some magic Jason will tell me
b) I provide one .ui-file per simulation and somehow manage to tell the 
simulation the settings (then again I have the problem the the main-app 
doesn't know which GUI-items belong to which gamesettings)
c) Adding all needed GUI-Elements and hide()-them if they are not needed

Well, a) is cool if there is an a). Beside that, I don't like b) and c) too 
much...

Carsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-edu/attachments/20060201/1f85b8b0/attachment.pgp 


More information about the kde-edu mailing list