Community:Intro to Programming: Difference between revisions

From VRChat Wiki
m (Usr 6909a532-22e9-49f7-81e3-e964fe7dc00a moved page Intro to Programming to Community:Intro to Programming: Moved to Community Namespace)
(Added Community noticebox. Added WIP Noticebox (feel free to remove, if the wip box is wrong))
Line 1: Line 1:
{{Noticebox/Community}}
{{Noticebox/wip}}
== About this guide ==
== About this guide ==



Revision as of 03:33, 3 September 2024

IconOnly CL Portal.png
V · ECommunity-written content
The following was created by the community. It may contain material not directly endorsed by the VRChat team. To learn more, consider reading Contributing to the VRChat Wiki.
Tools.png
V · EThis page is a work in progress
This page is actively being worked on, information may be incomplete or out of date. You can help the VRChat Wiki by editing it.
[Reason: No reason provided.]

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>