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 Sun 26 Oct 2014, 03:11
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 Posts_count  
Author Message
01micko


Joined: 11 Oct 2008
Posts: 7836
Location: qld

PostPosted: Mon 20 Jun 2011, 08:28    Post_subject:  dice roller
Sub_title: 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  226 Time(s) 
the_app.png
 Description   
 Filesize   22.39 KB
 Viewed   865 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  241 Time(s) 
gtkdialog_install.tar.gz
Description 
gz

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

setup.png


_________________
Woof Mailing List | keep the faith Cool |

Edited_times_total
Back to top
View user's profile Send_private_message Visit_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: 7836
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  250 Time(s) 
pmatchemup.jpg
 Description   
 Filesize   51.64 KB
 Viewed   768 Time(s)

pmatchemup.jpg


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0471s ][ Queries: 13 (0.0038s) ][ GZIP on ]