Updates *here*. I've only included those files that have changed. Changes are:
- Fully introduced separation of default and level specific objects
- Added object / script editor
- Added ability to create objects within the editor
- Added scriptref.txt, this is used by the editor so that it knows what triggers are possible.
- Added opendoor(x,y) support to enable simple switches and traps
- Added remove(nearby) to allow one off events that need to cover a wide area (to ensure the player activate them) get run just once
- Updated map to include a switch to unlock door (second door)
- Updated map to include a neat 'trap' event using the above scriptng. From the start, go out of the second door, up and left... ;-)
A note on the objects in the editor. You'll see DEFAULT objects and LEVEL objects intermingled in the palette. They're separated by a NEW item. Click this and place it to create new objects. Or place existing ones (and remove them from the map) as per normal tile palettes. RMB to edit on the palette.
Hope you like - now I can get into some neat gameplay stuff like the two examples in the new map. Hopefully they'll give you an idea of how to create more clever stuff!
- Fully introduced separation of default and level specific objects
- Added object / script editor
- Added ability to create objects within the editor
- Added scriptref.txt, this is used by the editor so that it knows what triggers are possible.
- Added opendoor(x,y) support to enable simple switches and traps
- Added remove(nearby) to allow one off events that need to cover a wide area (to ensure the player activate them) get run just once
- Updated map to include a switch to unlock door (second door)
- Updated map to include a neat 'trap' event using the above scriptng. From the start, go out of the second door, up and left... ;-)
A note on the objects in the editor. You'll see DEFAULT objects and LEVEL objects intermingled in the palette. They're separated by a NEW item. Click this and place it to create new objects. Or place existing ones (and remove them from the map) as per normal tile palettes. RMB to edit on the palette.
Hope you like - now I can get into some neat gameplay stuff like the two examples in the new map. Hopefully they'll give you an idea of how to create more clever stuff!