ru24.pro
World News in French
Ноябрь
2024
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
29
30

Introduction to Scripting | Documentation - Roblox Creator Hub

0
In Introduction to Roblox Studio, you learned how to create and manipulate parts in Roblox Studio. In this tutorial, you'll learn how to apply a script to parts to make a platform appear and disappear. You can use this in a platforming experience to span a gap, challenging users to time their jumps carefully to get to the other side.Setting the SceneFirst off, you need a Part to act as the platform. Making and moving parts should be familiar to you from Introduction to Roblox Studio. You don't need a complicated world aside from the platform — you just need a gap that your users can't easily jump across.Insert a Part and rename it to DisappearingPlatform.Resize it to large enough for a user to jump on.Move it to a proper location so that you can reach it and jump on it when testing your experience.Set the Anchored property to true in the Properties window.Remember that setting a part's Anchored property to true makes it stay in place no matter what. Your platform falls down if it's not...