+ Reply to Thread
Results 1 to 11 of 11

Thread: Facebook 3D ?

  1. #1
    Senior Member
    Join Date
    Jul 2004
    Location
    Isle of Wight, UK
    Posts
    3,773

    Default Facebook 3D ?

    Is it possible to get facebook to display a game in its window yet?

    We experimented with webgl under chrome without much in the way of success, but I've not stayed current with these kinda techs. Ideally we'd just be able to bolt a c++ app on to it somehow, but looking at most fb games I'm assuming this is still a wild fantasy.
    Regards,
    Paul Johnson

    [Great BIG War Game: iOS | Android] [Great Little War Game: iOS | Android] [Fruit Blitz: iOS | Android] [Yachty Deluxe: iOS | Android]

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Location
    Nottingham, UK
    Posts
    876

    Default

    Assuming I'm not misunderstanding you and haven't gotten behind the times myself but...

    Facebook is still web based so any technology needs to be web based as well so flash, unity3d, webgl, etc
    The last time I dabbled in displaying a game in a facebook window (pre-timeline), you basically used an iframe to display content for your own website so any game that would work on your own website should work in a facebook window.

    Hope that helps and isn't complete bollocks ;-)

  3. #3
    Senior Member
    Join Date
    Jul 2004
    Location
    Isle of Wight, UK
    Posts
    3,773

    Default

    Yeah, webgl would do us for the rendering. I was just hoping there'd be a solution to get apps written in proper programming languages displaying by now. I can't be arsed with recoding everything, it's not gonna be worth the effort.
    Regards,
    Paul Johnson

    [Great BIG War Game: iOS | Android] [Great Little War Game: iOS | Android] [Fruit Blitz: iOS | Android] [Yachty Deluxe: iOS | Android]

  4. #4
    Senior Member
    Join Date
    Jul 2004
    Location
    Nottingham, UK
    Posts
    876

    Default

    Well could you keep the back end as a C++ app and just split the front end off as a web specific view?

  5. #5
    Senior Member
    Join Date
    Jul 2004
    Location
    Isle of Wight, UK
    Posts
    3,773

    Default

    I don't know tbh, hence the question. Obviously there's a download involved which is where I think most of this falls over.
    Regards,
    Paul Johnson

    [Great BIG War Game: iOS | Android] [Great Little War Game: iOS | Android] [Fruit Blitz: iOS | Android] [Yachty Deluxe: iOS | Android]

  6. #6
    Senior Member
    Join Date
    Jul 2004
    Location
    Nottingham, UK
    Posts
    876

    Default

    Well I was thinking more about how your app is put together.
    I was assuming you're thinking about porting GBWG and wondering if you could split the c++ engine off and run it in the cloud or as a server instance and then just have a front end client that talks to it.
    But thinking about it further for that particular app, it might be better to re-write as a web based app, I think the gains you'd get would be offset by trying to shoehorn a native app onto the web.

    There is http://www.webtoolkit.eu/wt/ but I have no experience with it so can't comment.

    My personal preference for 3d web is Unity3d at the moment, because it's fairly easy to use, uses C# (among others), and can easily port to windows/mac desktop, ios and android.
    But that doesn't really help you if you already have the engine built in c++ :-)

  7. #7
    Senior Member
    Join Date
    Jul 2004
    Location
    Isle of Wight, UK
    Posts
    3,773

    Default

    This is actually for now our next big idea, but the same principle applies, yes. Maybe just pay to get it ported after that fact.
    Regards,
    Paul Johnson

    [Great BIG War Game: iOS | Android] [Great Little War Game: iOS | Android] [Fruit Blitz: iOS | Android] [Yachty Deluxe: iOS | Android]

  8. #8
    Senior Member
    Join Date
    Jul 2004
    Location
    Nottingham, UK
    Posts
    876

    Default

    Fair enough

    Btw you forgot the ™ from "Next Big Idea"™ ;-)

  9. #9
    Senior Member
    Join Date
    Jul 2004
    Location
    Isle of Wight, UK
    Posts
    3,773

    Default

    If I knew how to make one...
    Regards,
    Paul Johnson

    [Great BIG War Game: iOS | Android] [Great Little War Game: iOS | Android] [Fruit Blitz: iOS | Android] [Yachty Deluxe: iOS | Android]

  10. #10
    Junior Member
    Join Date
    Jun 2012
    Location
    France / Valence
    Posts
    8

    Default

    I was just hoping there'd be a solution to get apps written in proper programming languages displaying by now
    You can use emscripten to automatically convert you C/C++ game to Javascript/webgl one.
    Get a look at the list of ported games on the wiki to see how capable it is.
    Heriswap : our 1st game for Android!
    Also, checkout the HTML5 version : on our website

  11. #11
    Senior Member
    Join Date
    Jul 2004
    Location
    Isle of Wight, UK
    Posts
    3,773

    Default

    That's excellent. Thanks for the pointer, definitely gonna check that one out!
    Regards,
    Paul Johnson

    [Great BIG War Game: iOS | Android] [Great Little War Game: iOS | Android] [Fruit Blitz: iOS | Android] [Yachty Deluxe: iOS | Android]

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts