Spectra - First Space MMORPG - File System Construction

Published February 16, 2014
Advertisement

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

  • 1 likes 4 comments

    Comments

    Navyman

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

    February 18, 2014 10:06 PM
    Robert Ames

    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.

    February 19, 2014 08:39 PM
    Navyman

    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.

    February 20, 2014 08:17 PM
    Robert Ames

    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.

    February 21, 2014 01:42 AM
    You must log in to join the conversation.
    Don't have a GameDev.net account? Sign up!
    Advertisement
    Advertisement