I'm wondering if combining Javascript clientside with PHP/mysql serverside is a good idea for HTML5 real-time multiplayer (small scale) browser games?
My technical knowledge is very limited, and even though I plan on learn node.js in the future, the learning curve is rather huge right now.
Since I'm already familiar with PHP I feel I would get it functioning much faster.
The scale I'm thinking is 2-8 players at the time. And trying to keep the client to server message count as low as possible.
The values I intend to store/handle are:
- Player name and ID.
- X and Y position.
- Health.
- Equipped items (maximum 8 slots, probably less).
- Actions (walk, attack, use etc but only 1 action/player at a time).
- Bullet X,Y coordinates and trajectory.
- Guild/Clan name.
- And some basic chat/mailing function.
My guess is even though it's not the best solution, but aslong as I keep the logic small, that this is completely doable. Am I right?