[Kde-games-devel] GSoC 2012 - Porting Games to QML

Stefan Majewsky stefan.majewsky at googlemail.com
Tue Mar 6 23:16:45 UTC 2012


On Tue, Mar 6, 2012 at 11:58 PM, Mehmet Emre <maemre2 at gmail.com> wrote:
> I started to work on Bomber, but as it seemed to me so far, in order to
> port the game I have to modify several classes, such as BomberGameWidget
> and BomberBoard. I'm trying to not touch the client code for
> BomberGameWidget but it looks like it will increase code ambiguity
> and redundancy.

You will of course have to touch the non-rendering code as well.
Remember that most of our games were never written with clean
model-view separation as a target. (In fact, the only game which I
remember does this is KNetWalk.)

Add to that that BomberGameWidget inherits KGameCanvasWidget so it's
absolutely impossible not to change this class in a fundamental way
when porting away from KGameCanvas.

Always act rationally, but don't be shy.

Greetings
Stefan


More information about the kde-games-devel mailing list