Game Development Community

Browser embedding questions

by JavaKid · in General Discussion · 06/15/2010 (8:23 pm) · 2 replies

Hey. I was thinking about using Torque 2D for a multiplayer game. The game is played in a web browser. I would do it in Flash, but Flash is dead (or dying; Adobe isn't working on Flash anymore). The thing is with browser based games, they require plugins. And when people go to play a game, they don't want to have to download something. It's like a turn-off. Unity 3D can do multiplayer AND has browser support, but to play the game, it requires you download the Unity 3D plugin. If someone were to play a game on a browser that was made using Torque 2D, what would the user need to do?

And does Torque 2D have good speed when being played in a browser (especially multiplayer)? No one likes slowness.

#1
06/21/2010 (9:49 am)
You might be better off using a javascript library and making a game with that instead.

Any "engine" that runs in a browser needs to have a plugin installed unless you're using something they already have installed (java, flash).

This is unavoidable.
#2
06/21/2010 (11:57 am)
Keep in mind that Javascript and Flash are both going to be fairly..slow. Which is why game engines were created. Which is why you have to download a plugin. You're not going to get great performance without a plugin of some kind. Even then, in the case of Flash at least, it's still not going to be spectacular if you don't write your app efficiently.

Also, do some research on T2D's multiplayer capability. It may not be equipped (stock) to handle the type of game you have in mind.