Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

2D Platformer Demo (Rust GDExtension)

An asset by h2cone
The page banner background of a mountain and forest
2D Platformer Demo (Rust GDExtension) hero image

Quick Information

0 ratings
2D Platformer Demo (Rust GDExtension) icon image
h2cone
2D Platformer Demo (Rust GDExtension)

p1proto is a compact 2D platformer demo built with Godot 4 and a Rust GDExtension. It is a small reference project focused on room-to-room traversal, reusable gameplay entities, and lightweight persistence.Features• Player movement with coyote time, jump buffering, jump cut, and snappy ground turning• Multi-room traversal with boundary-based room transitions and portal teleports• LDtk-authored rooms loaded as Godot scenes• Interactive entities: checkpoints, collectible stars, keys and locks, pressure plates, moving platforms, crumbling platforms, pushable crates, portals, and switch doors• Main menu with New Game / Continue• Pause menu, star counter UI, and explored-room world map• Simple persistence for checkpoints, collected items, unlocked locks, and explored rooms

Supported Engine Version
4.7
Version String
0.1.2
License Version
MIT
Support Level
community
Modified Date
6 hours ago
Git URL
Issue URL

p1proto

README Gameplay preview

A compact 2D platformer prototype built with Godot 4 and a Rust GDExtension. Room-to-room traversal, stateful world objects, lightweight save data, and gameplay logic on the Rust side.

Highlights

  • Player movement with coyote time, jump buffering, jump cut, and ground turn acceleration.
  • Multi-room traversal via boundary transitions and portal teleports.
  • LDtk-authored rooms imported as Godot scenes.
  • Stateful entities: checkpoints, collectible stars, keys/locks, pressure plates, moving/crumbling platforms, pushable crates, portals, switch doors.
  • Menu flow (New Game / Continue), pause menu, star counter, and explored-room world map.

Quick Start

Requires Rust (cargo) and Godot 4 on PATH.

cd rust && cargo build
cd ../godot && godot --path .

Or on Windows:

./scripts/run.ps1                  # build + launch
./scripts/run.ps1 -Build Release   # release build
./scripts/run.ps1 -Editor          # open editor
./scripts/export.ps1               # export Windows build

Controls

Key Action
Left / Right Move
Space Jump
Up Activate portals
M Toggle world map
Esc Pause
B Toggle background music

Repository Layout

Directory Contents
godot/ Godot project, scenes, assets, pipelines, and add-ons
rust/ GDExtension crate — gameplay, UI, rooms, save logic
scripts/ Helper scripts (run, export, update gdext)
screenshots/ Media for docs and store listings
docs/ Supporting documentation

License

MIT — bundled add-on licenses under godot/addons/ may differ.

p1proto is a compact 2D platformer demo built with Godot 4 and a Rust GDExtension. It is a small reference project focused on room-to-room traversal, reusable gameplay entities, and lightweight persistence.

Features

• Player movement with coyote time, jump buffering, jump cut, and snappy ground turning
• Multi-room traversal with boundary-based room transitions and portal teleports
• LDtk-authored rooms loaded as Godot scenes
• Interactive entities: checkpoints, collectible stars, keys and locks, pressure plates, moving platforms, crumbling platforms, pushable crates, portals, and switch doors
• Main menu with New Game / Continue
• Pause menu, star counter UI, and explored-room world map
• Simple persistence for checkpoints, collected items, unlocked locks, and explored rooms

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
2D Platformer Demo (Rust GDExtension) icon image
h2cone
2D Platformer Demo (Rust GDExtension)

p1proto is a compact 2D platformer demo built with Godot 4 and a Rust GDExtension. It is a small reference project focused on room-to-room traversal, reusable gameplay entities, and lightweight persistence.Features• Player movement with coyote time, jump buffering, jump cut, and snappy ground turning• Multi-room traversal with boundary-based room transitions and portal teleports• LDtk-authored rooms loaded as Godot scenes• Interactive entities: checkpoints, collectible stars, keys and locks, pressure plates, moving platforms, crumbling platforms, pushable crates, portals, and switch doors• Main menu with New Game / Continue• Pause menu, star counter UI, and explored-room world map• Simple persistence for checkpoints, collected items, unlocked locks, and explored rooms

Supported Engine Version
4.7
Version String
0.1.2
License Version
MIT
Support Level
community
Modified Date
6 hours ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers