Archive
Welcome to The MMORPG Development
In this part of the site I/we will post and write about developments that are/will be going on in our game. All that I can write now is some usefull links that can help to get started with MMORPG dev.
- http://fivedots.coe.psu.ac.th/~ad/jg/
- http://thinkhole.org/wp/2006/03/22/pyogre-demo/
- http://www.ogre3d.org/wiki/index.php/PyOgre
- http://worldforge.org/
- http://www.ogre3d.org/
- http://www.blender.org/
- http://www.gamedev.net/
- http://www.gamedev.org/forum/
Those are just some quick links that I have found in my bookmarks, hope they help.
More soon.
Okay I’m back
Right sorry I havent updated for a while (well okay i’m not) but I have had a really cool idea it is to create a MMORPG! So I have been useing up all my resources to find out infos on game creation (again) http://gpwiki.org/ they where good help.
First it was going to by C++ then Python then C++ agian then Java then back to C++ then Python and then C++ and now finally Java. I beilive it will be writen in java and lwjgl and for the 3D bits i think I will be using java3D or jpct. So that is the reason why I havent been writting much.
Now if anyone wants to help just say! I know Steve is
Pete away!
PHP #1
To start with PHP you need to have a web server that supports PHP. You can either use a free web host, or run your own server. If you want to run your own web server on windows just download XAMPP. Once you have that downloaded and installed, all you do is save your PHP scripts in the htdocs folder (Same for all web servers) then navigate (in a web browser) to http://localhost/. Or if you are useing a free web host such as http://awardspace.com just upload the php scripts to the root directory (htdocs)
To write a PHP script you just open up a text editor (e.g Notepad, gedit etc) and write in the PHP script and save as filename.php make sure that it ends in dot ph.
Now to make sure that the server knows that it is a PHP script you musty have <?php at the beginning and ?> at the end.
So we will start with a basic Hello world! example. Write don’t copy this into your hello.php file:
<?php echo "Hello World!";
?>
There you go a very simple PHP scrip.
Hope this helped, Pete Out
(Any Questions Just Ask)
If you liked this and are a nice person would you like to donate to my Stargate fund?
HTML #1
Okay lets start of with some simple HTML. Today we will earn how to use the heading tags (H1, H2, H3 etc) and the bold (B) tag. And we will also learn how to setup your (possible) first page.
Start with open up your best text editor, I will be using gedit, feel free to se an y other such as Notepad (Windows) or what ever Mac Uses, can someone tell me please, thanks.
Okay so now that we have our text editor open. Type into it: (Don’t Copy)
<html><head> <title>First Page</title> </head> <body> <h1>Heading in biggest size</h1> <b>Text in bold</b> Text not in bold! </body> </html>
There are six tags in that script. Tags at the text in the more than and less than arrows ‘<’ and ‘>’. The first tag is the HTM tag, this normally has other bits to the right of it but we wont use them today. It is used to tell the web browser (e.g Opera, Internet Explorer, Firefox, Konquor) that it is a html page and that it should display it.
The next tag is the head tag, this is where you put all the information that you want to give to the web browser, things like what the sites title is (the thing that comes up in the top of the window) what the site is about keywords and all that, I’ll go through them later.
The next is the title tag, this sets whatever text is in between the two tags to the top of the web brows window, mess around with it and you will see.
The next tag is an end tag all end tags have a ‘/’ in it like this ‘</tag-name>’. The ‘</head>’ tag ends the head tag, this means that anything outside this tag will not be looked at by the web browser as nice iformation that it can use, it will just dispay it to the viewer.
Right this is a new tag ‘<body>’, that marks the start of the body of the page. Anything in this will be displayed by the web browser as what you see now.
Okay this tag <h1> is a formatting tag it will set th size of the text that it is around. You can use this in different ways, well what I mean is that there are many different ways that this tag can be used erm no thats not what i mean here i’ll how you.
<h1>Heading One</h1>
<h2>Heading Two</h2>
<h3>Heading Three</h3>
<h4>Heading Four</h4>
<h5>Heading Five</h5>
<h6>Heading Six</h6>
So as you can see the different numbers that you put in this tag change the size of the text.
The next tag is another formatting tag ‘<b>’ anything inbetween these tags will be in a bold font.
And the last two just end the body and the html tags. This isabout it for the first lesson in HTML. And incase you are wondering what it stands for it is Hyper Text Mark Up Language. And it is a scripting language.
Oh and here is how to do comments:
<!– Hello this is a comment, I will not show up on the browser, but i will show up in the source tafa –>
And here is how it should look in your web browser.
Heading in biggest size
Text in bold Text not in bold!
Hope this might have helped someone, any questions I will be happy to help.
Pete
If you liked this and are a nice person would you like to donate to my Stargate fund?
Progamming Comments
It is good practice to include lots of comments in your code so that when you or someone else comes back and looks at the code you/they will understand what it is meant to do.
A comment will be ignored by the compiler, this means that anything in between the comment tags will not become a program. (Makes any scene?)
Normally there are two ways to write comments, one is a single line, and one is a multi line comment. There names explain what they mean.
So in Java a single line comment will look like this:
// Comment Text
And a multi line comment will look like this:
/*
More than one line
See!*/
And in C++ a single line comment will look like this:
// Comment Text
And a multi line comment will look like this:
/*
More than one line
See!*/
And in python a singe line comment is done like is:
# Comment text
And a multi lined comment will go like this:
" " " this is a multi line comment which spawns many lines " " "
As you can see Java and C++ have the same way of creating comments but Python has a different way just to let you know that all languages do not have th same way of commenting text.
Useful Python Commenting Information
And for a small side note here is how to write comments in HTML and PHP.
HTML
<!-- Comment text in here -->
PHP
// Comment text in here - Single line
/* Comment text in here, many lines */
Hope this helps, Pete
If you liked this and are a nice person would you like to donate to my Stargate fund?
Programming Task #1
I have a small task for anyone who wants to learn a programming language be it Python, Java or C++. I would like you to write a program that can:
- Output your name and your age on two different lines
- Output your address on multiple lines
And if you know how add some comments if not see me tomorrow.
Pete Out
If you liked this and are a nice person would you like to donate to my Stargate fund?