Home Creators Posts Import Register Favorites Logout

Content

Edit: fixed the problem of the game crashing if you try to save/load, damn it... I forgot when I added in checking the for the last save that it checks for that before the universal save data is created (because I was trying to read the file and my code just assumed it exists and never checked for if it doesn't... my dumb ass never tested the game if there was no files in the working directory after adding in the checking for most recent save augh... I messed up >_>)

It should be fixed now, I'm going to stop saying things like "shouldn't have game crashing bugs" because that's been untrue every time I've said it lol. I swear I'm testing the crap out of stuff but then there's crap like that that's frankly embarrassing... sorry!

After the previous post I did some graphics stuff but a couple people asked about saving... and it is better to have that sorted out and done sooner rather than later, saving/loading has been my focus since then. At first I was thinking I'd update the build with very barebones saving and loading functionality (as in, you can pick "save" or "load" from the options screen on the main menu and it saves/loads to one save file) but it got me thinking... might as well make a proper title screen too. And as I was working on that I thought "guess I should make a way to show the credits too since "credits" will be an option on the title screen."

Then I thought "well if there's a title screen there should be a way to save more than one game and select it from a list, might as well make a save/load GUI for that..."

Then I thought "how will the player name the save..." so I also made a name entry screen... (and Rinzo's name is replaced with that when a character has to use his name in the dialogue... not sure if I'm keeping it that way but I think I like it more where the player can name their Rinzo)

Here's the latest build (password is still BIGGAMER)

https://velocirection.itch.io/freaky-friendlies

BTW speaking of credits if you're a big sweet hole patron and want to be in the special thanks, send me the name you'd like me to use in the special thanks of the credits! (I haven't collected special thanks credits names in a bit sorry about that... so let me have them, make the credits list long and strong!)

Here's gameplay of it all:

https://youtu.be/kQ5-zNnPfpE?si=oiNbDNr08aE8gZD5

Saving and loading: It's fully implemented, you can save anywhere, load anywhere, load from the title screen, delete a save, start a new game at any point from the title screen, all that good stuff. I'll talk about the save/load system but if for whatever reason you're curious about making you own save/load system, I really don't recommend doing it the way I did. This isn't the best way of doing saving and loading but it's how I decided to approach it.

The save file consists of tags and values next to them, 1 tag/value pair per line.

Some tags tell the game what kind of data is next (so the load function's state changes accordingly) while other tags identify what data that line is.

As the game reads the file, data is populated into the game (inventory is created for the player, collectable amounts are set, money is set, relationships with npcs, what parts of the story goals and tasks the player has completed, etc...) and if all goes as intended, the game is now in the state that the player saved in. At this stage of writing my save system, new save files are created as the player saves them and it seemed to be working.

But then realized... there's no way to delete saves. I was having some trouble with this (like deleting a file threw off the way I was getting the save files in the directory) and instead of rewrite some parts of the code I didn't want to because they were already working nicely, I came up with a jank solution.

No more creating/deleting save files as the use makes new saves/deletes saves. When the game starts for the first time, 16 text files are made in the working directory of the game. That "_USD.txt" is "universal save data" which only keeps track of what save slot the player saved in last (for now... maybe more stuff later)

*btw the save data is a bit out of date, I'm not longer using object index to save what an object is since that can change what object it relates to if objects are added/removed in the editor. Objects the player can get have a NOGLID (needs objects game-load ID)

(the other stuff describes the condition, uses left, state and "holding thing" which will be for needs objects that can hold a thing the player can get from it, like if you paint something on an easel, when the painting is done it would be holding a "painting.")

So technically when you "delete" a save in the game it just replaces the save file contents with a string that tells the game it's an empty save (same with saving a new save, no files are created, it just writes to that text file). "Why make a set number of saves slots instead of creating/deleting files?" by doing it this way I can avoid having to write/debug more code for finding and ordering files (which like, isn't fun to make... idk maybe some people loooove writing code to deal with external files but I don't). And having a set number of save files with predictable names means I can make more assumptions about things that made the save/load system easier to make.

(ALSO to be clear, the user is not intended to modify the save file externally. You're free to do so if you really want to, I can't stop you from doing that, however I don't recommend it)

Here's what the save/load data screen looks like now:

Here's the name entry screen (eventually it'll look pretty, for now it's this lol)

Here's the title screen!

Then the last few days I've been testing the save system, tweaking things, finding and fixing bugs and finding and fixing bugs unrelated to the save system that I discovered while working on saving. I know for a fact that it's not entirely bug free but I think it might... maybe be not super buggy?

Now about the credits screen, I was thinking it's be a simple text-scrolls-up thing but that's so boring... I came up with what I think is a pretty fun idea, the credits screen is like a theater and characters you've met/befriended might show up here. (or if you've passed out at least once the zebra unicorn guardian angel shows up)

Oh also speaking of credits, I saw a comment awhile ago saying I should use patron names as usernames in the webcam minigame which is quite an amazing idea (thanks to Colaperv for that, love the idea) That's in the demo! Right now it pulls names from the list of names in the credits that the credit's scroller uses.

Gameplay wise there's a few tiny things I added that weren't in the previous build. You can grab undies from the laundry basket once per day!

HOWEVER if you do this many days in a row you might run into problems (it will fill your inventory with undies!) I still haven't implemented anything for if your inventory is full so you can get more than eight inventory items (which can cause problems since you're only intended to have eight at a time). However it's so unlikely anyone would encounter this problem right now since you can only grab 1 undies per-in-game-day. So I'm aware it's a potential problem but haven't addressed it yet.

I really didn't intend to spend so much time on this but a save system is pretty important to have... but it's done now! (Besides whatever bugs need to be fixed later)

Files

Comments

Anarkhos

:0 so I could potentially see my name in the stream comments?

TruthSeeker777

This is awesome always loved your style this is gonna look so rad when it’s done keep up the amazing work bra

Colaperv

fuck yeah dude

BladeKyro

Ayy yooo. Amazing work. I do have a question tho?

FaneTheHyena

i may be stupid but i got a crash everytime i try to click on save or load

Velocirection (V-rex)

Ooh that's not good, sorry! Is there an error message or does it just make the game close? Also what OS? (any other information like where you tried to save/load would be helpful too)

Velocirection (V-rex)

I think I know what's wrong, if you go get an error and it's like "file not opened for reading" augggh it's because I forgot to check if the file for the universal save data exists >_> damn it. It won't take long to fix though

zenmusic

would it be possible to supply some save files? i had just unlocked access to the city when it crashed and don't really have time to play back to that point if i might lose it all. game was cute while it was working though! i like the oblivious milf and the selfsuck webcam (more please)

Grissy

Please do not abandon this game, this is a very unique concept and would love to see fully finished. Also is the city not finished yet cause I get teleported to forest? Also it would be cool if you implement some sort of like sex system where instead FMVs, sex scenes can happen in the pixel format. Also hope the game continues cause I had fun with this gem!