My Savior in learning multiple languages

I’m sure most of the people that pop in here and browse once in a while have done some programming, scripting or coding. When I was taking computer programming in high school back in the late 1970’s it was called programming and we used FORTRAN, COBOL and Basic with our FORTRAN programs entered into the mainframe using punched cards. I stopped programming because I liked to see and touch physical objects when I was finished with a project and went into Engineering before I left  high school. After 25 years as an Aerospace Manufacturing Engineer I have decided to return to programming and so far am loving it. The problem is I am learning multiple languages at the same time which might not be the smartest thing to do.

Having gone beyond a noob user into the intermediate and some advanced Blender modeling I would like to dabble in the creation of my own addons and that requires knowledge of Python. At the same time I am now learning the Unity3D game engine which uses C#, Unity-script and Boo so, I have jumped into the deep end of the pool with learning Python, C# and Unity-script at the same time (I’ll leave Boo in the dark with the ghosts 🙂 ).

The point here is syntax, in that they all have their similarities and differences and moving from one to the other gets my head spinning when looking for errors in the code. It usually boils down to a semicolon which should have been a colon or nothing, [], {} and () used incorrectly depending on what I am doing at the time. Finding the errors has become very easy but a hassle.

The other day I discovered uScript, an addon for Unity3D allowing visual scripting using nodes similar to the compositor in Blender. This item from Unity’s asset store is my new favorite tool and creating the scripts has become a breeze. As long as you think logically as if you are writing the scripts, create the variables and place the nodes where the will logically fit in a script you are golden. I most definitely will learn the C# language and code by hand in time but this new tool allows me to keep playing with Unity3D, using the books I have purchased and learn Python’s syntax without getting loopy at the same time. Even better, while I am not typing in the scripts as they have them in the books and tutorials I am translating them into the uScript nodes creating the same actions.

Bad and then the good…. The documentation and available tutorials either written or recorded are sorely lacking. When you click the documentation button in the editor you are brought to a website without actual pictures of the nodes and the descriptions are…. (See for yourself below)

Which leads me onto my next task which will help all around. As I play with uScript I will be recording tutorials both written and recorded posting them here and at the same time start creating a draft for a book to sell about uScript and Unity3D.

Here is a node group I set up earlier this morning creating a script from the book and yes it did work. I found multiple ways you can structure the nodes together creating the same affect and I will include all variations in the first tutorial I post next week.

uScript

 

Here is a Snagit of the documentation website you are taken to when you click the documentation for the ‘Time.delta.time” node.

uScript_Documentation

Leave a Reply

Your email address will not be published. Required fields are marked *