Welcome, Guest. Please login or register.

Author Topic: BOH Level Editor  (Read 6017 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
BOH Level Editor
« on: June 11, 2009, 01:27:08 PM »
As some of you may know, I'm a big fan of the new OS4/OSX/Windows game 'BOH' by Simone Bevilacqua (http://www.bohthegame.com/). The game is designed to be expandable with new missions, sounds and graphics. Although the mission files are ASCII text, I found it difficult to visualise what missions would look like in-game, particularly their size and proportions. So I decided to write an editor to allow graphical creation of missions.

The editor is web-based and has been tested in Safari (Mac), Internet Explorer (Windows), OWB (OS4) and iBrowse (OS4). The following features are present:

  • Help page
  • Undo
  • Upload of existing (non-encrypted) maps
  • Copy and paste
  • Row/column insertion and deletion
  • Zoom in and out
  • Fill
  • All tiles and objects from BOH
  • Floors
  • Automatic recalculation of surrounding tiles when placing, pasting or filling tiles (e.g. to change buttons to passages when placing barriers on either side of them)
  • Save to a BOH .bmd file or display ASCII map data for copy/paste in to a text editor


The following features are currently missing:

  • Parse header from input (though a default header will be created for new maps and an existing header loaded from a loaded map)
  • Customise header for output (any changes to the header must be made in a text editor)
  • Tile orientations (passages and staircases always display the same way round, but patches of tiles which have corners and edges are corrected automatically to display properly)


The following bugs are known:

  • Occasionally hangs when uploading files. Just press "open" again and the file should upload correctly
  • When opening the editor for the first time, the empty map is not created properly, so attempting to modify it results in weird effects on the map and a blank map when reloading. To fix this, just create a new map using the "New" button on the tool bar. This problem does not occur once a blank map has been created or an existing map opened
  • The courier font is used in various places, but this may not display correctly if this font is not present


Please let me (motorollin) know if you identify any bugs or other issues or if you have any suggestions or questions. You can also let me know if you like it ;) I'm hoping to address the above issues if there is sufficient interest in the editor, though none of them should cause problems creating missions. Please do not contact Simone, Editel or the BOH support email address regarding the editor as they are not responsible for supporting it.

You can find the editor here:

http://www.mashley.net/BOHEditor/

It might take a little while to load initially, particularly if you load a map with lots of different tiles and especially on Amiga browsers. Once the images have been cached it's quite fast even on OS4 browsers since most of the work is done server-side by PHP with minimal reliance on Javascript.

Have fun, and remember to share your creations with the community :)
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: BOH Level Editor
« Reply #1 on: March 30, 2010, 07:40:28 AM »
Yes unfortunately the editor is way out of date with all the updates to BOH, and I just don't have time at the moment to update the editor to match. Once I've finished my degree I might have another look at it, but for now it's just not possible.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10