class_name RevealEffect extends RichTextEffect
var bbcode: String = "reveal"
var cutoff_index := 0
func _process_custom_fx(char_fx: CharFXTransform) -> bool:
if char_fx.relative_index >= cutoff_index:
char_fx.color.a = 0.0
return true
class_name RevealEffect extends RichTextEffect
var bbcode: String = "reveal"
var cutoff_index := 0
func _process_custom_fx(char_fx: CharFXTransform) -> bool:
if char_fx.relative_index >= cutoff_index:
char_fx.color.a = 0.0
return true
by Temani Afif @ChallengesCss
#@property #css #webdev #animation #RevealEffect
codepen.io/t_afif/full/...
by Temani Afif @ChallengesCss
#@property #css #webdev #animation #RevealEffect
codepen.io/t_afif/full/...