Coding: Difference between revisions
(Created page with " ==Getting Started== Programming is difficult, especially when you don't know where to start. While RoboCo and Filament Games don't offer resources to teach players the basics of Python, there are online resources that we recommend player should check out if they're interested in getting to know the language. In particular, we recommend [https://www.codecademy.com/learn/learn-python?utm_source=pepperjam&utm_medium=affiliate&utm_term=215171&clickId=4023389168&pj_creativ...") |
|||
Line 3: | Line 3: | ||
==Getting Started== | ==Getting Started== | ||
Programming is difficult, especially when you don't know where to start. | Programming is difficult, especially when you don't know where to start. For those without access to programming classes or extracurriculars via their learning institution, we recommend [https://www.codecademy.com/learn/learn-python?utm_source=pepperjam&utm_medium=affiliate&utm_term=215171&clickId=4023389168&pj_creativeid=8-12462&pj_publisherid=215171 CodeAcademy's Learning Python]. This course is a great way to learn the fundamentals of Python AND is fully virtual, so you can take the class wherever or whenever you want! | ||
In addition to learning the language, you'll also need a program to code in. We recommend Visual Studio Code and its accompanying Python extension. This is actually the program we use write code for RoboCo and it comes with a variety of different customization options and extensions to fit all your coding needs! You can also try Notepad++ and Sublime if Visual Studio Code doesn't interest you. | |||
{| class="wikitable" | {| class="wikitable" |
Revision as of 21:41, 7 July 2022
Getting Started
Programming is difficult, especially when you don't know where to start. For those without access to programming classes or extracurriculars via their learning institution, we recommend CodeAcademy's Learning Python. This course is a great way to learn the fundamentals of Python AND is fully virtual, so you can take the class wherever or whenever you want!
In addition to learning the language, you'll also need a program to code in. We recommend Visual Studio Code and its accompanying Python extension. This is actually the program we use write code for RoboCo and it comes with a variety of different customization options and extensions to fit all your coding needs! You can also try Notepad++ and Sublime if Visual Studio Code doesn't interest you.
Step | Description | Example |
---|---|---|
Step 1 | Add the microcontroller to your robot to access the script interface | |
Step 2 | Choose to either create a new script or load an already-created script | |
Step 3 | Assign your parts to ports manually or use the “automatically assign” button | |
Step 4 | Press the play button (or spacebar) | |
Step 5 | If an error occurs, use the in-game debug console to fix your code |