Preview
Preview opens the active Document in a play view so you can test how your current Spritedeck data behaves with your game.
The preview uses the Project's configured game URL and sends the current Document export data to that page. Your game can then read the data and render, debug, or simulate the area however you have wired it.
Before previewing
- Save your current work
- Make sure the Project has a preview game URL in Project Settings
- Confirm that the Document you want to test is the active Document
Starting a preview
Click Preview in the editor. Spritedeck opens a floating Game Player window right in the workspace, so you can keep an eye on both your Document and your game at the same time.
The Game Player window can be dragged around the screen and resized, or reset back to your Project's configured size with the 1:1 button. Use Reload to refresh it with your latest changes, or Open Preview in New Tab if you'd rather test in a full browser tab.
What preview is for
Preview is best for quick feedback while designing: check layout, verify object placement, test route data, and make sure your game integration is reading the exported structure the way you expect.