"Bike or Design" v1.2a

Create your own "Bike or Die!" levels!
Bugs fixed in v1.2a:
- No longer crashes 320x480 Palms (LifeDrive, T|X, etc.)
- Loading large levels does not move the view outside the level area
Changes in v1.2:
- Updraft, variable friction and the selectable number of mandatory flags (requires Bike or Die v1.4)
- Sketch mode: automatically converts your freehand drawing into polygons
- The currently loaded level ID is taken into account while reordering levels
- "Overwrite level" dialog now looks at the level names to detect if you are about to overwrite a different level
- Selection rectangle does not clear the previous selection (so you can select nonrectangular shapes in multiple steps)
- New doubleclick shortcuts (in selection and delete tool)
- Picture labels can be hidden
- Picture selector now affects the currently selected bitmap objects (previously it was the last clicked object)
Changes since 1.1c
- Can be launched from card, can use "Bike or Die" installed on card (previous versions required that both the level editor and the game were installed in the main memory)
- New editing operation: Split
Changes since 1.0
- Picture selector showing all built-in bitmaps!

Support for importing custom bitmaps is planned for the next release
- New editing operations: Flip horizontal/vertical, Rotate
- Beam levelpacks (from the levelpack selector dialog)
- Increased level data size limits (number of points and objects)
- Compatible with the new Bike or Die v1.2
- Bug fixed: possible infinite loop while splitting long line segments
- Bug fixed: strict level data size limits (prevents from overflows and data loss)
- Bug fixed: Levelpack files are now marked for backup
- Bug fixed: Levelpack name limit as required by the Bike or Die game.
How to upgrade: Just install the new prc file, don't delete the previous version.
Compatibility: Bike or Die v1.2 or higher is required for the Test feature, v1.4 or higher if you want to use updraft and other new features.
How to use additional levels?
- Menu "Select Level"
- "More..."
- Pick a levelpack
- The new levels appear
Note: The editor is available for free and fully functional, however you need to register the Bike or Die game to play levels created using the editor.
Click here to purchase the registration code 
support@bike.toyspring.com
|
Editor basics
The editor starts with the simple level, consisting of the empty rectangular area and the start location.
- Try draging the corners of the rectangle using the
Move tool or reshape the polygon adding more vertices ( Line Draw tool).
- Try the Zooom buttons
- Use the
Undo button to cancel your last action.
- You can use the menu Level/Clear to get back to the initial empty level.
- Once you got some interesting shape, click on
Test to ride (the editor will complain about the undefined finish point, you can add the finish or ignore the warning). While testing, click on the Back Arrow to get back to the editor.
- Go to the Level Properties and set the level number, name and colors (menu: Level/Properties).
Important: You have to set the level number other than 0 to make it appear on the level list in the game.
- Use the menu Level/Save to save your level into your new Levelpack, named "BikeOrDie - My Levels" by default. (You can use Level/Load/Select to manage your Levelpacks)
Object Types:
- Ground Polygon
The level terrain is built of polygons. They are the only "material" thing, on which the bike can ride. Usually there is one big, outermost polygon, which defines the playing area and some number of smaller polygons creating obstacles and platforms.
The friction level selector applies to the currently selected line segments.
- Start Location
This is where your bike is placed.
- Finish Location (Checkered Flag)
- Checkpoint (Red Flag)
Each level should have at least one Finish or Checkpoint (or both).
- Obstacle (Mine Trap)
- Background Picture
- (Foreground) Picture
Foreground pictures can obscure the bike, the background pictures appear behind it.
While selecting this object type you can choose the actual picture. Click on the small button in the bottom right corner to access the picture selector dialog.

The actual pictures are only displayed when zoom is set to 100% or 200% (or 1:2 in high resolution mode). The editor is not (yet) able to scale pictures properly, so they will appear slightly out of place in zoom 200% mode. Always use zoom 100% (or zoom 1:2) while adjusting picture placements to avoid confusion.
- Updraft
This object creates the area with upward force that can lift up the bike (or reduce its weight). There are 4 updraft settings:
- 0.Weak (reduced gravity)
- 1.Medium (weightlessness)
- 2.Strong (reversed+reduced gravity)
- 3.Very Strong (reversed gravity)
Note: Overlapping updraft objects do not increase the total force, only the strongest one takes effect in any given point. You should avoid overlapping updrafts as it would mislead players.
Buttons
Line Draw and Sketch is the same button - click to switch between these tools
Sketch:
This tool can only work with Ground objects. It automatically converts freehand drawing into polygons. Can be used to create new polygons or modify the existing ones.
The rules:
- If you cross the existing polygon in two points, then your line will be incorporated into this polygon
- Otherwise a new polygon will be created

Creating a new polygon
|

