It was originally written by Sandro Sigala using the QT and KDE libraries for release 1.0 of KDE.
KReptonEd was converted to KDE 3 and this version is currently maintained by Jonathan Marten.
$KDEDIR/share/apps/krepton/episodes
. To create
a new episode based on one of these, start KReptonEd and click
the New Episode button. Enter a name for your new episode, and
choose the episode that it is to be based on from the list of existing
episodes. Click OK to copy the episode and start the editor.
To modify an existing personal episode, click the Edit Episode button and choose the episode to edit from the list of existing personal episodes. Click OK to start the editor.
Your personal episodes are stored in the directory
$KDEHOME/share/apps/krepton/episodes
. You can copy the
episode data stored here between users, if you wish to share your
episodes; one day there may be an option within KRepton and KReptonEd
to do this in a more user-friendly way.
It is not (yet) possible to change the size of an existing level.
You can create transporters by specifying their origin position (which triggers the transporter when Repton moves on to it) and the destination position (where Repton reappears after transporting). The map must have a transporter sprite at the origin position; the consistency check will verify this and tell you if not.
When the levels and sprites are to your satisfaction, choose Save from the File menu to save the episode to your personal data directory. You can now select and play the episode in the KRepton game (if you don't have that installed, do it now!).
The level is shown in the large scrolling view, with the current coordinates of the mouse pointer; you can use these coordinates as a reference when placing transporters. To place an object, select it in the scrolling list of objects (the object graphic will be shown to the right of the list) and then click the left mouse button over the map to place the object. Click the right mouse button to delete any existing object and place an empty space.
When the level is finished, click Close to close the level editor; alternatively, simply choose another level to edit from the list.
Select the sprite to be modified from the scrolling list, which will be displayed at actual size to the right of the list and enlarged in the sprite area. Place coloured pixels using the left and right mouse buttons; the colours which each button will place can be selected by using the Left and Right buttons below the sprite preview.
When the sprites are finished, click Close to close the sprite editor.
The sprite editor should suffice for simple editing, but it is also possible to edit the sprites using any other graphics application. The sprites are contained in the sprites.bmp file (in the Windows bitmap format) within the episode directory. For advanced sprite editing I suggest using the powerful GIMP (GNU Image Manipulation Program), available freely at www.gimp.org if you do not have it installed already.
The following checks are done:
There are some other conditions which, while not necessarily making the level unplayable, may cause problems for the player and so a warning will be given:
If Check Consistency Before Saving is turned on, the check will be done automatically before the episode is saved. This can be turned off to allow partial episodes to be saved while work on them is in progress.
If Align Windows is turned on, the sprite and level editor windows will move and maintain their same relative positions if the main editor window is moved. If the option is turned off, the windows can be moved around independently.
See the KRepton help for more information and links.
KReptonEd 3.0 is now released under GPL; I have obtained the original author's permission for this license change.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING for further details. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.Sandro's original version 1.0 was released under a license as follows:
I release it under an open source code license. If you like this program, send me a postcard from your hometown :-). Sandro Sigala Viale De Gasperi, 8 25041 Darfo Boario Terme Brescia, Italy