dantay9 Posted August 16, 2009 Posted August 16, 2009 (edited) I saw Xenobiologist and theguy0000 made some very functional yahtzee games, but I was very disappointed with their graphics (probably because these were made a while ago). I was going to just remake the gui and combine the best qualities of each script, but I got so far into it that there is absolutely no resemblance. I got many of the pictures as screenshots from a yahtzee game for pocket pc's. This is not nearly done, but I thought I would post it and see what you guys think.The images don't always work, that will be fixed in later versions. I also have not completed the help file. I will include the rules, strategies, and contributors. Don't worry, if I used your code, you will be acknowledged in the help file. Here is the todo list:-- GUIGetMsg will replace GUIGetCursorInfo (for speed)-- Installation will have the options for source code, images, or images compiled into a dll.-- Inverting the selection of the dice (selected dice are rolled, not held)-- Better sounds. (If you have a good sound, post a link to the sound)-- Universal font or using font without installing it-- Clearer pictures-- My own Installer (right now, I use InstallCreator so features are limited) No longer needed-- Update script that allows you to keep your current high scores and settings.-- Smoother new user menu-- Low Score doesn't work-- Every so often some of the dice and the roll button disappearI probably won't make an installer or a completed help file until the game is fully functional. If I forgot you in the partial help file, notify me and you will be included.This won't get done in the next version, but eventually, this will make a great game. I am open to any suggestions that will make the game better.The updater layout came from here. The zip function came from here. Compile the script and put it in the same directory as Yahtzee!.exe. The picture probably won't appear until after the first update. This updater can also be used as an installer.Full Download Available Here.Download available here.3/31/10: Currently under revision to iron out flawsEdit: Updated download link. The updater no longer works. Edited May 5, 2012 by dantay9
smashly Posted August 17, 2009 Posted August 17, 2009 Hi, thank you for sharing your efforts it's looking good >_< With a bit more polishing it'll look quite professional. Keep up the good work. Suggestions: Not sure but I think you can use a font without installing it on a pc. If so then maybe use the font without installing it on the system. With your installer you might want to add a shortcut to the yahtzee game itself. I noticed once installed I only had a shortcut to the uninstaller in my start menu programs. (Tried it on a winXP SP3 x86 pc) With your graphics maybe make them the size that the gui/control will be. This way the images stay nice and sharp and crisp when set to a control. As it is the some of the images get stretched to fit the gui/controls so they lose the crispness. Speed up the control clicks. Controls seem a little slow to respond when clicked. Since your including the source (which I really appreciate thank you) maybe include all functions/includes like Icon.au3, _SetImage, _PointInEllipse, _GuiRoundCorners .... etc If just makes so others can compile the source without wondering what they've missed. Myself I know the functions, it might save ppl having to search the forum for them. (sorry if I missed them, but I didn't really see them in the source) Cheers
dantay9 Posted August 17, 2009 Author Posted August 17, 2009 (edited) Thank you for the detailed analysis smashly. I am working on the speed. The reason some of the buttons are slow to react is that they aren't buttons at all. They are part of the background. I just use the GUIGetCursorInfo in place of GuiGetMsg. Since this was the very first version, I was just hopinig it would work. Now I can polish it up and make it look better. I am planning on providing the source in separate files such as it is now, but also have a combined version that can be run as a standalone. It would be much easier to deal with. Edited August 19, 2009 by dantay9
Yashied Posted August 17, 2009 Posted August 17, 2009 Good work, dantay9. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
dantay9 Posted August 19, 2009 Author Posted August 19, 2009 (edited) Updated! Fixed the lag for the buttons on the new user screen. Loaded all the guis at the beginning of the script. Changed all guigetcursorinfo calls to guigetmsg by using pictures as buttons instead of coordinates. which increased speed. I think Arial Black is a universal font, so I changed the default font to that. The buttons are now clearer. Merged the scripts together to make a single script for the game. Moved todo list to first post. It took a while to merge the scripts together, so if something doesn't work correctly, I probably forgot something. Edited August 19, 2009 by dantay9
Xenobiologist Posted August 19, 2009 Posted August 19, 2009 Hi, after setting the points to whatever, you can automatically start the next roll. This makes the game a bit faster. Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
dantay9 Posted August 19, 2009 Author Posted August 19, 2009 Good idea xenobiologist. Updated script.
UEZ Posted August 19, 2009 Posted August 19, 2009 (edited) I don't know Yahtzee! but it looks nice! Thanks for sharing! UEZ Edited August 19, 2009 by UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ
Prashant Posted August 20, 2009 Posted August 20, 2009 It says the ZIP folder got some Errors in opening..My system possess 6 GB Ram/500GB HD/Core Duo..(Home Based Vista) Premium simply.. NOD 32 Ver.4 as my AnitVirus..It shows some Errors..Is there any way to open it or obtain it..There is no way i got error in my PC.. Because i always take it to maintainance 2 time per 3 MONTH..So, mine PC is clear. Everyone of you say that the game is good but i also want to play that game can u help me open the Game.?!* Its a reQuest from me. >_<
dantay9 Posted August 20, 2009 Author Posted August 20, 2009 (edited) I have ESET Smart Security 4 and I don't have any problems (but I do have Windows XP). Are you having trouble opening the zip files generally? Is your antivirus saying there is a virus inside the zip folder? Try disabling your antivirus long enough to download the zip file and unzip the contents. Then turn your antivirus back on. See if you can run the program then. If not, it should be much easier to find the exact file causing the virus alarm to be tripped. Edited August 20, 2009 by dantay9
dantay9 Posted August 21, 2009 Author Posted August 21, 2009 (edited) Added updater to first post and low score works now. I have noticed that every so often, some of the dice will disappear. Sometimes the roll button will also disappear. Is anyone else experiencing this or know how to fix it? Edited August 21, 2009 by dantay9
dantay9 Posted August 22, 2009 Author Posted August 22, 2009 (edited) OK, posted the executables for download and the source on the forum. Recoded the updater so that if needed, the updater could also be reinstalled or I could even update the updater. Added the option to select the dice to roll instead of the dice to hold. Edited August 22, 2009 by dantay9
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now