SamSuka
SamanthaSnow
SamanthaSnow

patreon


Episode 1 Devbuild V1.0.6 - Custom Events Yo!

So I had some spare time today and I decided to go ahead and finish up the basics of the event customizer for Episode 1, and while it is not really done I wanted to let all you lovely people have a look at it~

It should now be possible to create and share custom events.. well, at least one. I have planned to have up to 3 custom events in the game but I have focused on making a single one work firs, and I want to get it bugtested at least a little before I extend it to include two more. 

This might unfortunately end up being a standalone only feature, I'm not happy about that but as it turns out WebGL does NOT play nice with sending cross-domain web-requests, nor clipboard functionality. I've been tinkering with it for a few hours and while I managed to find a possible workaround for the clipboard I cannot for the life of me find a way to load images from a URL without having to own the server the game is hosted on.

Its likely I'll still be releasing a new public build though as I'm hoping to be able to write some "default events" for the new planets, so while the editor might not be available there would still be three new events, time will tell what happens with that however as I am still mainly focused on Episode 2.

Do note that this is most certainly an alpha build in terms of the new functionality, and while I have tried my best to foolproof everything its quite possible that you might run into a bug that could crash the game


I hope I have made the in-game menu understandable enough to be used without much additional instruction, but just in case here is how to use it:

Creating An Event 

The event customizer is available from the main menu. 

Once opened the left side of the screen is the event creator, the right side is the loader, lets focus on the creator for now. The text you wish to display once you arrive at the new "custom event 1" planet should be written in the large input box. 

Next click on the "action 1" button in the "Step 2" section of the screen, this will open an additional panel where you'll be able to type in the text for the respective button in an input field near the top, and the text to be displayed once the button is pressed in the larger text box underneath. 

Repeat the last step for each of the action buttons you wish to use - uncheck the checkbox if you don't want the respective action to be used in the event.

If you want art for the event copy an image url (find an image online > right click > open image in new tab > copy url from web browser) and paste it into the respective field in the "step 3" section of the event creator, the "Event Intro" is the one that will display when the event starts.

Lastly hit the "generate event 1" button near the bottom of the screen, the event will be saved automatically so if you want to play it just exit the editor and play. The event will be kept if you save the game, but if you want to copy the event to a new game and/or to share it with someone else follow the steps below.

Exporting/importing Event

Once you have made your event and hit "generate" the textbox on the right side of the screen above the "Load Event 1" button will update and display - part of - the eventstring. To export the event simply copy the eventstring and save it to a text document (or send it to someone)

To load an event from string paste a copied eventstring into the same textbox and hit "Load Event 1". The event will be loaded automatically so once again if you just want to play it close the editor and start the game. The input fields of the event creator will also update with the data from the loaded eventstring so if you wish to edit the event simply change the bits you want and hit "generate" once more.


And with that, as always have a good one~
-Sammy

Episode 1 Devbuild V1.0.6 - Custom Events Yo!

Comments

The file has been updated~

I made a mistake with the string handling in the initial upload which makes it so using the word "split" in any of the custom text would result in events not loading correctly, I have made a fix to that and I'm currently updating the file - the download link should be the same, but custom events exported from the initially uploaded version will not work with the new, and also you can't use the word "split" >.< I will write another comment once the file has been updated, if you've already downloaded it please delete that and download it again unless you're sure you're never going to use the word "split" and don't care about sharing events. I'm really sorry about the inconvenience, I blame murphy's law! (and my own forgetfulness xP)


More Creators