When using the 123 Playspace in VEXcode VR, there are several Activities that set the Field layout for the VR 123 Robot to run on. This article will walk you through how to choose an Activity, and how to use the Custom Activity feature.
Choosing an Activity upon opening the 123 Playspace
When you open the 123 Playspace in VEXcode VR, the 'Select an Activity' dialog box will appear when the playground is opened.
Use the scroll bar to scroll through the Activities listed. Each Activity title corresponds to a preset themed 123 Field with elements that the 123 Robot can drive on or around.
To choose an Activity, select the button of the Activity title.
The Activity will then open in the 123 Playspace. The VR 123 Robot and Field elements will be in default starting positions.
View this article to learn more about setting the starting position of the VR 123 Robot.
Choosing a New Activity While Using the 123 Playspace
You can change the Activity at any time while using the 123 Playspace. Select the Activities button, as shown in the image to the right.
This will open the 'Select an Activity' dialog box. Use the scroll bar to scroll through the Activities.
Select an Activity button to choose a new Activity.
The new Activity will then open in the 123 Playspace. The VR 123 Robot and Field elements will be in default starting positions.
View this article to learn more about setting the starting position of the VR 123 Robot.
Using the Custom Activity Field
The 'Custom' Activity will open a blank Field in the 123 Playspace, that you can use as is, or customize by uploading your own image or Field setup.
The Custom Field opens as a blank Field by default. You can code the VR 123 Robot to drive on this Field and use it as is.
Uploading a Custom Image to the Field
To customize the Field, select the Expand button, as shown in the image on the right.
Select the 'Upload' button to upload a custom image to the Field. The Upload button is used to upload custom .png and .jpg image files that are less than 1 megabyte.
A window will open to select your image file. Note this image shows the window opened on a Mac. This may look different depending on your device.
The image file will then open on the Field.
Other Features in the Custom Activity Field Expand Button
The Download Field Button
The 'Download Field' button will download the image of the VR 123 Field as a .png without the VR 123 Robot or any of the other Playground buttons.
Here is an example of a downloaded Field image from the Activity above
The Download Playground Button
The 'Download Playground' button will download the entire Playground Window image as a .png image file. This includes:
- The image of the VR 123 Field
- The current position of the VR Robot
- The timer of the project being run
- All of the Playground Window buttons
Here is an example of the downloaded Playground image from the Playground above.
The Clear Button
The 'Clear' button will clear the Field of any current uploaded images, and return it to the empty VR 123 Field when selected.
You can then upload a new image to the Field, use it as is, or select a new Activity.