Why did we?
We built Scroller2d to make it easier to turn a SpriteKit level idea into something you can play.
Where Scroller2d started
Getting a first level playable in SpriteKit takes a lot of upfront work. You have to decide how to represent the level, load its assets, place the objects, and set up common behavior such as physics and animation. A scrolling background, stretches of ground, enemies, collectibles, and checkpoints come up again in the next level, so those pieces need to be reusable from the start.
When we looked for tools, we found pieces of the workflow. Some paid options were hard to justify for an independent project or came with a workflow we would have had to adapt our game around. Building our own tools meant spending time on level formats, loading code, and reusable objects before we could experiment with the game itself.
We built Scroller2d for developers who want to make a 2D game in Swift with SpriteKit and get to a playable level sooner. We wanted a visual editor on the Mac, reusable object definitions, and a Swift API that could load the same level files in the game. Bringing those pieces together means a developer can start with a level and build on it as the game grows.
A level editor and an API that share the same data
LevelEditor gives you a canvas on your Mac. Drag in an obstacle, move a checkpoint, or adjust a collectible and see its placement as you work. Define common objects once, then reuse them across levels and override properties where a particular level calls for something different.
The Scroller2d API loads the saved level data into your SpriteKit project. It provides Swift data models, scene base classes, and helpers for jobs like creating obstacles and characters or playing sprite animations. Your game code still decides how the player moves, what happens on contact, and what it takes to finish the level.
Make it easier to try an idea
Is the first jump too wide? Would a higher coin help guide the player? Should the checkpoint come before the obstacle? You can try those ideas on the canvas and save them in the level file. Then run the game to judge how the change feels. Keeping those design decisions in the level data means fewer Swift edits between playtests. Once a moving platform or enemy is working, you can reuse its definition in the next level and spend that time deciding how to challenge the player.
See what Scroller2d handles in a SpriteKit game for a walkthrough of the editor, API, and sample code responsibilities.
See it in Desert Ruins
Watch the first jump in the iOS demo, then see a coin above the gap move in LevelEditor. After the updated level file is copied into the sample, the same jump shows the coin in its new position.