Search Unity

boo?

Discussion in 'iOS and tvOS' started by dr. stupid, Mar 3, 2011.

  1. dr. stupid

    dr. stupid

    Joined:
    Nov 15, 2009
    Posts:
    69
    does boo in the meantime also work for iOS development?

    (i did a forum search first but didn't find anything about it.)
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Unhappily no.
    You will need to use JS or C# at the time to target AOT platforms (console, mobiles)

    Unsure if it is ever going to change, if boo is going to work on these platforms at some time through a similar mechanism as "#pragma strict" on JS (JS loses its dynamic typing etc as well on mobile)
     
  3. dr. stupid

    dr. stupid

    Joined:
    Nov 15, 2009
    Posts:
    69
    but didn't the creator of boo state somewhere that he is working on it? that's why i have asked...
     
  4. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    Yupp I think I saw the same quote, also unity has updated to the current boo version (logically as the boo creator works for UT and is also the one working behind UnityScript from what I recall).
    But I am not sure if the "working on it" was finished, don't recall seeing any changelog entry in relation to boo on AOT platforms
     
  5. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Actually it does work. Or at least I made a simple Boo script, and it compiled for iOS without complaining, and installed and ran as expected on the device.

    --Eric
     
  6. Ippokratis

    Ippokratis

    Joined:
    Oct 13, 2008
    Posts:
    1,521
  7. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Yeah, maybe someone should tell UT, huh? ;)

    --Eric
     
  8. Ippokratis

    Ippokratis

    Joined:
    Oct 13, 2008
    Posts:
    1,521
    Maybe boo works in Iphone if you statically type all the vars ?
    Code (csharp):
    1. ... public foo as int = 5
     
  9. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Not necessary since type inferencing takes care of typing for you as usual (same with JS and C#).

    --Eric
     
  10. Mantas-Puida

    Mantas-Puida

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Since Unity 3.0 Boo is supported on iOS.
     
  11. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
  12. juan-jo

    juan-jo

    Joined:
    May 15, 2010
    Posts:
    162
    They must, because until UT does not officially recognize the support of Boo for IOS and overall full support (at the same level as C# and UnityScript) we can't be confident that in version 4 (for example) we aren't going to get stuck with our investment in Boo.
     
    Last edited: Apr 1, 2011
  13. dissidently

    dissidently

    Joined:
    Dec 8, 2010
    Posts:
    286
    Is that the official announcement of this?
     
  14. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    It was mentioned in a changelog in the U3 beta (beta 6 likely when mono was upgraded and unityscript got new goodies too) I think but not even did pay close attention to it ...


    @Juan: you are never stuck. even if unity would kill boo support internally you can still use mono to compile an assembly as with any other .net language to use it in Unity :) But I wouldn't expect to see that cause UnityScript relies on boo and the boo dev happens to be a / the UnityScript dev too