Rakugo Project Devlog #20: Rakugo Dialogue System 2.2!
Join our Patreon to support us!
Hi everyone, here is the 20th devlog of Rakugo Project. I’m happy to announce that we add huge new features in RakuScript this release including:
- now is possible to use double quotes inside strings example:
"it is a "really" good one"
- using assignment operators like: =, +=, -=, *=, /=
- using variables in any string: say, ask, menu and for variables
Rakugo Dialogue System 2.2
Full Changelog: https://github.com/rakugoteam/Rakugo-Dialogue-System/compare/2.1.1…2.2
Strings
Using double quotes
Like the title says, you can do that now "it is a "really" good one"
Added with #257 use double quotes inside strings by @theludovyc in #261
Variables inside strings
The big update of this version ! You can now use variables inside any strings, for say, ask questions and ask variable, menu choices and for variables !
# example
player.life_str = "You have <player.life> life points left"
A very important thing: string is replaced with a value when you use/read it, not on assignment.
# example
player.life = 10
player.life_str = "You have <player.life> life points left"
player.life = 5
narrator "<player.life_str>"
The narrator will say: “You have 5 life points left”.
# example
Rakugo.get_variable("<player.life_str>")
Rakugo.get_variable("player.life_str")
# both returns "You have 5 life points left"
We took advantage of this to let you a new Rakugo method replace_variables(text:String)
.
# example
Rakugo.replace_variables("You have <player.lifelife points left")
# will return: "You have 5 life points left"
Added with #255 Use variables inside any strings by @Jeremi360 in #256
Handle common operators for variable assignment
Another big update! You can use assignment operators like: =
, +=
, -=
, *=
, /=
to assign a value to a variable.
Before that you could only use =
- it allowed only to overwrite variables values.
Example: gd.bugs -= 1
We would like to handle expressions for the v2.3 (example: damage = dps + boost + 1)
Added with #262 Handle common operators for variable assignment by @theludovyc in #263
HTML5 export now works on itch.io with firefox
Some time ago Rakugo wasn’t working on itch.io with firefox for html5 export, because we use multi-threading feature. it wasn’t handled on this website. It is now resolved !
Fixed by #52 Rakugo not works on itch.io with firefox
You can see my @theludovyc post here https://itch.io/post/5713938, and the main one https://itch.io/t/2025776/experimental-sharedarraybuffer-support.
So you have just one thing to remember when you export now, is to not forget to add your .*rk
files rakugo-docs/2.1/export
Fixed Bugs
- fix #49 handle escape characters by @theludovyc in #254
- hotfix for menu index out of range by @theludovyc in #258
Other Changes
- hotfix remove prints in Parser.gd by @theludovyc in #253
- fix #259 remove warning in get_character by @theludovyc in #260
- Bump version to 2.2, clean up rakugo dir from git config files by @Jeremi360 in #267
We will update our docs soon. This is all form us, see you next time.
Files
Get Rakugo
Rakugo
Project (inspired by Ren'Py) for story driven games in Godot
Status | In development |
Category | Tool |
Authors | Jeremi, playBitke |
Genre | Adventure, Role Playing, Visual Novel |
Tags | Godot, Point & Click, rakugo, Ren'Py, Story Rich, Text based, Twine |
More posts
- Rakugo Project Devlog #22: Finally RDS Docs 2.2!Mar 05, 2024
- Rakugo Project Devlog #19: Rakugo Dialogue System 2.1.1!Sep 25, 2023
- Rakugo Project Devlog #18: Material Design Icons and Emojis are ported for Godot...Aug 17, 2023
- Rakugo Project Devlog #17: Rakugo Dialogue System 2.1 is out!May 17, 2023
- Rakugo Project Devlog #16: Bugfix for Rakugo Dialogue System and Examples update...Apr 06, 2023
- Rakugo Project Devlog #14: Rakugo Dialogue System 2.0.1 is out!Mar 16, 2023
- Rakugo Project Devlog #14: Rakugo Dialogue System 2.0.1 is out!Mar 14, 2023
- Rakugo Project Devlog #13: Rakugo Dialogue System 2.0 for Godot 4 is out!Mar 09, 2023
- Rakugo Project Devlog #12: Show/Hide keywords in VisualNovelKit, Rakugo Core v...Jan 24, 2023
Leave a comment
Log in with itch.io to leave a comment.