keen Posted October 22, 2006 Share Posted October 22, 2006 This is a Chao Adventure from Sonic Adventures. Made by request of my lil Bro. This is Beta V 1.4 I will keep on updating this from time to time. expandcollapse popup#include <GUIConstants.au3> GUICreate("Runner 101", 750, 750) GUISetState (@SW_SHOW) GUICtrlCreateTab(1, 70, 750, 700) $tab1 = GUICtrlCreateTabItem("Lobby") GUICtrlCreateLabel ( "Welcome to the lobby. Please browse around at the different gardens or create your own my pressing the Create New Garden button. Have Fun.", 100, 100, 375, 100) $tab2 = GUICtrlCreateTabItem("Nutral Garden") GUICtrlCreateLabel ( "Welcome to the Nutral Garden.", 100, 100, 375, 100) $chaos1 = GUICtrlCreateLabel ( "Current Chaos In Garden: ChaCha", 150, 150, 375, 100) $tab3 = GUICtrlCreateTabItem("Dark Garden") GUICtrlCreateLabel ( "Welcome to the Dark Garden.", 100, 100, 375, 100) $Chaos2 = GUICtrlCreateLabel ( "Current Chaos In Garden: Shadow", 150, 150, 375, 100) $tab4 = GUICtrlCreateTabItem("Hero Garden") GUICtrlCreateLabel ( "Welcome to the hero Garden.", 100, 100, 375, 100) $Chaos3 = GUICtrlCreateLabel ( "Current Chaos In Garden: Eggy", 150, 150, 375, 100) $tab5 = GUICtrlCreateTabItem("Buy Chaos") $Nutral = GUICtrlCreateButton( "Buy Nutral Chao", 150, 120, 110, 30) $Dark = GUICtrlCreateButton("Buy Dark Chao", 150, 150, 110, 30) $hero = GUICtrlCreateButton("Buy Hero Chao", 150, 180, 110, 30) ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() Select Case $msg = $Dark $Dark2 = InputBox ( "Name", "Please enter a name for your new dark chao:") if not @error then guictrlsetdata($chaos2, guictrlread($chaos2) & ", " & $dark2) Case $msg = $Nutral $Nutral2 = InputBox ( "Name", "Please enter a name for your new nutral chao:") if not @error then guictrlsetdata($chaos1, guictrlread($chaos1) & ", " & $Nutral2) Case $msg = $hero $hero2 = InputBox ( "Name", "Please enter a name for your new hero chao:") if not @error then guictrlsetdata($chaos3, guictrlread($chaos3) & ", " & $hero2) EndSelect If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
this-is-me Posted October 22, 2006 Share Posted October 22, 2006 You do realise that this "program" throws away all the "chao" when you close it, right? Who else would I be? Link to comment Share on other sites More sharing options...
keen Posted October 22, 2006 Author Share Posted October 22, 2006 Yea. Thats why its beta. Its going to have lots more after time. [center]Kesne's Bar & Grill[/center] Link to comment Share on other sites More sharing options...
this-is-me Posted October 22, 2006 Share Posted October 22, 2006 ..during which time you will (naturally) expect the entire community to do the rest of the scripting for you. Who else would I be? Link to comment Share on other sites More sharing options...
spyrorocks Posted October 22, 2006 Share Posted October 22, 2006 Haha LOL For saving stuff, you should use INI. Its easy to use. Look in the helpfile for ini functions. [center] My Projects: Online AutoIt Compiler - AutoForum - AutoGuestbook - AutoIt Web-based Auto Installer - Pure AutoIt Zipping Functions - ConfuseGen - MindReader - P2PChat[/center] Link to comment Share on other sites More sharing options...
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