Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have been requested to make a port of an iOS game for Facebook.

The game itself is fairly simple, it is a puzzle game using a 2d array for a grid with XML passed from a server for loading objects onto the the grid, to create levels. The game will ask questions at stages which will be passed to my server and stored for research purposes.

I have looked into both Flash and HTML5/js both of which I have little to no experience in (I'm experienced in Java/C#/Ruby + Rails).

Javascript seems like a nightmare from what I have read, even looking into javascript game engines, but at least it is free.

My backend will most likely be rails for handling server logic.

  • Is javascript for programming games really a problem for simple games on Facebook?

  • Are js game engines worth using? Does anyone have any experience with them?

  • Would prevention of cheating be possible with a js/rails game, do server side checks work?*

  • Are there any alternatives for a front end for someone with C#/Java/Ruby background?**

I've never seen any Unity or Java apps on Facebook (I don't use it much) and as this is a research project is for my university, I would like to avoid licensing issues.

share|improve this question
3  
Welcome to the site! As we're a Q&A site, and not a discussion forum, it would be better to narrow down this question to one specific queries, and if you have additional questions, post them separately. You're more likely to get the directed answers you're seeking and you'll improve the quality and searchability of the site. –  Josh Petrie Dec 8 '11 at 20:23
1  
"Is javascript for programming games really a problem for simple games on Facebook?" What does this question mean? –  Tetrad Dec 9 '11 at 6:34
1  
Also, on unity games in facebook: gamedev.stackexchange.com/questions/5659/unity-on-facebook –  Tetrad Dec 9 '11 at 6:34
2  
You can develop flash games with free software. See this question. –  bummzack Dec 9 '11 at 8:31
    
Flash vs HTML5 is debated in so many questions, eg. gamedev.stackexchange.com/questions/11019/… –  jhocking Jan 8 '12 at 13:53

1 Answer 1

I'm not an expert in this field, but fundamentally any kind of web-based tech can be used to make a facebook game. As long as you can make the appropriate API calls via some mechanism, and you can put your game in an iframe, you are good to go.

The biggest market is obviously flash games, mainly because it's pretty close to ubiquitous and you don't have to worry as much about cross platform compatibility.

HTML5 games are getting more popular, but that's primarily as there was a push to make games that work on smartphones.

As I linked to in the comments, there are definitely Unity powered games on facebook.

I don't know any Java applet games off hand, but I'm sure it could be done.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.