XSharp

Chill Penguin authoring examples

ChillPenguin.xproject is the complete imported stage, with editable foreground and background grids, entities, checkpoints and embedded-script source references. The original tile graphics, palettes, collision definitions and dynamic graphics snapshots are separate files under ChillPenguin.assets/.

SnowTraining.xproject crops four screens from the start of the same stage into a small authored map, without the original enemy/door event sequence. It shares those external assets rather than duplicating them. A snow terrain set infers four-edge pattern candidates from the original solid-cell neighborhood; patterns not present in that section use the interior fallback until assigned by an author. Its two logical entities demonstrate outputs: after 180 timer ticks a console entity prints a message and the timer disables itself. Both routes fire once.

Build either project with the toolset:

dotnet run --project ROMExporter -- --project Examples/ChillPenguin/ChillPenguin.xproject --output "$env:TEMP/ChillPenguin.xlevel"
dotnet run --project ROMExporter -- --project Examples/ChillPenguin/SnowTraining.xproject --output "$env:TEMP/SnowTraining.xlevel"

Both are source projects, distinct from the generated runtime package. Keep the asset paths relative when moving them. Save As from the authoring API copies the resources next to the destination project for independent editing.

These files were generated through ProjectStorage.Import / ProjectExamples from the repository’s existing Penguin package; ROM files are not included. Open either .xproject in XSharpLevelEditor. Use the tile palette and Terrain tool for painting, the resource dialog for indexed pixels/colors/collision, and Properties/Outputs for entity logic. F5 compiles the current map and starts the Sandbox muted. See the editor workflow.