Modifying an existing polygon (note the two intersection points)
|
Note: Unlike Line Draw which affects the polygons directly, the Sketch tool has to make some autonomic decisions about how to interpret your drawing. Sometimes it gives unwanted results. Undo is your friend!
Line Draw:
Line drawing tool allows you to edit the polygon points precisely. It adds a new point when started close to the existing vertex or creates a new polygon otherwise.
Line drawing is also use to create other, nonpolygonal objects.
Erase:
Removes the polygon vertex or the object
Move:
- Drag the single vertex (when clicked on the vertex)
- Drag all selected vertices (when clicked on the selected vertex)
- Move the view (when clicked on the empty area)
Selection:
Select the rectangular area. The selected vertices and objects can be edited as a group, eg. moved, cloned or deleted. The menu "Selection" offers additional means for selecting level items.
Grab:
Move the view only, regardless of the selection and the clicked location
Splice polygons:
If active, the polygons can be merged while dragging vertices. Sometimes you will need to use the Reverse operation (menu Edit), which reverses the polygon winding.
Undo:
Cancels the last operation. There is only one undo level.
Type selector:
You can select the object type for the new object or change the existing object. Ground Polygons and Updraft objects cannot be changed into anything else.
- Creating a new object:
- Select "Draw" Tool
- Select the type
- (For picture type) Choose the picture
- Click on the desired location
- Changing the type:
- Select "Move" Tool
- Select the object
- Select some other type
- (For picture type) Choose the picture
- Z/o/o/o/m buttons:
The first "o" corresponds to the 100% scale. Each button changes the magnification by 50%.
- Test:
Launches the "Bike Or Die" game playing the currently edited level. Click on the "Back" arrow to get back to the editor.
Menu
- Level menu:
- Clear: Removes all objects
- Select/Load: This is the Level/Levelpack selector. You should use this menu item and make sure the desired levelpack is selected before saving any levels. The levelpack selector allows you to manage levelpacks, ie. create, rename and delete them.
- Save: Saves the level into the currently selected levelpack.
- Properties: Define the level number, title and colors. Level number can be later adjusted in the level selector (use Select/Load)
- Verify: does some basic checking. It is automatically invoked before saving or testing the level.
- Test Play: Launches the "Bike Or Die" game playing the currently edited level. Click on the "Back" arrow to get back to the editor.
- Edit menu:
- Clone: Creates a new polygon from the currently selected vertices.
- Flip Horizontal/Vertical: Mirrors the currently selected vertices and objects.
- Rotate:

- Choose +90, -90, 180 to rotate immediately using one of the the predefined angles
- Choose "Any" to rotate the objects freely (click and drag on the screen to change the rotation angle)
- Choose 0 to cancel rotation
- Delete: Removes the selected vertices/objects
- Reverse: Toggles the polygon winding for the currently selected vertices. This is useful after splicing differently winded polygons.
- Nudge: Move the selected vertices by one pixel. This is most useful when used from a keyboard/graffiti shortcuts (PageUp/PageDown/Space/Backspace)
- Undo: Cancels the last operation
- View menu:
- Go To: move the view accordingly
- Zoom: work like the Zoom buttons
- Select menu:
- All/None/Invert - operate on all vertices/objects
- Inv.Polygon - Invert the selection on all polygons having at least one vertex is selected
- Connected - Select all vertices in all polygons having at least one vertex is selected
- Prev./Next Object - Selects whole polygons sequentially
- Prev./Next Point - Selects points one by one
Shortcuts
The following keys/graffiti strokes can be used:
- p,l,i - Select the next tool (one of the 5 buttons)
- d - Drawing tool
- e - Eraser
- m - Move tool
- r - Rectangular selection
- v - Move the view tool
- j - join polygons (toggle)
- u - undo
- Direction keys: (Up, Down, Left, Right, Backspace, Space)
- nudge the selection (if there is one)
- move the view (otherwise)
- Double click can trigger special actions:
- on empty area or selection tool: unselect everything
- on object or polygon: selects the whole object
- on delete tool: delete the selected objects
See the menus for the usual menu shortcuts.
Custom bitmaps (advanced)
Unfortunately, the current "Bike or Design" won't help you creating custom bitmaps for your levels. However, you can add bitmaps to the levelpack database, using a resource editor, eg. RsrcEdit. "Bike or Die" uses bitmap IDs 401..431. You can add more bitmaps, starting with some higher number, eg. 450, or replace the builtin ones. Then, use the Picture object and select the picture #50; it will refer to the bitmap 450. (Note that you can choose nonexisting picture in the selector dialog - just enter the proper number in the textfield). The actual picture will not be visible in the editor nor during the test play, it will only appear while using the levelpack in the game. You can temporarily add the bitmaps to the BikeOrDie.prc to overcome this limitation.
Or, you can wait for the next release, which will support custom bitmaps without that hassle.
|