Mulkaar Posted June 14, 2009 Author Share Posted June 14, 2009 **Making Your Game Unique, A Collection of Tutorials - By The Magician**_Hello All. Following on from my previous Tutorial http://www.touchofdeathforums.com/smf/index.php/topic,42744.0.html I have started writing the next step to this tutorial Saga. So. You have you game. Its a normal run of the mill MMORPG. What now? Well over the next weeks I will be adding different tutorials to help give you inspiration and brand new features! All tutorials here are made by me unless specified. No tutorial may be claimed as your own unless the author says so._**Adding New Main Menu Functions (A Story and a World Map)**You Will Need:Eclipse Source 2.7VB6An IMG of a StoryAn IMG of a World MapTo Read This Tutorial Carefully_In this tutorial partly inspired by Ambardia Online by Ambard and Richy I'm going to show you how to add functions to your main menu which gives the user the ability to read the games background and look at the world map! Please note that I'm a complete beginner to VB6 and so I did this the way I saw easiest possible. Lets begin!_1.Open up your **Eclipse 2.7 Source File**![](http://i485.photobucket.com/albums/rr213/Mulkaar/EclipseSource.png)2.Find the form **frmMainMenu**![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6Forms.png)3.Go to the left and add a new **Command Button**![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6CommandButton.png)4.Drag out the **Command Button** to the required size.![](http://i485.photobucket.com/albums/rr213/Mulkaar/CommandButton.png)5.**Copy and Paste (CTRL+C then CTRL+V)** the Command Button so you have two. Place them in a neat row or column.![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB62CommandButtons.png)6.Now click on the **Left Button** and a little box will appear on the bottom right, change the **NAME** to WorldMapButton. And the **Right Button** to StoryButton.![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6NameChange.png)7.Now on the same button find the **CAPTION** and change it to World Map for the WorldMapButton and Story for the StoryButton.![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6CaptionChangeRealName.png)8.Now goto **Project>New Form>Open**. Do this twice so you have Form1 and Form2![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6ToolbarProject.png)![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB62NewForms.png)9.Left Click Form1 and **Right Click>Properties**. Change the **NAME** to frmWorldMap and the **CAPTION** to World Map. Now Left Click Form2 and **Right Click>Properties**. Change the **NAME** to frmStory and the **CAPTION** to Story.![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6ChangingFormNameWorldMap.png)10.Now **Double Left Click** frmWorldMap and you'll see a window! Goto the bottom right corner and find **PICTURE** when it asks for a picture click the **(…)** and **BROWSE** for your picture of your picture of the world map. Then click **OPEN**! You should have something like this:![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6AddWorldmapPicture.png)![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6WorldMapResizeForm.png)11\. **SELECT** the form and **RESIZE** it to the required size.![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6WorldMapTrueForm.png)12\. Now **DOUBLE CLICK** the frmStory and you'll have another form like this:![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6StoryForm.png)13\. **RESIZE** it too a bigger size for the moment.14\. Now goto the Toolbar on the left and add a **PICTURE** and **BROWSE** for the picture of your story. And **OPEN** it. Move it around so it fits nicely. **SELECT** the Whole Form and goto the bottom right. Change the Background Fill to the colour of your Story background (In my case, white). Now Here I also **ADDED** two more pictures, an old man for that storytelling feel and a Title to make it seem even more Fairytale like:![](http://i485.photobucket.com/albums/rr213/Mulkaar/Vb6StoryFinished.png)15\. Now **DOUBLE CLICK** frmMainMenu and then double click the Button (World Map) now you'll see you have a script here. Where it says Private Sub WorldMapButton_Click (…) is where you want to add script. So. Underneath that line and above the End Sub line. Write frmWorldMap.Visible = True and then space it in so it looks like mine:![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6AddingtheWorldMapScript.png)16.Now go back to frmMainMenu but this time **DOUBLE CLICK** the Button (Story) you'll see another script along the same lines as above. This time add Where it says Private Sub frmStory_Click (…) is where you want to add script. So. Underneath that line and above the End Sub line. Write frmStory.Visible = True and then space it in now it should look like this:![](http://i485.photobucket.com/albums/rr213/Mulkaar/Vb6BothScripts.png)17.Almost finished! Goto **File>Save As** and save it under whatever name you wish. Then goto **File>Make Client.exe** And Save it under a new name when prompted (in this case Test.exe). Wait for it to load then when you're sure its done. Click close! If prompted to save again then do under a new name and always save again before closing just incase!![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6MakingExe.png)18.Now open up your **Eclipse Source 2.7 Folder** and open Test.exe you should now have a main menu like this:![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6theNewMainMenu.png)19.Now click on the World Map Button! Wow! Did a whole new window with your World Map just pop up? Cool huh!?![](http://i485.photobucket.com/albums/rr213/Mulkaar/Vb6WorldMap.png)20\. Now try the Story Button! Wait what? A Whole new Story Window just popped up too? Now you can read it! Cool huh?! Just close either window by clicking the X in the top right corner!![](http://i485.photobucket.com/albums/rr213/Mulkaar/VB6Finish.png)–-----------------------------------------------------------------------------------------------------------------------------------------------------------------_Well that's all for now Folks! I really hope you enjoyed reading and doing this as much as I did. Seriously VB6 is soo easy to edit your GUI etc! Try it and mess around with a new Client I hope this is a start of great inspiration for you guys. **If there are any tutorials you want doing then post here and I'll try to cover it! Please no "Scripting Questions such as I need help with this script etc. Any problems? Post here!"**_**Regards,The Magician** Link to comment Share on other sites More sharing options...
manbearpig Posted June 14, 2009 Share Posted June 14, 2009 Nicely done!!!Great job! Link to comment Share on other sites More sharing options...
Mulkaar Posted June 14, 2009 Author Share Posted June 14, 2009 Thank you. :D Link to comment Share on other sites More sharing options...
jna Posted June 14, 2009 Share Posted June 14, 2009 This is a very good and complete tutorial. Good Job! Link to comment Share on other sites More sharing options...
Harris6310 Posted June 14, 2009 Share Posted June 14, 2009 Nice tutorial for people starting out with VB6. Link to comment Share on other sites More sharing options...
Skell Posted June 14, 2009 Share Posted June 14, 2009 This should be moved to http://www.touchofdeathforums.com/smf/index.php/board,34.0.html and put into the sticky thread. Link to comment Share on other sites More sharing options...
Mulkaar Posted June 14, 2009 Author Share Posted June 14, 2009 @Jna:> This is a very good and complete tutorial. Good Job!@[6310:> Harris link=topic=46379.msg471296#msg471296 date=1244999497]> Nice tutorial for people starting out with VB6.Thanks more are to be coming soon.@☺Skell:> This should be moved to http://www.touchofdeathforums.com/smf/index.php/board,34.0.html and put into the sticky thread.Skell it's posted here because my other tutorial, Creating a Game - Compiled by The Magician is stickied here so I thought it'd be better.Anyway thanks for the positive comments :D Link to comment Share on other sites More sharing options...
ddunit Posted June 14, 2009 Share Posted June 14, 2009 Where'd you get that theme, looks cool.I wuv the tuts, btw. Link to comment Share on other sites More sharing options...
Mulkaar Posted June 14, 2009 Author Share Posted June 14, 2009 The theme? Its for Windows XP Only. http://www.worldofwarcraft.com/downloads/other-downloads.htmlIt's the WoW Desktop Theme :DAnd thanks. Im hoping for this to be stickied as well. Link to comment Share on other sites More sharing options...
Alatar Posted June 14, 2009 Share Posted June 14, 2009 Nice tut :D Link to comment Share on other sites More sharing options...
Mulkaar Posted June 14, 2009 Author Share Posted June 14, 2009 Why thank you. Link to comment Share on other sites More sharing options...
Drummerpete Posted June 14, 2009 Share Posted June 14, 2009 this is awesome. +10 points. Link to comment Share on other sites More sharing options...
ddunit Posted June 14, 2009 Share Posted June 14, 2009 And that counts up to a total of 20 points. Link to comment Share on other sites More sharing options...
dao Posted June 15, 2009 Share Posted June 15, 2009 nice dude Link to comment Share on other sites More sharing options...
Mulkaar Posted June 15, 2009 Author Share Posted June 15, 2009 Cheers guys. Before I start adding new tutorials Anything else wanting to be covered?**Admin Note:**Please take this out of the VB6 Tutorials. As this is not just going to be a VB6 Tutorial thats just one. please move back into General Chat. Regards,Magician. Link to comment Share on other sites More sharing options...
balliztik1 Posted June 15, 2009 Share Posted June 15, 2009 General chat's no place for a tutorial. I'll move it into the regular tutorials section for now. You might consider splitting this into two tutorials, though. One for the source edits, one for those you can do without VB6. Link to comment Share on other sites More sharing options...
zemon Posted June 15, 2009 Share Posted June 15, 2009 i dont got the project so its a normal file not a vbp :( i can select wat it will open with but i dont got the file so i cant open Link to comment Share on other sites More sharing options...
Mulkaar Posted June 16, 2009 Author Share Posted June 16, 2009 @zemon:> i dont got the project so its a normal file not a vbp :( i can select wat it will open with but i dont got the file so i cant openIm sorry? If you mean you cant find the source click on downloads and download the Eclipse Source. :D Link to comment Share on other sites More sharing options...
jdf318 Posted June 16, 2009 Share Posted June 16, 2009 lol, i find it funny on how a tut labeled "how to make your game unique" gicontradicts itself Link to comment Share on other sites More sharing options...
Mulkaar Posted June 17, 2009 Author Share Posted June 17, 2009 @jdf318:> lol, i find it funny on how a tut labeled "how to make your game unique" gi> contradicts itselfHaha how? :D :? Link to comment Share on other sites More sharing options...
xboohyaahx Posted June 28, 2009 Share Posted June 28, 2009 @The:> Im sorry? If you mean you cant find the source click on downloads and download the Eclipse Source. :DErr i think i have the same problem. When i open the Editor/Server.vpw/.vpb files…(I opened all 4 seperately)And they each came up as text documents.. Instead of what you got.(Files that you can click and drag.)Messege me if you can help plz.On Another Note: You can do this without VB6? If so could u tell me how? Link to comment Share on other sites More sharing options...
Mulkaar Posted June 29, 2009 Author Share Posted June 29, 2009 Goto Google.com then type VB6 and download it. Then open the source files :D Link to comment Share on other sites More sharing options...
xboohyaahx Posted June 30, 2009 Share Posted June 30, 2009 Lolz i did that. I opened it in VB and it was still text.Maybe its cuz i have ''Microsoft Visual Basic 2008 Express Edition''? Link to comment Share on other sites More sharing options...
Mulkaar Posted June 30, 2009 Author Share Posted June 30, 2009 Most likely. Link to comment Share on other sites More sharing options...
Drummerpete Posted June 30, 2009 Share Posted June 30, 2009 You NEED VISUAL BASIC 6.ANY other Visual Basic Version will NOT WORK. 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