This commit is contained in:
Joe 2026-02-02 12:08:47 -06:00
parent a9b4f8e83b
commit e6efc04756
8494 changed files with 495610 additions and 0 deletions

View file

@ -0,0 +1,67 @@
---
title: Test and save
description: Part of the Story Games series that teaches you to code in Roblox. Save and publish the experience in Roblox Studio.
next: /education/build-it-play-it-story-games/second-challenge
prev: /education/build-it-play-it-story-games/coding-a-question
---
This is a good point at which to check your code and make sure it runs. Testing your code often makes it easier to figure out where you might have made a mistake.
1. Test your by code by clicking the **Play** button.
<img src="../../assets/education/general/play-button.png" width="360" />
2. Walk up to the pedestal using <kbd>W</kbd> <kbd>A</kbd> <kbd>S</kbd> <kbd>D</kbd> on your keyboard and press <kbd>E</kbd>.
<table>
<thead>
<tr>
<th>Control</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td><kbd>W</kbd></td>
<td>Moves the camera forward.</td>
</tr>
<tr>
<td><kbd>S</kbd></td>
<td>Moves the camera back.</td>
</tr>
<tr>
<td><kbd>A</kbd></td>
<td>Moves the camera left.</td>
</tr>
<tr>
<td><kbd>D</kbd></td>
<td>Moves the camera right.</td>
</tr>
<tr>
<td><kbd>Spacebar</kbd></td>
<td>Your playable character jumps.</td>
</tr>
<tr>
<td>Hold and drag the <kbd>Right Mouse Button</kbd></td>
<td>Moves the camera view around.</td>
</tr>
</tbody>
</table>
3. Check to see if your question is displayed. **Don't** try to answer the question or click the "Submit" button. The code for that isn't made yet.
<img src="../../assets/education/story-games/StoryExample.png" width="80%" />
4. **Stop** the playtest.
<img src="../../assets/education/general/stop-button.png" width="360" />
## Save your code
It's important to save the whole project by **publishing** it to Roblox. It's a good idea to publish every ten minutes while you're working or after making a big change.
1. Select **File** → **Publish to Roblox** to open the publishing window.
2. Enter a place name and an optional description.
3. When ready, click the **Create** button. Once published, games can be edited from any computer since they're connected to your account.