[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-games-devel
Subject:    Re: [Kde-games-devel] Questions about including a new game
From:       Jakob Gruber <jakob.gruber () gmail ! com>
Date:       2012-02-23 0:00:46
Message-ID: 4F4581AE.6050907 () gmail ! com
[Download RAW message or body]

On 02/22/2012 11:29 PM, Ian Wadham wrote:
>> You mentioned standard KDE
>> requirements, are these documented somewhere?
> =

> Yes. There are several tutorials, howtos and policies in techbase.kde.org
> and it might be a good idea to browse community.kde.org first.  There are
> standard requirements re main window, menus, documentation of your game,
> documentation of API (doxygen), translation of strings (i18n), storing an=
d finding
> data and graphics files, remembering previous setup (KConfigGroup), artwo=
rk,
> your own app's settings, keyboard setup, schedules,  feature lists, commi=
tting code,
> help menu =85 and on and on.
> =

> Re libkdegames you will need KStandardGameAction (standard menus and icons
> for Hint, Solve, Pause, etc.).  You might also need KGameRenderer if you =
have
> a lot of graphics and themes, but perhaps not.  SVG files can be slow to =
load
> and render or re-render if the main window gets resized.  If so, KGameRen=
derer
> makes caching of already-rendered graphics automatic, making the game much
> faster.

I spent some time today integrating KDE technologies. My master branch
now uses KApplication, KXmlGuiWindow, KDE i18n, KScoreDialog,
KGameDifficulty and KStandardGameAction.

I've also applied for a developer account. If the application is
approved, I will move the repository over to KDE hosting.

> =

> Last but not least, I suggest reading the code of an existing not-too-lar=
ge game,
> such as KDiamond, to find out what the various files are, what they do an=
d how
> they work together.

That's a good point. KSudoku and KMines have been a big help so far.

Please excuse my not replying to all points (including all other
replies), it's late and I need to get some sleep :)

Jakob

P.S.: I did read Stefan's mail about KgDifficulty, but I haven't gotten
around to setting up a kdegames trunk install yet and the changes from
KGameDifficulty -> KgDifficulty didn't look that daunting.
_______________________________________________
kde-games-devel mailing list
kde-games-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic