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.

Hey, I know Flash works using Facebook, and I think I've seen some Java stuff on there too, but does anyone know if the Unity Player can be used in Facebook?

share|improve this question
3  
Yes the 3d space shooter [Ascension wars][1] by [Digial roar][2] runs on facebook. [1]: apps.facebook.com/ascensionwar [2]: digitalroar.net –  lathomas64 Nov 17 '10 at 14:07

4 Answers 4

up vote 13 down vote accepted

The Unity Player can be used on facebook.

One relevant thread on integration: http://forum.unity3d.com/threads/7812-Unity3D-meet-Facebook!

And one very popular game: https://www.facebook.com/uberstrike

Here's a thread on Unity Answers that also has some more details: http://answers.unity3d.com/questions/82/how-can-i-make-my-unity-application-work-inside-facebook

share|improve this answer
    
The link to the game on Facebook no longer works. –  Lohoris Oct 11 '11 at 9:26
    
Ah, yes, they changed the name. Thanks for pointing that out, fixing now. –  Noctrine Oct 11 '11 at 14:21

This is kind of a nonsensical question based on a poor understanding of how Facebook apps work. Facebook doesn't really have anything to do with what technology exactly you are using; they simply embed your app as an iframe on their site. You build your app using whatever technology you want on your own server, and then simply tell Facebook what URL to point to.

So basically anything that can be done in a web browser can by done as a Facebook app. Now there are certain technologies that get used more often for Facebook apps, but those trends are due to reasons that have little to do with Facebook, like the fact that most browsers have the Flash plugin.

Also, while you can build your app with pretty much any web technology, you will need to work with PHP or JavaScript (does Facebook provide an API for any other languages?) if you need to interface with their API (eg. to retrieve the player's friends list). That doesn't mean you actually have to build the entire app using PHP or JavaScript, but that you need to have at least a small script acting as the middle-man between your app and Facebook's API.

(I'm not criticizing you btw; until recently I didn't understand how Facebook apps work either, and thought they were hosted on Facebook's servers or something.)

share|improve this answer
1  
There are indeed other SKDs than PHP or JS. These are just the "official" ones, but there are also third party APIs like this one for C#. So you don't really need to write code in JS or PHP. –  bummzack Oct 11 '11 at 16:11
    
@jhocking: I was actually looking at this question the other day and thinking the exact same thing –  Jeff Oct 11 '11 at 20:13

Unity has its own "StackExchange"-style website - here If you have any further questions, you should post them there, where more Unity-Related people will be.

Edit: The link appeared to not be working anymore. Fixed it!

share|improve this answer
    
thanks, this is good to know –  Jeff Nov 17 '10 at 1:50
6  
This is not an answer. Should make it a comment. –  lathomas64 Nov 17 '10 at 14:08
1  
well I think its an answer because it provides help to the asker... –  Joe the Person Nov 18 '10 at 1:58
3  
Even though it doesn't answer the actual question? –  Ray Dey Oct 11 '11 at 17:22
    
Well it helps answer the question. –  Joe the Person Oct 11 '11 at 19:38

Uberstrike, which is Cmune's flagship game, does nearly a million MAU on Facebook and is entirely Unity-driven.

Interesting, what you can do with it on Facebook.

http://apps.facebook.com/uberstrike/

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.