This is my first time posting on this forum, so sorry if I am posting in the wrong section. I want to make a 2d multiplayer browser shooter, but am not sure if which languages to do it in. I was thinking of using Angular JS for client side, and PHP for back end. I am still learning those languages and don't know much yet, but I was hoping for some confirmation or a better suggestion in the languages I should use.
Members - Reputation: 581
Posted 14 August 2014 - 07:35 PM
GDNet+ - Reputation: 3039
Posted 15 August 2014 - 02:30 AM
Be aware that you need to have quite a bit of IT knowledge to get Node.js and Socket.io to operate correctly on your server.
If you choose remote hosting service , Node.js & Socket.io are either poorly supported or complicated to set up .
Edited by Shippou, 15 August 2014 - 02:30 AM.
I cannot remember the books I've read any more than the meals I have eaten; even so, they have made me.
~ Ralph Waldo Emerson
Members - Reputation: 2250
Posted 22 August 2014 - 02:43 AM
Coupled with static typing and RAII of C++ and portability to all platforms in existence, it is proving to be a really great solution for games. So good infact that even commercial products like Unreal and amateur / hobby game engines like Unity are starting to use it as their backends.
Edited by Karsten_, 22 August 2014 - 02:45 AM.
Mutiny - Open-source C++ Unity re-implementation.
Defile of Eden 2 - FreeBSD and OpenBSD binaries of our latest game.
Members - Reputation: 2337
Posted 22 August 2014 - 07:55 AM
Myself, I've opted for python on the back end for two reasons: I favor the python language, and ctypes makes it very easy to use C++ (using a c api to python) when python isn't fast enough. Care must be taken to keep the overhead of crossing the ctypes boundary low, so most native functions process data in batches.