Unity-Facebook Project
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    Unity Community Index // Collaboration
View previous topic :: View next topic  
Author Message
Tempest



Joined: 10 Dec 2008
Posts: 1242
Location: Vancouver, Canada

PostPosted: Sat Nov 07, 2009 11:39 am    Post subject: Unity-Facebook Project Reply with quote
Unity-Facebook Project

License
# License Information

Description
Integration of Unity and Facebook using mySQL, PHP and Facebook Platform. Tutorial for basic social network game features (friend lists, rankings).

Features:
  • Complete sample game "ColorMatching" included.
  • Unity project with game resources and Facebook integration resources clearly defined.
  • Get User and Friend Data, including name and picture.
  • Get Ranking (between friends, and overall app users)
  • 1.1 Upgrade: Run in Unity Editor.
  • 1.1 Upgrade: Better organization of web files.
  • 1.1 Upgrade: GUI location is dynamic, instead of fixed.


Tutorials:
Set Up: Setting Up Your Database
Set Up: Web Files Explained
Set Up: Unity Files Explained

Version Updates
1.1 2010.01.27 - Link to Download
1.0 2009.11.17 - Link to Download

Questions, Comments and Suggestions
Let me know any questions, suggestions or comments you have by replying to this topic or sending me a private message via the forum.

_________________
Nick Breslin, Tempest
dimeRocker/MondoCloud Developer
Blog | Twitter/KegOfGlory | Unity-Facebook | PHP Handler


Last edited by Tempest on Wed Jan 27, 2010 3:28 pm; edited 4 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Martin Schultz



Joined: 10 Jan 2006
Posts: 1226
Location: Hamburg, Germany

PostPosted: Sat Nov 07, 2009 3:42 pm    Post subject: Reply with quote
Awesome. I'd be very interested in:
- How to write something from the user into his newsstream. Does it make a difference to post there text only or also text and an image for instance?
- Get friend list and user name/details
- authenticate with FB
- Is it possible to store some prefs in the FB account of the user?

That is the first stuff I'm very interested in. Awesome work you do, greatly appreciated!!!

_________________
Play my games Hard Rock Racing and 4x4 Offroad Racing on Shockwave.com!
LinkedIn.com group for Unity game licensing
Back to top
View user's profile Send private message Visit poster's website
zumwalt



Joined: 18 Apr 2007
Posts: 1641

PostPosted: Sat Nov 07, 2009 4:48 pm    Post subject: Reply with quote
Please let us know if you used FBML or asp.net or another flavor to integrate. I personally use asp.net with facebook and integrate Unity through calls that way. I never could get Unity to work through FMBL, that over 5 months ago though.
_________________
Hosted Server Solutions and Cloud Computing http://www.1and1.com/?k_id=21336950
Back to top
View user's profile Send private message
God at play



Joined: 03 Nov 2006
Posts: 105
Location: Des Moines, IA

PostPosted: Sat Nov 07, 2009 6:02 pm    Post subject: Reply with quote
Since you want this to be a living document, how about creating a Wiki page on unifycommunity? The first revision could just be a copy/paste of your PDF content, and then others could add/update it over time.

I'd also be interested in newsstream posting, along with being able to send requests/notifications of in-game actions (e.g. "you friend has just infected you as a zombie in the game Zombieland").

_________________
/////////////////////////
God at play - http://www.godatplay.com
Part of the Intuition collective
Portfolio
@godatplay
/////////////////////////
Back to top
View user's profile Send private message Visit poster's website
Tempest



Joined: 10 Dec 2008
Posts: 1242
Location: Vancouver, Canada

PostPosted: Sat Nov 07, 2009 11:53 pm    Post subject: Reply with quote
I will touch on the newstreams and alerts briefly by showing how your app can trigger such an action, though the configuration of those alerts (with pictures, without pictures, etc) is purely Facebook Platform.

I'll consider the wiki. I didn't mean quite that 'living', simply that I would update this PDF every couple of months.

Storing information is a tricky part of this, and it got trickier a few months back when Facebook put new restrictions on apps. To be safe, you can really any store the Facebook ID of a user and his or her friends. With this ID, though, you can store high scores, preferences, etc,

_________________
Nick Breslin, Tempest
dimeRocker/MondoCloud Developer
Blog | Twitter/KegOfGlory | Unity-Facebook | PHP Handler
Back to top
View user's profile Send private message Send e-mail Visit poster's website
.Tom.



Joined: 30 Nov 2007
Posts: 657
Location: Hamburg, Germany

PostPosted: Sun Nov 08, 2009 2:39 am    Post subject: Reply with quote
Looking forward to that. I'm currently working on a Unity/Facebook framework for my own stuff, and I hope to learn a few things from you. Maybe later on, I can then add my own experiences.
_________________

