Jump to content

April 2017 »

S M T W T F S
      1
2345678
9101112131415
16171819202122
232425262728 29
30      
- - - - -

Spectra - First Space MMORPG - File System Construction


PHP HTML MySQL Files Web-Hosting
4: Adsense

Spectra - First Space MMORPG - File System Construction


First off...I am going to be creating the file system structure for my game....everything will be albe to be saved in these folders....this is just a basic structure and can be added upon later on. You may change the file names or folder names as you wish....but so far, this is the structure that I have used for many websites. If there is any questions or anything please let me know and I would be more than happy to help out.

WEB HOST:
  • www.x10hosting.com - They provide a free webhosting service that hasn't been beaten. They allow you to use almost unrestricted PHP5, MySQL (Up to 4 databases!!! amazing...but you really only need one.), have unlimited bandwidth (so they say), and is supposed to be unlimited space (1,024 MB to be exsact....never used the whole thing!!!)
  • They also support addon domains - what this means is that you can purchase a website domain, such as one of mine www.dreamsurreal.com and get it hosted at x10hosting for free!!! (PRICE NOTE: I only pay about $12.00 a year to have the domain name and keep it up and going.)
MAIN DIRECTORY:
  • This will be where you save all of your pages such as:
  • index.php
  • profile.php
  • station.php
  • craft.php......etc.
FOLDERS TO ADD:
(NOTE: For directory purposes it is best to make the folders and files lowercase, also note the tree design below......the "database" folder will be inside of the "core" folder.)
  • css
  • core
    • database
    • functions
    • (You may add more as needed such as for facebook sdk, or other things to make your website functional)
  • images
    • website
    • (You may add more as needed such as for profiles, ships, minerals, ammo, guns, etc.)
  • includes
    • overall
    • widgets

Feb 18 2014 04:06 PM

It seems like you are going to be using php to build your game?

Feb 19 2014 02:39 PM

Yes I am, though I am pretty sure that I will need to learn a small bit of javascript/ajax to help me with ship modules and other things that I might be able to do client side.

Feb 20 2014 02:17 PM

Speaking from the point of a developer that has tried similar ideas, you will need to learn some JS to allow for timing events and the ability to have multiple people interact.

 

If you need some help feel free and message me.

Feb 20 2014 07:42 PM

Speaking from the point of a developer that has tried similar ideas, you will need to learn some JS to allow for timing events and the ability to have multiple people interact.

 

If you need some help feel free and message me.

Yeah I agree along with the few other features that I had mentioned.  But other than that, mostly php will be contributed due to the fact I don't want people to inject anything and cheat.

 

Though is there a way to use JS along with PHP so that when updating the database with a PHP script it won't re-load the page?  That would be extremely helpful.

Note: GameDev.net moderates comments.