Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by aliakbo · Feb 25, 2012 at 04:21 PM · boo

Why Script in Boo?

As most of the community does most of its scripting in Javascript and C# and Boo apparently will not work on android or iOS, why would anyone want to script with Boo?

What are its advantages because i couldn't find any in the documentation.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image FLASHDENMARK · Feb 25, 2012 at 04:40 PM 1
Share

Preferences?

avatar image cregox · Apr 10, 2012 at 08:49 PM 1
Share

related: http://answers.unity3d.com/questions/118332/is-something-wrong-with-boo.html

3 Replies

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by Owen-Reynolds · Feb 25, 2012 at 05:55 PM

If you use MonoDevelope with Boo already, have a library of utility functions built up, and want to "port" onto a 3D platform.

[edit] You don't use Boo, but find something written in Boo (not necessarily for Unity) which you would like to borrow. [/edit]

Huge advantage Unity has over, say, Unreal. Just probably doesn't apply to you. I believe the MonoDevelope project supports Boo, so the Unity team gets Boo support virtually for free, and why not leave it in?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
4

Answer by Talas21 · Feb 26, 2012 at 12:04 AM

Boo has a syntax similar to Phyton, so I guess it's the preferred choice of the Phyton programmers. However, there are a very few example and little documentation in this language, therefore it's better to stick with unityscript and c# generally.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ConsoleHack000 · Nov 04, 2016 at 06:28 PM 0
Share

Python* I know this is an old post but seriously

avatar image Zitoox ConsoleHack000 · Nov 04, 2016 at 09:05 PM 0
Share

Hahah funny

avatar image
4

Answer by Shadowys · May 19, 2014 at 10:02 AM

I chose Boo over JS/C# for the same reason Python won over other languages: readability, conciseness, functions, even though it was a OO-based language, and data structures.

Being concise means that the language tries as much as possible to get out of your way of writing programs and help you in presenting an idea. In Boo, I don't have to care about what the language does most of the time, except during implicit changes done by the compiler. I just write the scripts and watch my objects go alive.

C# is a well-developed language but the huge dependence on .NET sometimes just can be horrible. I just want to use a hash table for quick access, but in C# I have to import a lot of other things, to make it work.

In boo, I can do this

 #State variable
 state={}
 state["motion"]="forward"
 state["on the ground"]=true
 state["speed"]=10
 
 if state["motion"]=="forward" and state["on the ground"]==true:
     self.rigidbody.velocity=Vector3(state["speed"] as double ,0,0)
 

Anytime I want to call the variables out. I wonder how easy is it to use this in C# or JS.

Another thing about Boo is that code samples from other languages can be readily converted, often with line reduction and clearer and cleaner syntax.

The only downfall of Boo is the class declaration. Is it really needed for a constructor function(among other things) instead of a good ol' def init()? Boo sometimes tries too hard to be like other .NET languages, I guess?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

How to make parent for my prefabs using script? 1 Answer

BOO in Unity vs. Python in Blender 0 Answers

what are some simple tutorials to learn Boo script??? 1 Answer

iTween & Boo 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges