Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Sep 2014, 12:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
dice roller
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: 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! Laughing

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 Wink ). 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
gtkdialog3.gz
Description  compiled in 431 r17
gz

 Download 
Filename  gtkdialog3.gz 
Filesize  50.08 KB 
Downloaded  222 Time(s) 
the_app.png
 Description   
 Filesize   22.39 KB
 Viewed   859 Time(s)

the_app.png

roll_the_dice-0.1.pet
Description 
pet

 Download 
Filename  roll_the_dice-0.1.pet 
Filesize  19.9 KB 
Downloaded  237 Time(s) 
gtkdialog_install.tar.gz
Description 
gz

 Download 
Filename  gtkdialog_install.tar.gz 
Filesize  337 Bytes 
Downloaded  203 Time(s) 
setup.png
 Description   
 Filesize   12.91 KB
 Viewed   831 Time(s)

setup.png


_________________
Woof Mailing List | keep the faith Cool |

Last edited by 01micko on Sat 25 Jun 2011, 20:23; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website 
vovchik


Joined: 23 Oct 2006
Posts: 1285
Location: Ukraine

PostPosted: 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
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7802
Location: qld

PostPosted: Fri 24 Jun 2011, 21:39    Post subject:  

Thanks vovchik

While I was on a roll ( Rolling Eyes ) 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
pmatchemup-1.1.pet
Description 
pet

 Download 
Filename  pmatchemup-1.1.pet 
Filesize  2.56 KB 
Downloaded  246 Time(s) 
pmatchemup.jpg
 Description   
 Filesize   51.64 KB
 Viewed   762 Time(s)

pmatchemup.jpg


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

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.0505s ][ Queries: 13 (0.0039s) ][ GZIP on ]