KDE Games/Porting: Difference between revisions

From KDE Community Wiki
(Created page with '== Targets of porting == * '''Rendering stack:''' Current solutions commonly include usage of a QSvgRenderer, possibly combined either with QGraphicsSvgItems or with (Q/K)Pixmap...')
 
(first half of situation analysis)
Line 1: Line 1:
== Targets of porting ==
== Targets of porting ==


* '''Rendering stack:''' Current solutions commonly include usage of a QSvgRenderer, possibly combined either with QGraphicsSvgItems or with (Q/K)PixmapCache. It is suggested to migrate to KGameRenderer instead. Integration with QGraphicsView is available through the KGameRenderedItem and KGameRenderedObjectItem classes. Integration with KGameCanvas is available through the KGameCanvasRenderedPixmap.
* '''Rendering method:''' Current solutions commonly include usage of a QSvgRenderer, combined either with QGraphicsSvgItems or with (Q/K)PixmapCache. It is suggested to migrate to KGameRenderer instead. Integration with QGraphicsView is available through the KGameRenderedItem and KGameRenderedObjectItem classes. Integration with KGameCanvas is available through the KGameCanvasRenderedPixmap.
* ''(more to come)''
* ''(more to come)''


== Porting status ==
== Porting status ==


The second column shows which graphics stack (e. g. QGraphicsView, KGameCanvas) is used by the application. The third column shows the rendering stack.
The second column shows which graphics stack (e. g. QGraphicsView, KGameCanvas) is used by the application. The third column shows the rendering method.


TODO: complete and prettify table
{| border="1"
 
{| {{Prettytable}}
|-
|-
! Application
! Application
! Graphics stack
! Graphics stack
! Rendering stack
! Rendering method
! Who does/did the port?
! Who does/did the port? (if applicable)
|-
|-
| bomber
| bomber
Line 23: Line 21:
|-
|-
| bovo
| bovo
|
| QGraphicsView
|
| QGraphicsSvgItem
|
|
|-
|-
| granatier
| granatier
|
| QGraphicsView
|
| a mix of QGraphicsSvgItem and KPixmapCache
|
|
|-
|-
| kajongg
| kajongg
|
| colspan="2" | libkmahjongg
|
|
|
|-
|-
| kapman
| kapman
|
| QGraphicsView
|
| QGraphicsSvgItem
|
|
|-
|-
Line 48: Line 45:
|-
|-
| kbattleship
| kbattleship
|
| QGraphicsView
|
| custom PixmapCache
|
|
|-
|-
| kblackbox
| kblackbox
|
| QGraphicsView
|
| QGraphicsSvgItem
|
|
|-
|-
| kblocks
| kblocks
|
| QGraphicsView
|
| QGraphicsSvgItem
|
|
|-
|-
| kbounce
| kbounce
|
| KGameCanvas
|
| KPixmapCache
|
|
|-
|-
| kbreakout
| kbreakout
|
| KGameCanvas
|
| KPixmapCache
|
|
|-
|-
Line 78: Line 75:
|-
|-
| kfourinline
| kfourinline
|
| QGraphicsView
|
| PixmapCache (and classes similar to KGameRendererClient)
|
|
|-
|-
| kgoldrunner
| kgoldrunner
|
| KGameCanvas
|
| KPixmapCache
|
|
|-
|-
| kigo
| kigo
|
| QGraphicsView
|
| KPixmapCache
|
|
|-
|-
| killbots
| killbots
|
| QGraphicsView
|
| KGameRenderer
|
| Parker Coates
|-
|-
| kiriki
| kiriki
|
| colspan="2" | QWidget with pre-rendered PNG
|
|
|
|-
|-

Revision as of 14:49, 12 August 2010

Targets of porting

  • Rendering method: Current solutions commonly include usage of a QSvgRenderer, combined either with QGraphicsSvgItems or with (Q/K)PixmapCache. It is suggested to migrate to KGameRenderer instead. Integration with QGraphicsView is available through the KGameRenderedItem and KGameRenderedObjectItem classes. Integration with KGameCanvas is available through the KGameCanvasRenderedPixmap.
  • (more to come)

Porting status

The second column shows which graphics stack (e. g. QGraphicsView, KGameCanvas) is used by the application. The third column shows the rendering method.

Application Graphics stack Rendering method Who does/did the port? (if applicable)
bomber KGameCanvas KGameRenderer Stefan Majewsky
bovo QGraphicsView QGraphicsSvgItem
granatier QGraphicsView a mix of QGraphicsSvgItem and KPixmapCache
kajongg libkmahjongg
kapman QGraphicsView QGraphicsSvgItem
katomic QGraphicsView KGameRenderer Brian S. Croom
kbattleship QGraphicsView custom PixmapCache
kblackbox QGraphicsView QGraphicsSvgItem
kblocks QGraphicsView QGraphicsSvgItem
kbounce KGameCanvas KPixmapCache
kbreakout KGameCanvas KPixmapCache
kdiamond QGraphicsView KGameRenderer Stefan Majewsky
kfourinline QGraphicsView PixmapCache (and classes similar to KGameRendererClient)
kgoldrunner KGameCanvas KPixmapCache
kigo QGraphicsView KPixmapCache
killbots QGraphicsView KGameRenderer Parker Coates
kiriki QWidget with pre-rendered PNG
kjumpingcube
klines
kmahjongg
kmines
knetwalk
kolf
kollision
konquest
kpat
kreversi QGraphicsView KGameRenderer Brian S. Croom
ksame QGraphicsView KGameRenderer Stefan Majewsky
kshisen
ksirk
kspaceduel
ksquares
ksudoku
ktron
ktuberling
kubrick
lskat
palapeli QGraphicsView N/A N/A