The time now is Wed 22 May 2013, 12:45
All times are UTC - 4 |
| Author |
Message |
01micko

Joined: 11 Oct 2008 Posts: 7018 Location: qld
|
Posted: Mon 20 Jun 2011, 08:28 Post subject:
dice roller Subject description: Have you lost your dice? This app can help! |
|
Hi all,
This is a really simple dice roller app in case you lost your Monopoly dice or your pop-O-matic wore out.
It's probably the closest I'll ever come to programming anything to do with any game!
Technical jargon
What this actually is is a demonstration of the new abilities given gtkdialog thanks to thunor and of course zigbert.. (for keeping the faith ). It can be checked out through svn here
For the rest of us
The gtkdialog3.gz file attached below is needed for roll_the_dice to work
I have already compiled an exec for the current revision of gtkdialog (r17 at time of posting, edited 20110626) but I will not offer it as a .pet. Instead I'll supply a gzipped exec and a script to install and backup your original incase things go wrong. (which they shouldn't)
The script will download to the same place as the gzipped gtkdialog file and you can just click it to install the new gtkdialog and then install and use the roll_the_dice pet. The pet has a menu entry in 'Fun'. It also has the option of one die or two dice.
If it fails and your gtkdialog seems broken you can run the gtkdialog_install script with the '-r' option to restore your original gtkdialog.
| Code: | | ./gtkdialog_install -r | in the directory where you saved the download.
Have fun!
EDIT -if you had trouble with the gtkdialog3 exec I have compiled a new one as of 2011/06/24 in puppy-431 for compatibility, tested in 431, wary-512 and spup, should be ok in lupu
EDIT 20110626 up to r17 for gtkdialog
| Description |
compiled in 431 r17
|

Download |
| Filename |
gtkdialog3.gz |
| Filesize |
50.08 KB |
| Downloaded |
160 Time(s) |
| Description |
|
| Filesize |
22.39 KB |
| Viewed |
700 Time(s) |

|
| Description |
|

Download |
| Filename |
roll_the_dice-0.1.pet |
| Filesize |
19.9 KB |
| Downloaded |
168 Time(s) |
| Description |
|

Download |
| Filename |
gtkdialog_install.tar.gz |
| Filesize |
337 Bytes |
| Downloaded |
141 Time(s) |
| Description |
|
| Filesize |
12.91 KB |
| Viewed |
705 Time(s) |

|
_________________ keep the faith .. 
Last edited by 01micko on Sat 25 Jun 2011, 20:23; edited 4 times in total
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1230 Location: Ukraine
|
Posted: Mon 20 Jun 2011, 10:07 Post subject:
nice work |
|
Dear 01micko,
Very nice proof of concept - with dynamically loading pixmaps. There will be applications making good use of this feature.
With kind regards,
vovchik
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7018 Location: qld
|
Posted: Fri 24 Jun 2011, 21:39 Post subject:
|
|
Thanks vovchik
While I was on a roll ( ) I made an actual game! Again using the new functionality given gtkdialog.
It's called Pmatchemup and is a very simple memory game.
It uses existing puppy images. The only requirement other than the new gtkdialog is that you have at least 8 images in /usr/share/backgrounds
More fun in only 2.5K (35K installed)!
Anyone feel free to hack/improve or whatever and post results here.
edit; bug in 431, new version 1.1
| Description |
|

Download |
| Filename |
pmatchemup-1.1.pet |
| Filesize |
2.56 KB |
| Downloaded |
170 Time(s) |
| Description |
|
| Filesize |
51.64 KB |
| Viewed |
580 Time(s) |

|
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|
[ Time: 0.0465s ][ Queries: 13 (0.0083s) ][ GZIP on ] |