Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

Let It Ride Poker Game

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-14-2009, 05:15 PM
Senior Member
 
Join Date: Apr 2007
Location: Arlington, Washington USA
Posts: 180
Default Let It Ride Poker Game

Let It Ride is a poker game popular in many casinos. I enjoy the game, but being a cheapskate, I wrote this program so I can play for free.

Compiled with autoscale and on my emulator works fine in both QVGA and VGA modes.

Playing instructions are accessible through the help menu. Please let me know if you find any bugs.

Enjoy
---------
15 Nov: Posted version 1.1 with larger cards and other misc. tweaks.
Attached Images
File Type: jpg LIRss.jpg (16.4 KB, 39 views)
File Type: jpg LIR_11.jpg (18.7 KB, 13 views)
Attached Files
File Type: zip LIRV11.zip (217.3 KB, 47 views)

Last edited by dlfallen : 11-16-2009 at 04:26 AM. Reason: Minor program changes
Reply With Quote
  #2 (permalink)  
Old 11-16-2009, 04:38 AM
Senior Member
 
Join Date: Apr 2007
Location: Arlington, Washington USA
Posts: 180
Default

Alas, my eyes were not up to the small graphics, so I increased the size of the cards. I also made a small change to the aspect ratio which made a small improvement in the graphics. I made a few other minor tweaks including the height of the payoff table - in the original there were no scroll bars when executing in the IDE, but the scroll bars were there in the compiled version. See the original post for the updated files.

What is interesting is that even when the QVGA version of the payoff table had no scroll bars, the scroll bars were there running under VGA resolution. It turned out that the VGA version needed a PayOffTable.Height 6 pixels more than the when running on a QVGA device. I handled this with IfScreenScaleX = 2Then PayOffTable.Height = PayOffTable.Height + 6.

It sure is a pain when the display in the IDE is different than in the desktop, and different on a QVGA device and different yet on a VGA device (the QVGA screen was autoscaled). If I had time I'd try to figure out all the relationships so I wouldn't spend so much time on trial and error.

Don't take my whining too seriously -- Basic4ppc is still the cat's meow!
Reply With Quote
  #3 (permalink)  
Old 11-18-2009, 02:41 AM
Junior Member
 
Join Date: Oct 2009
Posts: 32
Awards Showcase
Beta Tester 
Total Awards: 1
Default

Nice Program, I especially like the way you handle the shuffling process.
Reply With Quote
  #4 (permalink)  
Old 11-18-2009, 08:01 PM
Junior Member
 
Join Date: Oct 2009
Location: London
Posts: 43
Default

This is great thanks for posting it.

I hope you don't mind I made a finger friendly wide screen (400x240) version of the game for my touch HD.

I've looked around these forums but not seen a way to programmatically identify a wide screen device, I have a touch HD (800x480), what I am doing in a (freeware) game I am developing (muddling through) is put extra non essential game stuff in the HD area of the screen so on a normal device I think it will just be off screen, but HD devices get to see the extras...

Any way thanks again.
Reply With Quote
  #5 (permalink)  
Old 11-19-2009, 01:03 AM
Senior Member
 
Join Date: Apr 2007
Location: Arlington, Washington USA
Posts: 180
Default

Simontelescopium,

Actually, you can detects wide-screen devices. See this thread: http://www.basic4ppc.com/forum/quest...detection.html

A simple way to do it is to have a global variable (say WideScreen) and then in Sub App_Start have the line If Form1.Height/Form1.Width > 1.4 then WideScreen = True else WideScreen = False.

You could also test for a square device if desired (the above ratio would be less than 1).

Of course I don't mind people modifying code to meet their own needs. That's one of the reasons I post code with my programs.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Game and keys pmu5757 Questions (Windows Mobile) 13 06-01-2008 03:56 PM
A little game I put together ...... taximania Share Your Creations 0 12-30-2007 07:48 PM
New game maxtillberg Share Your Creations 1 10-29-2007 09:27 PM
[GAME] Merchants legugusse Share Your Creations 4 07-11-2007 08:36 AM
Game jorgerhv Share Your Creations 0 05-20-2007 12:09 AM


All times are GMT. The time now is 12:25 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0