Skip to content
SG edited this page Feb 17, 2020 · 7 revisions

world editor screenshot

Name Button

The name of your world. Click to open the actions menu.

Actions Menu

Rename: Rename the world.

Resize: Change the size of the world, rooms, and sprites. Keep in mind that this will clear your existing entities, so it's best to do this only at the start of a new game.

Font Settings:

  • Text Resolution: How big dialog appears compared to the rest of the game. For example, at x2 resolution you get twice the number of pixels, so you can use larger fonts - or just fit more text on the screen at one time.

  • Text Direction: Alternate the direction text is written, from left-to-right (for English, Spanish, French, etc) to right-to-left (for Arabic, Hebrew, etc).

  • Import Font: Import a Bitsy font file. You can snag some good ones from Bitsy itself!

  • Reset Font: Remove a custom font and return to the default ascii_tiny font.

Custom Scripts: Advanced feature, still in beta! Add javascript snippets that can be used in your scripts. The custom script is the body of a javascript function - for now I recommend studying script.js (line 741) in the repo to learn more about how they're used.

Export: Export the world as a mosi file or as plain text. (If you want to export your game in a playable form, open the Play Preview and hit the Share button.)

Import: Import a world from a mosi file or from plain text.

Randomize: Replace all the rooms with randomized ones, generated from your sprites.

Clear: Clear all rooms, leaving you with a blank slate.

Reset Everything: Factory reset! Clears all rooms, deletes all sprites, palettes, and music, then generates a new world from scratch.

World Properties

Scripts

Open up the script panel for the world.

On Start: This script runs when the game first starts. If you want to do a title screen for instance, you could put this as your on-start script: {position fullscreen}{world-name}{/position}

Wrap Horizontal

Make the world map wrap horizontally, so that the east side of the east-most room connects with the west side of the west-most room (and vice versa).

Wrap Vertical

Make the world map wrap vertically, so that the south side of the south-most room connects with the north side of the north-most room (and vice versa).

Map

The map of your game world. Select a room to edit it.

Clone this wiki locally