Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #88 : Save load thread #191

Merged
merged 1 commit into from Jan 22, 2023

Conversation

theludovyc
Copy link
Collaborator

@theludovyc theludovyc commented Jan 20, 2023

fix #88

Major change

Rakugo.save_game(), now save name of current executed script, plus last line read. So with
Rakugo.load_game(), now parse last executed script.
Rakugo.resume_loaded_script(), run last executed script.

We split load in 2 funcs. So you can call Rakugo.load_game(), to loads variables as usual and load your scenes with them. And after everything is ready, call Rakugo.execute_last_script().

Bug

Fix wait_character_variable_changed, now it call assert_variable correctly : char_tag+"."+var_name

@theludovyc theludovyc added the majorChange Add this pr to changelog and should describe it label Jan 20, 2023
@theludovyc theludovyc changed the title Fix#88 save load thread Draft, Fix#88 save load thread Jan 20, 2023
@theludovyc theludovyc added the bug Something isn't working label Jan 20, 2023
Add possibility to save last script have run.
@theludovyc theludovyc marked this pull request as ready for review January 22, 2023 10:47
@theludovyc
Copy link
Collaborator Author

Ready for review 🥳

@Jeremi360 Jeremi360 merged commit 933ba9e into rakugoteam:main Jan 22, 2023
@theludovyc theludovyc changed the title Draft, Fix#88 save load thread Fix #88 : Save load thread Jan 23, 2023
@theludovyc theludovyc deleted the fix#88_save_load_thread branch March 7, 2023 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working majorChange Add this pr to changelog and should describe it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

StoreManager, save position (reading line) in rk script
2 participants