IonicWind Software

IWBasic for Linux => General IWLP Discussion => Topic started by: Ionic Wind Support Team on February 26, 2007, 10:44:50 PM

Title: New test program
Post by: Ionic Wind Support Team on February 26, 2007, 10:44:50 PM
Here is the next test program from Linux.  After downloading rename to remove the zip extension, chmod to make it executable and either double click to run or from a terminal use ./keno

This is the keno game from Emergence.  It is the first test executable using controls.  It will probably look vastly different on your system if you don't have the msttcorefonts package installed.  msttcorefonts includes fonts such as Ariel, Courier, Times, Verdana, etc.  I would be interested in screen shots from systems without those fonts, just to see how the pango font manager maps it.

I picked this example because it covered a lot of the core drawing commands of Emergence. 

There are a few idiosynchracies still.  One you will notice is when a button is disabled and reenabled that you have to move your mouse pointer off of the button and back on in order to click on it again.  Still trying to figure that one out, GTK's buttons are a little oddball and are not based on a real window, so getting them to draw and respond correctly was a pain. 

At this point I have a couple of hundred hours into the Linux project.  Not bad progress considering all the other programming I have to do ;) 

Paul.
Title: Re: New test program
Post by: Doc on February 27, 2007, 04:31:49 AM
Nifty!

...although I have no idea what the rules and objectives of Keno might be, it all seems to be working none the less. I'd post a screenie, but I've already installed the core fonts. ::)

-Doc-
Title: Re: New test program
Post by: Ionic Wind Support Team on February 27, 2007, 07:04:25 AM
Pick 1 to 10 balls, chose your bet, and hit 'start'.  The payout is shown on the right.  Keno is the same as 'Pick-10' in most states.  The draw picks 20 balls out of 80 randomly.   You have to like lotto games to really enjoy programs like this. 

The credits are arbetrary.  If you think of them as quarters then the maximum payout for matching all ten balls on max bet is $50,000



Title: Re: New test program
Post by: Ionic Wind Support Team on February 27, 2007, 02:26:09 PM
Any other comments or issues?  Screen shots?
Title: Re: New test program
Post by: Rock Ridge Farm (Larry) on February 27, 2007, 03:49:41 PM
I am out of town with only this windoz box. Will test Friday when I get home.
Title: Re: New test program
Post by: Blue Steel on February 27, 2007, 09:43:29 PM
Where are the sounds.. lol you can't have keno without sounds LOL (only joking)

Its all working.. slight glitch where you need to click elsewhere in window before hitting the start button after each run.. ie: hitting start. then hitting start again the start button doesn't register until you first click elasewhere in the window (not necessarily on another option.. ie: it can be anywhere including just on the BG).

here are 2 screen scots.. again remember i'm using Mandriva linux 2007
Title: Re: New test program
Post by: Ionic Wind Support Team on February 27, 2007, 09:45:19 PM
Yes I meantioned about the buttons not responding after being reenabled in the first post.  You don't need to click anywhere, just move the mousepointer off of the button and back onto it.  Thanks for the screenshots ;)
Title: Re: New test program
Post by: Tom Cone Jr on March 03, 2007, 09:08:40 AM
Ok, here's screenshot from Ubuntu 6.

This is my first experience with Linux, and it took a bit of research to figure out how to make the download executable.  Turns out using the Gnome desktop it was simply a matter of right clicking the shortcut (after removing the file extension), and then using the Properties option to make the object executatble. 

Then had to figure out how to take a screenshot, and then get Firefox going. 

I'm slowly inching up the Linux curve.

-- tom
Title: Re: New test program
Post by: JimH on March 05, 2007, 08:54:45 PM
I haven't been able to figure out how to get a screen shot yet.  :-[  Yeah, one of these days...

I have successfully tried all the example programs including this one on Xubuntu 6.06 (Ubuntu with the low-overhead Xfce GUI).

   <*> Jim
Title: Re: New test program
Post by: Marco Lohnen on April 03, 2007, 07:14:33 AM
runs perfect under latest Ubuntu beta
Title: Re: New test program
Post by: ExMember001 on May 06, 2007, 04:28:30 PM
a little late but it work perfect on Ubuntu 7.04 ;)
is the linux compiler to be release soon?
Title: Re: New test program
Post by: Allan on July 18, 2007, 09:57:31 PM
Screenshot from Ubuntu 7.04. Thu July 19 after all updates performed. And only the GTK2 libs as extras.

(http://img468.imageshack.us/img468/2531/screenshotkenoan5.png)

Allan