Guides:Intro to Programming

From VRChat Wiki
Revision as of 03:31, 3 September 2024 by Maebbie (talk | contribs) (Usr 6909a532-22e9-49f7-81e3-e964fe7dc00a moved page Intro to Programming to Community:Intro to Programming: Moved to Community Namespace)

About this guide

⚠WIP⚠

Udon is a programming language for adding interactivity to VRChat worlds. UdonSharp is a tool for creating Udon scripts, but by writing C#, which is the programming language most Unity games are made in. This guide aims to teach the basics of programming so that someone who has never programmed before is able to create their own Udon scripts with UdonSharp.

This is not meant to be a comprehensive guide on all things programming, it's aim is to just teach enough to help people create interactive VRChat worlds.

Computer Science 101

How computers work

Silicon is a semi-conductor which basically means it's a material that can't quite make up it's mind on whether or not it wants to conduct electricity. We can nudge the conductivity of silicon one way or another by mixing it with other materials or by placing it in an electrical field such as that generated by a charged piece of metal. Here's a very scientific diagram on how that works.

<TODO>

Programming

<TODO> binary -> assembly -> code -> natural language

Compiling and Running code

<TODO>

Structure of an UdonSharp script

Namespaces

<TODO>

Classes

<TODO>

Functions

<TODO>

Variables

<TODO>

Unity SDK

Events

<TODO>

VRChat SDKs

Players

<TODO>

Coding Tutorial

<TODO>

Advanced Concepts

Networking

Optimization

<TODO>