MMOCCForum

Full Version: [AS3]Building an MMOCC - Part 1
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
He's back! ColonD

Hey guys, this is xLite, here to get back into making tutorials which will help benefit you guys! ColonD I am hoping to create a series of tutorials that will help you step by step in making your own isometric MMOCC. First I am going to focus mainly on the client side of things (tile generation, walking etc) before moving onto making the client multiplayer using a server. So by the end of this series, you guys should be able to understand each aspect of the basic MMOCC and hopefully continue your learning further so that you can finally make the MMOCC you've always wanted.

In part 1 of the BAM series (catchy, right?), I only want to focus on our coding environment. I want to make sure that you are all in the same mindset as I am and will hopefully never walk into any restrictions due to your lack of knowledge with the environment. Here we go...

For this series I will be using the much loved FlashDevelop. If you have no idea what it is, don't worry, that's what this tutorial is here for. FlashDevelop (http://www.flashdevelop.org/) is a free alternative to the Adobe Flash IDE and makes development a whole lot easier without the cluttered screen, program freezing and constant crashing that seems to happen just before you manage to save your work. Emo FlashDevelop eliminates all these problems by being a nice, lightweight and user-friendly program.

Now I don't want to spend too much time explaining how to set up FlashDevelop, that's what this, this and this is for. ColonD Although I will explain how to set up your project followed by a nice little introduction into pure AS3.


First thing's first:
  • Open FlashDevelop
Can you feel the knowledge rushing through your brain? Learning is such fun! ColonP
  • Select Project then New Project
A small window will popup, asking you which project template you would like to use. This time we will be using the AS3 Project template. There are others to choose from but I will leave that up to you to find out what each template can offer Happybracket So...
  • Select AS3 Project
  • Type "My MMOCC" into the Name: field or "My Masterpiece" or even "My Awesome Attempt at an Awesome MMOCC thanks to the Awesome mind of xLite"... it's up to you! ColonD
  • Choose a suitable location to store your project files using the Location: field.
  • Leave the Package: field blank.
  • Check the Create directory for project checkbox.
  • Select OK

[attachment=110]

You should now see this lovely sidebar which we can use to handle any file we need for this project. So next we need to open the only source file currently in our project. To do this we simply select the + symbol beside the word src (short for source) and you should now see this:

[attachment=111]

There it is. Isn't she beautiful? So go ahead and double-click Main.as and wow, what just happened? You should now see the code currently residing in the Main.as source file. Hopefully, it should look something like this:

[attachment=112]

Now, let's test if everything is working correctly. Press the F5 key on your keyboard or select Project then Test Movie. After a few seconds you should now see this:

[attachment=113]

If everything has gone smoothly for you so far, then great! If not, make sure to check the 2 links I posted above and ensure you follow their instructions exactly.


Well that's it for now ColonD This tutorial is pretty long and we have only gone over what software we will be using. In the next tutorial I will introduce you guys into the world of pure AS3 before finally starting the process of creating your very own isometric MMOCC Happybracket

As always, I love to get feedback on my tutorials, so if you feel there is something missing in this tutorial, spot any mistakes that I didn't catch or anything else, then please let me know. Thanks Happybracket


EDIT: Part 2 is complete! Check it out at http://mmoccforum.com/showthread.php?tid=17730
When's the next tutorial gonna be up? I cant create an MMOCC Sadbracket *jk*
Lol, Nice tutorial! i want another that wasnt long enough...
Looks good, can't wait for part 2 ColonD
You can show your support by giving me some rep haha

ColonD
+Rep Howyoudoin I have one problem though, i'll talk to you about it via msn.
Wow, really helpful, not that I would attempt to make an MMOCC but this is really helpful for those attempting it. +REP
Nice tutorial Happybracket
Awesome tutorial, I reckon ill give it a go. +rep
oh and shouldnt the title have a instead of an?
(05-20-2010 04:20 PM)Aeon Wrote: [ -> ]Awesome tutorial, I reckon ill give it a go. +rep
oh and shouldnt the title have a instead of an?

People can pronounce it in different ways but for me I see it as "Building an Em Em Oh See See". Happybracket
Pages: 1 2
Reference URL's