Creator Guide
English
English
  • OVERDARE
    • 🚩Introduction to OVERDARE
    • 🐤Get Started
      • OVERDARE App
      • OVERDARE Studio
    • 📌Policy
      • Community Guidelines
      • UGC Creation Guidelines
      • Guidelines on the External Use of UGC
      • Logo Usage Guidelines
      • Intellectual Property Rights Policy
      • Reporting Guidelines
      • Guidelines on Disputing Suspensions and Bans
      • Creator Payout Policy
      • Monetization Guidelines
    • 🅰️OVERDARE Glossary
  • MANUAL
    • 🏰Studio Manual
      • Get Started
        • Studio Interface
        • World Template
        • Coordinate System
        • Studio Test Play
        • World Publish
        • Collaboration
      • Asset & Resource Creation
        • Asset Import
        • Animation Editor
      • Game Development
        • Game Settings
        • Script Editor
        • Align Tool
        • Material Manager
        • Collision Groups
        • Tag Editor
        • Performance Guide
      • Object
        • Part
        • Model
        • Camera
        • Physics
        • Lighting
        • Tool
        • VFX
        • Sound
      • Character
        • Character Animation
        • Humanoid Description
      • GUI
    • 📝Script Manual
      • Get Started
        • Script Overview
        • Basic Guide to Lua
        • Coding Style
        • Object Reference
        • Unity Developer Guide
      • Events & Communication
        • Event
        • Server-Client Communication
        • BindableEvent
        • Value Objects
      • Input & Controls
        • Mobile Input Handling
        • TPS Strafing System
      • Advanced Gameplay Systems
        • Saving & Loading Data
        • Tween
        • Module Script
      • Debugging & Optimization
        • Breakpoint
        • Practical Guide to Script Optimization
  • 💸Monetization
    • Payout Guideline
  • DEVELOPMENT
    • 📚API Reference
      • Enums
        • ActuatorRelativeTo
        • AnimationPriority
        • AspectType
        • AssetTypeVerification
        • BorderMode
        • CameraMode
        • CameraType
        • ContextActionResult
        • CoreGuiType
        • DominantAxis
        • EasingDirection
        • EasingStyle
        • ForceLimitMode
        • HttpCompression
        • HttpContentType
        • HumanoidDisplayDistanceType
        • HumanoidStateType
        • KeyCode
        • Material
        • MaterialPattern
        • NormalId
        • ParticleEmitterShape
        • ParticleEmitterShapeInOut
        • ParticleEmitterShapeStyle
        • ParticleFlipbookLayout
        • ParticleFlipbookMode
        • ParticleOrientation
        • PartType
        • PlaybackState
        • RaycastFilterType
        • RollOffMode
        • RotationType
        • UserInputState
        • UserInputType
        • VelocityConstraintMode
      • DataTypes
        • BlendSpaceSampleSata
        • BrickColor
        • CFrame
        • Color3
        • ColorSequence
        • ColorSequenceKeypoint
        • Content
        • Enum
        • EnumItem
        • NumberRange
        • NumberSequence
        • NumberSequenceKeypoint
        • OverlapParams
        • PhysicalProperties
        • Ray
        • RaycastParams
        • RaycastResult
        • ScriptConnection
        • ScriptSignal
        • TweenInfo
        • Udim
        • Udim2
        • Vector2
        • Vector3
      • Classes
        • Animation
        • AngularVelocity
        • AnimationTrack
        • Animator
        • Atmosphere
        • Attachment
        • Backpack
        • BackpackItem
        • BasePart
        • BaseScript
        • Beam
        • BindableEvent
        • BlendSpace
        • BoolValue
        • Bone
        • Camera
        • CharacterMesh
        • CollectionService
        • Constraint
        • ContextActionService
        • CoreGui
        • DataStore
        • DataModel
        • DataStoreGetOptions
        • DataStoreIncrementOptions
        • DataStoreInfo
        • DataStoreKeyPages
        • DataStoreKeyInfo
        • DataStoreService
        • DataStoreListingPages
        • DataStoreSetOptions
        • FormFactorPart
        • Frame
        • Folder
        • GlobalDataStore
        • GuiBase2d
        • GuiButton
        • GuiObject
        • HttpService
        • Humanoid
        • HumanoidDescription
        • ImageButton
        • ImageLabel
        • InputObject
        • IntValue
        • LayerCollector
        • Instance
        • Light
        • Lighting
        • LinearVelocity
        • LocalScript
        • LuaSourceContainer
        • MaterialService
        • MaterialVariant
        • MeshPart
        • Model
        • ModuleScript
        • Mouse
        • OrderedDataStore
        • Pages
        • Part
        • ParticleEmitter
        • PhysicsService
        • Player
        • PlayerGui
        • Players
        • PlayerScripts
        • PointLight
        • PVInstance
        • ReplicatedStorage
        • RemoteEvent
        • ScreenGui
        • RunService
        • Script
        • ServerStorage
        • ServiceProvider
        • Skeleton
        • ServerScriptService
        • Sound
        • SoundService
        • SoundGroup
        • SpotLight
        • SpawnLocation
        • StarterCharacterScripts
        • StarterPack
        • StarterGui
        • StarterPlayer
        • StarterPlayerScripts
        • StringValue
        • SurfaceGui
        • SurfaceGuiBase
        • Team
        • Teams
        • TextLabel
        • TextButton
        • Tool
        • Trail
        • Tween
        • TweenService
        • TweenBase
        • UIAspectRatioConstraint
        • UserGameSettings
        • UserInputService
        • UserSettings
        • VectorForce
        • Workspace
        • WrapLayer
        • WorldRoot
        • WrapTarget
  • UPDATE
    • 📰Release Note
Powered by GitBook
On this page
  • Overview
  • Features
  • How to Use
  • Opening a Script
  • Keyboard Shortcuts
  • Autocomplete
  • Find and Replace
  • Find All and Replace All
  • Problem
  • Breakpoint
  1. MANUAL
  2. Studio Manual
  3. Game Development

Script Editor

PreviousGame SettingsNextAlign Tool

Last updated 2 months ago

Overview

The Script Editor in OVERDARE Studio is an essential tool for writing scripts, designed to facilitate easy code writing. It helps manage the development process efficiently and significantly reduce working time.

Features

  • The editor formats and highlights syntax in code.

  • It provides an autocomplete function that suggests code phrases as you type.

  • It allows you to search and replace code within an open script or across all scripts.

  • It provides real-time feedback on code quality and compliance.

  • It offers robust debugging capabilities using breakpoints, allowing precise tracking of code execution flow and effective issue analysis.

How to Use

Opening a Script

Double-clicking a script in the Level Browser opens the Script Editor.

Keyboard Shortcuts

Shortcut
Description

Ctrl+S

Save

Ctrl+A

Select All

Ctrl+C / Ctrl+V

Copy/Paste

Ctrl+X

Cut

Ctrl+Z / Ctrl+Shift+Z

Undo/Redo

Ctrl+Wheel

Increase or decrease the size of fonts

Alt+↑ / Alt+↓

Swap the current line that the cursor is on with the line above/below

Ctrl+↑ / Ctrl+↓

Scroll by one line

Ctrl+Home / Ctrl+End

Move to the first/last line

Ctrl+F

Find code in the current script

Ctrl+H

Replace code in the current script

Ctrl+Shift+F

Find/Replace across all scripts

Ctrl+G

Go to a specific line

Autocomplete

While entering code, the editor suggests relevant functions, variables, and syntax, improving writing speed and productivity.

When autocomplete suggestions appear, you can navigate the list using the up and down arrow keys, then press Tab or Enter to insert the selected suggestion into the script.

If autocomplete is not needed, press Esc to close the suggestions.

Find and Replace

Using the Find (Ctrl+F) or Replace (Ctrl+H) functions, you can search and replace code within the current script. If multiple matches are found, you can navigate through them using the Enter key.

  • 1️⃣ Match case

  • 2️⃣ Match whole word

  • 3️⃣ Use regular expressions

  • 4️⃣ Next match

  • 5️⃣ Previous match

  • 6️⃣ Close

  • 7️⃣ Replace selected word

  • 8️⃣ Replace all

Find All and Replace All

By using the Find/Replace All function (Ctrl+Shift+F), you can search and replace code across all scripts. Double-clicking a result in the output panel moves the cursor to the corresponding line.

  • 1️⃣ Match case

  • 2️⃣ Match whole word

  • 3️⃣ Use regular expressions

  • 4️⃣ Next match

  • 5️⃣ Previous match

  • 6️⃣ Script filter

  • 7️⃣ Close

  • 8️⃣ Replace selected word

  • 9️⃣️ Replace all

Problem

The Problem panel analyzes the script being written and highlights active errors and warnings. Errors are also underlined in red within the Script Editor.

Double-clicking a log entry in the Problem panel moves the cursor to the corresponding line.

Breakpoint

The Breakpoint function is a script debugging tool that allows you to pause the execution of a script at a specific point to examine the state of that point or analyze any issues during the script’s execution.

🏰
Breakpoint