chairfull / GodotRichTextLabel2

Many more advanced features and animations for the RichTextLabel.
MIT License
86 stars 2 forks source link

Abnormal text effect after export #6

Closed aiaimimi0920 closed 1 month ago

aiaimimi0920 commented 1 month ago

in editor: image

in export exe: image

this is bbcode =

  1. [sin;rainbow freq=1.0 sat=0.8 val=0.8]testtesttesttesttesttesttesttesttesttesttesttesttesttesttest[]
  2. [sin]testtesttesttesttesttesttesttesttesttesttesttesttesttesttest[]
  3. [rain]testtesttesttesttesttesttesttesttesttesttesttesttesttesttest[]

I am using Windows export with godot 4.4 dev2

chairfull commented 1 month ago

Fixed by checking for .gdc files.

(Had same error on Linux and it fixed, so this should work for Windows too.)

aiaimimi0920 commented 1 month ago

@chairfull Thank you for your help. I can indeed see the text effect in the exported version now

But I think there is something bad hidden in your update:

  1. File name change, variable name modification: I think such destructive modifications are acceptable, but it is better to make fewer such modifications and preferably increase the version number by a large one

  2. Godot 4.3 is not compatible, you introduced Dictionary [StringName, Variant]. However, this feature is the latest addition, https://godotengine.org/article/dev-snapshot-godot-4-4-dev-2/#typed-Dictionaries. It is actually only supported on the unstable version 4.4, so users need to update the engine to version 4.4 in order to use this plugin properly.

Anyway, thank you for updating