In this tutorial, we will walk through creating a set of disappearing platforms using Verse Script. We will use Visual Studio Code to build a verse devise that will control other FN devices. We will expose attributes allowing designers to make changes on the fly without having to work with verse code. This is intended to be a beginner’s tutorial for those with no verse experience, and only a little UEFN experience.
NOTE: When naming the project, avoid using words that will be used in the code. For example, don’t name the file Platforms, and have a variable named Platforms. Also, avoid using Platforms_Series when naming the verse device, instead use platform_series. Not sure why this is an issue, would love if someone can explain these issues. Thanx.
Times are relative to the start of the first part:
- 0:00 Tutorial Goals
- 0:18 Downloading Visual Studio and Verse Extention (note: this extension will auto install when opening a verse device through UEFN’s Verse Explorer)
- 0:43 Synchronized Disappearing Platforms Documentation
- 1:06 Starting in a Blank project
- 1:28 Adding Color Changing Tiles
- 3:10 A quick point about the numbers of our platforms 0-5
- 3:59 Creating a Verse Device
- 5:33 Opening Visual Studio Code
- 6:24 Adding the first Exposed Field for our game designers
- 7:38 Adding the remaining exposed fields
- 8:25 Compile and adding the first platform to our Verse Device
- 9:02 Hiding and Showing
- 9:25 Adding Sleep (delay) into the code
- 10:05 Testing the code
- 10:39 Adding all the platforms
- 11:06 Creating the array (list) of platforms and using comments
- 13:06 Creating the “for” expression that will hide/show each platform
- 15:19 Creating the Functions that will run the expressions
- 16:39 Calling the Functions with Methods
- 16:46 Making the code Loop
- 17:06 Syncing the code so each function runs at the same time
- 17:32 Setting the functions to run at the same time to make the player move faster
- 18:52 Last steps and double check before testing in FN
- 19:40 Checking our work in FN
- 20:03 Wrap-up and Outro