How effective is javascript if we want to develop a facebook social game like farmville,slotomania etc

Started by
4 comments, last by Fredericvo 11 years, 10 months ago
We have started a new start up Clipinmedia focused on developing facebook social games for clients.Our next project is to develop a social game like https://apps.facebook.com/slotomania/ ( it's developed in flash + PHP ) max numbers of games on facebook are made using flash.But as browser games can also be developed using javascript as this slot's game https://apps.facebook.com/nonstop_casino (is developed using javascript + PHP)

second game (javascript+php game) is less attractive as far as graphics are concenred but it's providing almost same gameplay experience as of other flash games.

Would you like to share your opinion in case we don't need highly attractive gameplay will this ( Javascript + PHP ) model will work what problems can come into play at later stages.Or javacript will be perfectly fine to work with.
Advertisement
You can always make the game in flash and call JavaScript externally to drive your logic. Flash is attractive because of how rapidly you can set up and develop an application (very in-depth GUI), JavaScript is attractive because of the lower level control. I don't think there's a good reason not to have the best of both worlds. It obviously won't be as efficient as everything being done in JS (interop never is), but you're not normally too worried about optimization in Facebook apps. It's more about production efficiency.
It would depend on which features you intend to use. If your game will rely on any HTML 5 elements, then I would develop your game using Flash. HTML isn't well supported in Internet Explorer 8, which is still used by a significant percentage of users (according to w3schools.com the largest portion of IE users are still on IE8).
Isn't the fact that your entire source code is visible to the world not a huge drawback of JS?

Isn't the fact that your entire source code is visible to the world not a huge drawback of JS?


its only a drawback if your code is so bad that you're ashamed of it.
[size="1"]I don't suffer from insanity, I'm enjoying every minute of it.
The voices in my head may not be real, but they have some good ideas!

[quote name='Fredericvo' timestamp='1339009111' post='4946840']
Isn't the fact that your entire source code is visible to the world not a huge drawback of JS?


its only a drawback if your code is so bad that you're ashamed of it.
[/quote]LOOL
It's not what I meant. More from a security/trade secret perspective.

This topic is closed to new replies.

Advertisement