List Info

Thread: KGoldrunner




KGoldrunner
country flaguser name
Italy
2007-07-20 04:31:04
Hi all, 
some of you already know that I've been doing some work on
KGoldrunner, and 
I'd like to let you know how things are progressing.

The visible changes so far are:
- The hero graphics for the default level have been tweaked
to look a bit 
  more natural.
- It is now possible to have different backgrounds in each
theme; the 
  game will rotate between the available background when
changing level.
- There are now fadein and fadeout effects on level change.
- The Full Screen standard action is now supported by
KGoldrunner.

Things I'd like to have in KDE 4.0
- Change the theme format.
- Sound support.
- Cleanup the GUI.

However, I'm leaving for a two week trip next sunday, so
I'll not be able to 
work on KGoldrunner until the 6 of august. So sound support
will probably 
be shifted to 4.1, but I think at least the theme format
change should 
happen now, so that it will not need to change again in KDE
4.1

Things I'd like to do with regard with theming is:

- I'd like themes to include sound effects, so having themes
in the 
  picts directory looks a bit weird.
- I'd like to split hero and enemy frames out of the main
svg file; many 
  themes could use the same animation graphics, which are
the hardest 
  part to draw.
- I'd like to have themes inherit from other themes.
- I'd like themes to be downloadable with the hot new stuff
mechanism.

With this in mind, I'd like to have themes moved from picts
to theme, and 
have theme elements grouped in a subdirectory. The layout
should be 
something like:

share/apps/kgoldrunner/themes/default.desktop
share/apps/kgoldrunner/themes/default/hero.svg
share/apps/kgoldrunner/themes/default/enemy.svg
share/apps/kgoldrunner/themes/default/building-blocks.svg
share/apps/kgoldrunner/themes/default/dig.ogg
share/apps/kgoldrunner/themes/default/level-completed.ogg
...
and so on.

the .desktop file would have to have references to the files
in the 
subdirectory, and it should have an "Inherit"
entry stating which other 
theme it is based on.

The inerithing mechanism, knewstuff and sound support may
wait for next 
version, but I feel not having the layout changed now could
be problematic,   
if we expect people to create their own themes.

Luciano
_______________________________________________
kde-games-devel mailing list
kde-games-develkde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel

Re: KGoldrunner
country flaguser name
Australia
2007-07-21 00:04:16
On Fri, 20 Jul 2007 07:31 pm, Luciano Montanaro wrote:
> - There are now fadein and fadeout effects on level
change.
>
Wow, Luciano, that *was* a nice surprise! 

> Things I'd like to have in KDE 4.0
> - Change the theme format.
>
The games seem to be fairly evenly divided between
"pics",
"themes" and no graphics subdir at all, at the
moment, but I see
no reason not to move "pics" to "themes"
in KGoldrunner SVN.
It would affect only about 4 lines of code.

For subdirs below "themes", I can see your point,
especially
when it comes to sound files.  I presume every sound has to
be a separate file.  However, I think the present *.desktop
file
format could handle what you propose just by having entries
like:

    FileName=default/kgr_default.svg
    DigSound=default/dig.ogg
    RunnersFile=common/kgr_runners.svgz

> However, I'm leaving for a two week trip next sunday,
so I'll not be able
> to work on KGoldrunner until the 6 of august.
>
Have a great trip, Luciano!

Cheers, Ian W.

_______________________________________________
kde-games-devel mailing list
kde-games-develkde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel

Re: KGoldrunner
country flaguser name
Italy
2007-07-21 04:34:01
On sabato 21 luglio 2007, Ian Wadham wrote:
> On Fri, 20 Jul 2007 07:31 pm, Luciano Montanaro wrote:
> > - There are now fadein and fadeout effects on
level change.
>
> Wow, Luciano, that *was* a nice surprise! 

I'm glad that you like it. I hope it's fast enough now for
most computers. If 
not, there are a few tweaks that can still be implemented.

I discovered QTimeLine comes really handy for this kind of
things.
At the moment, the effects are started when the hero dies
and when a level is 
loaded. I did that mainly to test that things worked, and
I'm surprised there 
are no big problems with syncronization.

>
> > Things I'd like to have in KDE 4.0
> > - Change the theme format.
>
> The games seem to be fairly evenly divided between
"pics",
> "themes" and no graphics subdir at all, at
the moment, but I see
> no reason not to move "pics" to
"themes" in KGoldrunner SVN.
> It would affect only about 4 lines of code.
>
> For subdirs below "themes", I can see your
point, especially
> when it comes to sound files.  I presume every sound
has to
> be a separate file.  However, I think the present
*.desktop file
> format could handle what you propose just by having
entries like:
>
>     FileName=default/kgr_default.svg
>     DigSound=default/dig.ogg
>     RunnersFile=common/kgr_runners.svgz
>

That would work too, and it's easier to implement.

> > However, I'm leaving for a two week trip next
sunday, so I'll not be able
> > to work on KGoldrunner until the 6 of august.
>
> Have a great trip, Luciano!

Thank you. I think I will!

Luciano

-- 
Luciano Montanaro //
                X/ mikelimacirulla.net
_______________________________________________
kde-games-devel mailing list
kde-games-develkde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel

Re: KGoldrunner
country flaguser name
Italy
2007-07-21 11:36:21
On sabato 21 luglio 2007, Ian Wadham wrote:
> On Fri, 20 Jul 2007 07:31 pm, Luciano Montanaro wrote:
> > - There are now fadein and fadeout effects on
level change.
>
> Wow, Luciano, that *was* a nice surprise! 
>
> > Things I'd like to have in KDE 4.0
> > - Change the theme format.
>
> The games seem to be fairly evenly divided between
"pics",
> "themes" and no graphics subdir at all, at
the moment, but I see
> no reason not to move "pics" to
"themes" in KGoldrunner SVN.
> It would affect only about 4 lines of code.
>
> For subdirs below "themes", I can see your
point, especially
> when it comes to sound files.  I presume every sound
has to
> be a separate file.  However, I think the present
*.desktop file
> format could handle what you propose just by having
entries like:
>
>     FileName=default/kgr_default.svg
>     DigSound=default/dig.ogg
>     RunnersFile=common/kgr_runners.svgz

Ok, so far I've moved the themes to a themes directory, with
a directory for 
each of the svg themes. The rest of the changes can wait a
bit more, and it 
would be easy to extend the theme desktop file in a way that
lets it load the 
current themes.

>
> > However, I'm leaving for a two week trip next
sunday, so I'll not be able
> > to work on KGoldrunner until the 6 of august.
>
> Have a great trip, Luciano!
>
Will do, thanks, and see you all later in August!

Luciano

-- 
Luciano Montanaro //
                X/ mikelimacirulla.net
_______________________________________________
kde-games-devel mailing list
kde-games-develkde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel

Re: KGoldrunner
country flaguser name
Russian Federation
2007-07-22 08:15:11
On Saturday 21 July 2007 13:34, Luciano Montanaro wrote:
> I'm glad that you like it. I hope it's fast enough now
for most computers.
> If not, there are a few tweaks that can still be
implemented.
Reporting: Currently due to (locally) broken proprietary
nvidia driver, I have 
to use xorg's nv driver, and these animations are quite
slow.
Although the idea is great 

Perhaps you should apply your tweaks, or just consider my
situation to be a 
corner case and don't think about it 

Cheers,
Dmitry.
_______________________________________________
kde-games-devel mailing list
kde-games-develkde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )