Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>LNA ScriptingNew to Visual Studio Code? Get it now.
LNA Scripting

LNA Scripting

Prism Ink

| (1) | Free
Language support for LNA game scripts
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

LNA Language Support

LNA is a flexible, high-level programming language designed to be easy to read and write. It removes the complexity of traditional syntax like brackets and semi-colons, allowing you to focus on logic and gameplay.

🚀 Features Easy Logic: Write complex conditions in plain English using if...then syntax.

No Brackets: LNA is designed to be a "bracket-less" language for a cleaner look.

Multi-Mode Support: Specialized headers for PLAYER 3D EXTENDED, UI 2D EXTENDED, and more.

50+ Built-in Properties: Full support for physics, UI, AI, and audio properties.

Real-time Interpretation: Runs via the LNA Engine for instant feedback.

🛠️ Getting Started Installation Install this extension from the Marketplace.

Ensure you have the lna_engine.py interpreter in your project folder.

Running a Script To run an LNA script (e.g., test.lna):

Open your .lna file in VS Code.

Use the command python lna_run.py .lna in your terminal.

Alternatively, use the configured VS Code Build Task (Ctrl+Shift+B).

📝 Syntax Example Here is how simple a health system looks in LNA:

Code snippet // Initialize player stats variable = "hp" hp = 100

// Simple logic check if hp <= 0 then function player_respawn

// UI and Interaction new instance Text_Label 10.0, 10.0, 0.0 if player is touching "Lava_Zone" then -1.0 value to variable "hp" 🔍 Supported Keywords Control: if, then, else, function, call function, wait, repeat.

Physics: velocity, position, rotation, gravity, mass, friction, on floor.

Stats: hp, stamina, mana, speed, defense, damage, coin.

UI: new instance, on click, on hover, text, opacity, color.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft