Jump to content

  • Log In with Google      Sign In   
  • Create Account






Spectra - First Space MMORPG - File System Construction

Posted by DreamSurreal, in Programming 16 February 2014 · 361 views

PHP HTML MySQL Files Web-Hosting

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





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

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.

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.

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.

July 2014 »

S M T W T F S
  12345
6789 10 1112
13141516171819
20212223242526
2728293031  
PARTNERS