[Kde-games-devel] A new highscore manager - KScoreManager

Mauricio Piacentini piacentini at kde.org
Tue Apr 29 14:22:23 CEST 2008


Matt Williams wrote:
>> I don't
>> think anyone has done so yet, but I know there was talk at one time of
>> implementing a highscore listing directly on the game canvas. In such
>> a case, it'd be convenient to leverage the KScoreManager code wherever
>> possible. Some potentially useful functions could be:
> 
> Ah, yes. Thankyou for reminding me. Mauricio had said he was going to have a 
> look into this but I guess he hasn't started work on it yet. How about, in 
> addition to the show() function (which presently displays a QDialog with the 
> scores displayed) there's a function which would return a QGraphicsWidget 
> which would be a widget displaying the scores much like the QDialog? This 
> would then be embedded in an QGraphicsView

Notice that not all games implement QGV, so this function would really 
need to be optional (and coexist with one that presents a QDialog). I am 
sure this was your plan, just making the point more visible, as some 
apps use OpenGL, KGameCanvas or QPainter directly.

Regards,
Mauricio Piacentini


More information about the kde-games-devel mailing list