Hi everyone! This is what’s been happening this week.
I’ve finished one of MacAndCheeseShot’s secret endings, which I’m calling the King Cedric ending. I’d share a video but OBS makes the recording really laggy when it’s a Unity game and it crops out the bottom and top parts of the screen and aaaaaaaaa, so here’s some screenshots instead:
I’d also like to discuss a bug that I didn’t think anything of at first, but I think I should write about it now.
In the first demo interacting with objects is quite difficult. One of the reasons is that not every object can be interacted with, but I have a theory as to why interacting with objects is so difficult in the first demo.
I believe it’s because Proto’s trigger in the first demo is so small that the player needs to get really close to the object’s trigger in order to interact with it. I’ve enlarged Proto’s trigger and I’ll get a friend to test it soon and compare the interaction of objects to the first demo. Either way it’s my own stupidity, and I apologize.
In the meantime, I’m trying to fix a strange bug that occurs with a save backup system.
I’m attempting to create a system that saves a different .dat file to store what endings to the game the player has collected. Collecting certain endings will unlock special events to the game. But I have decided to have the file that saves the endings collected in the same location as the save file required to restart the game, so I’ve created a backup to that file in a different location in case the player decides to delete the endings file as well as the save file when they reset the game. However, there is a weird bug that occurs when the detects the endings file is missing but there is a backup. This is the code:
Upon deleting endings.dat but keeping the backup file, this error appears in the console:
InvalidCastException: Cannot cast from source type to destination type.
I have googled the error but nobody who has asked about it seems to have it as a serialization error like me, which is making it very difficult to find the solution.
I have written my options in a poll below, please discuss your thoughts. The third option seems the most logical to me as players won’t find the endings file very fast and I won’t have to deal with the error, but I thought I’d ask for peoples’ opinions first.
Oh yes, and I forgot the music!
{% soundcloud 601785135 [color] %}
{% soundcloud 605268579 [color] %}
{% soundcloud 605268876 [color] %}
Thanks,
Samuel
1 comment