Community:Intro to Programming

From VRChat Wiki
Revision as of 02:14, 3 September 2024 by MMMaellon (talk | contribs) (Created page with "== 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>