XSharp

MegaManLove development tiles

Original sheet and credits: metasprite/MegaManLove, revision cf4002267516c77bca6a34cfb175939492e48256. Source paths: assets/maps/tilesets/demo_tileset.png and demo_tileset.tsx. The upstream project credits Yozzaxia1311 for assets and publishes its MIT license. The original LICENSE and CREDITS.md are retained in Source and copied into the reusable library’s notices so imports/runtime packages retain them. No character or other Capcom sprite sheets are included in this library.

The public xplusplus repository has no corresponding image files; this sheet comes from MegaManLove, the other repository supplied by the user.

The PNG is actually 64x64 (sixteen 16x16 cells). The upstream TSX still declares 48x64 and twelve cells, while the exported demo.lua uses 64x64 and sixteen. The XSharp definition follows the actual PNG/exported map indexing. Transparent cells are preserved. Indexed conversion is checked for pixel/alpha equivalence.

Open a project, then Level > Load dev tiles (MegaManLove). The library is added to the source project; selecting its tile set on a populated layer asks before clearing that layer, and import/switch are undoable. Categories live under Development: Solids, Ladders, Platforms, Water, Slopes and Markers.

Upstream graphics and colliders are separate. XSharp’s adapted collision bytes:

IDs Meaning Collision
0, 8 Solid blocks 3B
4 Ladder 12
5, 6 Rising half-height slope pair 01, 02
9, 10 Falling half-height slope pair 04, 03
11, 14 Water surface / water fill 0E, 0D
12 One-way platform 53
1, 2 45-degree visual guides 00
3, 7, 13, 15 Empty/marker/background cells 00

The current native collision table has half/quarter-height slopes, so the two 45-degree drawings are explicitly visual guides. They are not silently assigned an incorrect slope. These collision choices are XSharp adaptations, not a claim that the upstream TSX defined those engine-specific bytes.

Regenerate the indexed resources after building XSharpLevelEditor:

XSharpLevelEditor.exe --build-dev-library "Source/demo_tileset.png" "DevTiles.xtileset.json"

Use paths relative to this directory (or absolute paths). Keep Source/LICENSE and Source/CREDITS.md beside the input PNG. The operation regenerates this definition and its named resource files. The native JSON library is reusable without Godot, Love2D, a ROM, or a graphics/audio device.