Unity-ready skyboxes - now also iPhone-optimized: Lemuria Skies
Better terrain texturing, tree and grass placement with Tom's Terrain Tools
Back to top
View user's profile Send private message Visit poster's website
Lukas



Joined: 16 Jan 2009
Posts: 169
Location: The Hague, The Netherlands

PostPosted: Mon Nov 09, 2009 10:44 am    Post subject: Reply with quote
I think its great you want to share the Facebook-Unity integration. As you know I ran across some troubles and it will definitely help a lot a people and save them quite some headache with the pitfalls there are.
I'm looking forward to your document!
Back to top
View user's profile Send private message Visit poster's website
Tempest



Joined: 10 Dec 2008
Posts: 1242
Location: Vancouver, Canada

PostPosted: Mon Nov 09, 2009 11:30 am    Post subject: Reply with quote
I've been working on a sample project, which will also have a small, limited, but expandable, API for which others can use to integrate Facebook with their apps.
_________________
Nick Breslin, Tempest
dimeRocker/MondoCloud Developer
Blog | Twitter/KegOfGlory | Unity-Facebook | PHP Handler
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DrHotbunz



Joined: 14 Feb 2009
Posts: 315
Location: Multiplayer Baseball Online

PostPosted: Tue Nov 10, 2009 1:08 am    Post subject: Reply with quote
I would like it to be on the wiki so that its there for the future. Thanks for sharing your knowledge!!
_________________
MBO BaseballTeam Leader
Open Source MMO Baseball - Download the entire MBO Source v0.2 @ http://www.mmobaseball.org
Back to top
View user's profile Send private message
Ethan



Joined: 02 Jan 2008
Posts: 167
Location: Munich (Germany)

PostPosted: Tue Nov 10, 2009 8:39 am    Post subject: Reply with quote
Cant wait to have a look! Shocked
_________________
Coop Multiplayer Football Game
made with Unity Pro!
www.blobfoot.de
http://twitter.com/blobfoot
Back to top
View user's profile Send private message ICQ Number
Tempest



Joined: 10 Dec 2008
Posts: 1242
Location: Vancouver, Canada

PostPosted: Tue Nov 10, 2009 10:56 am    Post subject: Reply with quote
It will eventually be on the wiki. Been working on it for a couple days. Got most of it working in Safari, having some issues with Firefox, but I'll get it down.
_________________
Nick Breslin, Tempest
dimeRocker/MondoCloud Developer
Blog | Twitter/KegOfGlory | Unity-Facebook | PHP Handler
Back to top
View user's profile Send private message Send e-mail Visit poster's website
.Tom.



Joined: 30 Nov 2007
Posts: 657
Location: Hamburg, Germany

PostPosted: Tue Nov 10, 2009 12:01 pm    Post subject: Reply with quote
I have my stuff working on Firefox. If you want to compare notes, send me a mail.
_________________

Unity-ready skyboxes - now also iPhone-optimized: Lemuria Skies
Better terrain texturing, tree and grass placement with Tom's Terrain Tools
Back to top
View user's profile Send private message Visit poster's website
Tempest



Joined: 10 Dec 2008
Posts: 1242
Location: Vancouver, Canada

PostPosted: Thu Nov 12, 2009 2:04 pm    Post subject: Reply with quote


Here's a WIP shot from the app. It queries for your UserID, then your Info, then your Photo. The User information is displayed on the right.

The next query will be for friends who use this same app. I hit a couple of bumps (rather big ones...) which set me back a couple of days. Just so everyone is aware, I will be providing all the source code for this project.

I have a small Color Matching game intended so I can demonstrate achievements/scoring as well.

_________________
Nick Breslin, Tempest
dimeRocker/MondoCloud Developer
Blog | Twitter/KegOfGlory | Unity-Facebook | PHP Handler
Back to top
View user's profile Send private message Send e-mail Visit poster's website
turi



Joined: 11 Dec 2008
Posts: 14

PostPosted: Thu Nov 12, 2009 6:49 pm    Post subject: very cool ! Reply with quote
Wow! Thanks Tempest, you're doing a great job for the community ! Smile

Turi

_________________
http://www.turicacciatore.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Tempest



Joined: 10 Dec 2008
Posts: 1242
Location: Vancouver, Canada

PostPosted: Thu Nov 12, 2009 7:00 pm    Post subject: Reply with quote


Here are the game elements added. It's coming together.

_________________
Nick Breslin, Tempest
dimeRocker/MondoCloud Developer
Blog | Twitter/KegOfGlory | Unity-Facebook | PHP Handler
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Post new topic   Reply to topic    Unity Community Index // Collaboration All times are GMT + 1 Hour
Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 1 of 9

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum