Hello everyone,
I've been working on a personal project for about a month and I wanted to ask a few questions that I was having issues with finding an answer on my own.
I'm developing a browser-based game very similar to a 'Kingdom of Loathing' in playstyle and structure, somewhat similar to a 'Travian' in art style.
I don't plan on using much in terms of animation, mostly just Javascript for some 'tooltip' solutions when hovering over items, Javascript (possibly Ajax) for the chat system and event window.
I have a couple questions though, any opinions or advice would be greatly appreciated.
1. I started programming in college in 2001, and I haven't used my programming skills since about 2009, so I am currently using a SQL database with various tables to store all of my information (Login info, character info, inventory, monster info, item info etc). Is there a 'better' or more scalable modern solution? Obviously it works fine with two sessions connected, but if I had lets say 1000 sessions connected simultaneously, would I run into any issues storing everything 'persistent' about my game in SQL while retrieving and storing using PHP?
2. I've read a little bit about Comet as a replacement for using AJAX, is there any real reason I should stay away from AJAX and use something like Comet or Ape? (perhaps my next two questions would give you a better idea of what Im trying to do with it)
3. I'm currently using a very very simple Javascript chatbox that I found on the webz (https://www.metachris.com/projects/most-simple-ajax-chat-ever/demo.html). However, I want to use a chatbox that is tabbed for the different channels like Local, Global, and then private messages that would pop up another tab with that player's name on it. Actually storing the conversations and being able to change what it looks like is not really necessary at this stage. Does anyone know of a very simple, barebones, nothing pretty chatbox system that I could possibly implement?
4. My event window is reminiscent of something you'd see in WoW, or Everquest (example: http://cdn-wow.mmoui.com/preview/pvw14941.jpg). I'm pulling values from a SQL table to get the damage values, then using those values to calculate using some RNG. Would you think AJAX is the quickest, easiest most efficient way to display this information in real-time without having to refresh the page? Or is there some other new technology that I could use to prevent scalability/performance issues in a larger scale?
Thats about all for this post.
I really appreciate any opinions or suggestions on which perspective I should be looking at implementing these features.
Thanks again,
Jon