Skip to content

Releases: rakugoteam/Rakugo-Dialogue-System

v2.2

01 Nov 17:12
bcd975f
Compare
Choose a tag to compare

Full Changelog: 2.1.1...2.2

What's Changed

Major Updates

like the title says, you can do that now "it is a "really" good one"

You can use assignment operators like: =, +=, -=, *=, /= to assign a value to a variable.
Example: gd.bugs -= 1
We would like to handle expressions for the v2.3 (example: damage = dps + boost + 1)

The big update of this version ! You can now use variables inside any strings, for say, ask, menu, ... 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".

Also, Rakugo.get_variable("<player.life_str>") will return same string: "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.life> life points left"), will return: "You have 5 life points left".

  • fix #52 Rakugo not 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 !

You can see my old 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 ! https://rakugoteam.github.io/rakugo-docs/2.1/export/

Fixed Bugs

Other Changes

v2.1.1

25 Sep 17:07
4320dac
Compare
Choose a tag to compare

What's Changed

18 changed files with 445 additions and 141 deletions : 2.1...2.1.1

Major Updates

  • Now ask is same as the one in the documention
    [var_name] = ? [character_tag] [question] [default_answer]
  • Plus you can respect or not the number of space arround the '=' and '?'
    answer = ? "question" is correct
    answer=?"question" is also correct
  • But you should respect spaces between tag, question, and default answer
    answer=?tag "question" "default answer" is correct
    answer=?tag"question""default answer" is not

Now Rakugo is threads safe, and signals are called correctly. So you will not have errors in the last godot version (4.1).

Other Changes

  • update project.godot to 4.1
  • and other things...
  • update project name, addon name and version
  • add icon to the godot project
  • and other things...

v2.1

16 May 16:30
d11e1fe
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.0.2...2.1

Major Updates

user can comment line, like in gdscript, if it starts by a '#'

After call of Rakugo.load_game(...), when it finish send a signal game_loaded.
Also, user can use it to know when Rakugo variables are availables, and by exemple restore their scene state at a good moment.

Now, user can indents his code like he wants, and forgets spaces at end of line.

Fixed Bugs

Other Changes

1.2.1

06 Apr 05:11
Compare
Choose a tag to compare

Compatibility: Godot version 3.X.X

What's Changed

Full Changelog: 1.2...1.2.1

Fixed Bugs

2.0.2

05 Apr 09:26
b72f274
Compare
Choose a tag to compare

Compatibility: Godot version 4.X.X

What's Changed

Fixed Bugs

Full Changelog: 2.0.1...2.0.2

2.0.1

13 Mar 16:07
aeb9c21
Compare
Choose a tag to compare

Compatibility: Godot version 4.X.X

What's Changed

Full Changelog: 2.0...2.0.1

Major Updates

Rename
- signal sg_parser_unhandled_regex to sg_custom_regex
- Rakugo method parser_add_regex_at_runtime() to add_custom_regex()

Fixed Bugs

2.0

08 Mar 21:28
956a367
Compare
Choose a tag to compare
2.0

Compatibility: Godot version 4.X.X

What's Changed

121 changed files with 5,546 additions and 5,407 deletions : 1.2...2.0

Major Updates

Rakugo is now updated for Godot version 4 🥳 !!!

1.2

24 Jan 08:15
0a6fc2f
Compare
Choose a tag to compare
1.2

47 changed files with 1,967 additions and 494 deletions : 1.1.1...1.2

What's Changed

Major Updates

  • Add variable_changed and character_variable_changed signals by @Jeremi360 in #165

Now when a variable is set, signals are emitted :
variable_changed(var_name, value) or
character_variable_changed(character_tag, var_name, value)

  • prepare to replace character_exists() by has_character() by @Jeremi360 in #170

character_exists() will be removed and replace by has_character(). Send a warning when character_exists() is used.

Now when you parse a script and a line can not be read, it send an error.

Add parameter error_str in signal execute_script_finished. If is empty no error, else contain error string. It can be used to show it. Already used with push_error, so do not do it again !

Add Rakugo.stop_last_script() and not Rakugo.stop_script() or Rakugo.stop_script(script_name).
The last one need refactor before implement it. The second one is not enough explicit we think.
So we add first one because in our current philosophy we have : one thread at a time.
We need refactor to handles multiples threads at same time. Work for 1.3.

Rakugo.has_variable can now handle character variable like get_variable

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().

Autoload Rakugo.gd instead of Rakugo.tscn
Remove Rakugo.tscn
Maybe you need to disable/enable the plugin Rakugo

Fixed Bugs

Other Changes

1.1.1

23 Dec 21:53
6349717
Compare
Choose a tag to compare

54 changed files with 670 additions and 744 deletions : 1.1...1.1.1

What's Changed

Major Updates

  • Add signal execute_script_start(script_name) to Rakugo #142 by @theludovyc
    Now when script is launch, Rakugo send a signal execute_script_start, with script_name in parameter.
  • Add character_exists(char_tag) and character_has_variable(var_name) funcs in e5918ee by @Jeremi360
    These funcs return false or true if a Raguko has this character or variable.

Other Changes

  • Rakugo Clean #150 by @theludovyc
    Remove not used scripts: AutoTimer, SkipTimer, History as this would be handle by Kits. So, unused nodes in Rakugo.tscn too. And clean dead code.

Fixed Bugs

1.1

07 Sep 06:38
800b488
Compare
Choose a tag to compare
1.1

7 changed files with 194 additions and 167 deletions : 1.0...1.1

What's Changed

Major Updates

Fixed Bugs

  • small improvements for characters and fix bug in RakuScriptDialogue by @Jeremi360 in #143