Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Initial help please...

A topic by Deleted Account created Feb 21, 2024 Views: 286 Replies: 15
Viewing posts 1 to 4
Deleted post
Developer

The yarnspin compiler is just the yarnspin.exe in the root of the folder. It will compile all the files in the scripts folder, create the yarnspin.dat, and run the game.

Deleted post
Developer

most likely, there is something missing or wrong in the script, and yarnspin.exe reports an error. If you try and run yarnspin from a commandline, you should be able to see any errors reported, and we can figure out what’s going wrong.

Also, if you want to share your script, I’m happy to help debug

Deleted post
Developer

hmm, ok, when I try to run that script, I do get an error, saying that it is missing the version declaration. It is a bit unexpected that you don’t get that… what platform are you on?

Anyway, if i add

version: 1.0


to the start of the file, it works (after fixing filenames of two images that are otherwise missing)

Deleted post

I had this issue, too. Seems to happen when the last line before the "say" options are shown in a dialog is said by "player."

Developer

Yes, this is indeed a bug! Or rather, a regression, as it was working correctly at some point. The player text should really be cleared before options are displayed. I will fix that, but in the meantime, I suggest putting an extra "carol:" line, with nothing after ":" which will clear the player text, but also (annoyingly) require an extra click. But yes, will fix!

I don't know why you @VP does not not see the carol portrait though, that works for me... perhaps if you try deleting the .cache folder? this would cause all intermediate files to be regenerated. it shouldn't be necessary, but maybe there's a glitch happening when changing back and forth with an image with the same name and different extensions, so worth a shot

Deleted post
Deleted post
Deleted post
Developer

Hey, I've been a little slow replying, but it seems like you have got it working now, yes?

I must admit that I am a little surprised that you had to move sections around - that should definitely not be necessary, you should be able to declare sections in any order. I will try myself if I can reproduce it, because that sounds like a bug!

Is there anything that is not working at the moment? Don't hesitate to ask I will do my best to try and help (maybe even a bit faster next time :P)

Deleted post
Developer

Ah, I think I understand what was happening, and I think I can repro it now. It seems like a location section can not have a "chr/act" pair before the txt/img declarations. That is something I want to fix for a later version, thanks for finding that!

I am glad you like the engine so far. And hey, no donations needed (but thank you for offering), I do not in fact accept any :) The best way to show your support for Yarnspin is to use it and enjoy it, that is all I want it to be :)

Deleted post