I am in the process of working on an MMORPG. It will require running simulations of 'battles' twice a week and posting and storing the results, experience gained, and giving rewards to users. I also want the website to have a nice design that is easy to navigate.
I am wondering what the best languages to use for this would be.
I have experience in C++ as well as Pascal (thanks to my teacher teaching 4 semesters in it, haha). I also know some HTML/CSS/JAVASCRIPT/PHP and MySQL.
I'm open to learning new languages that would make the process simpler. I basically have all the pseudocode typed up, I just need to port it over to language and get everything to run smoothly with the database and website.
Any input would be greatly appreciated!
2 replies to this topic
#1
Posted 17 May 2011 - 08:51 PM
|
|
|
#2
Posted 18 May 2011 - 12:09 AM
PHP (possibly utilizing its object oriented class support to aid in game programming) and MySQL to store result data should be easily sufficient for any web based game like this. PHP is easily embedded on to HTML and as such could utilize it with Javascript with no issue (AJAX for example if you so wish to implement that). You could probably serialize each used game class and store it in the database as a saving method for added ease as well, or simply store everything sorted in the database.
Really the only other (Non-IIS) languages I can think of are other CGI (i.e. Ruby, Perl or Python) although those often have less support on shared servers and are less familiar to C (PHP borrows a lot from C)
Really the only other (Non-IIS) languages I can think of are other CGI (i.e. Ruby, Perl or Python) although those often have less support on shared servers and are less familiar to C (PHP borrows a lot from C)
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 18 May 2011 - 01:44 AM
I think you should use AJAX to update data, in the background. It should POST to a PHP page, with its variables/data (encrypted of course) which should then interface with a database of some sort. When the data is returned the page shouldn't be refreshed but using AJAX, you should update the page seamlessly and smoothly without the user knowing. You should also only update the page as often as it needs to as well.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









