MyreMylar / pygame_gui_examples

Some examples of how to use pygame_gui
137 stars 42 forks source link

text_test.py fade out effect not working as intended #9

Open ASkytrainMan opened 3 years ago

ASkytrainMan commented 3 years ago

In line 137 of text_test.py: htm_text_block_2.set_active_effect('fade_out') does not do anything to the text rendered in the second box. According to the documentation the effect should run immediately after calling set_active_effect(), but nothing happens.

Pressing the "f" key at runtime while the text is appearing (as if typed) stops the 'typing_appear' effect.

Python v3.9 Pygame v2.0.1 Pygame-gui v0.5.7

MyreMylar commented 3 years ago

Hmm, not sure where this got broken.

I've just tested in my local version of 0.6.0 and it looks like it works there - but most of the underlying text code in pygame_gui has changed between 0.5.7 and the much-delayed 0.6.0.

I'll revisit this when 0.6.0 gets released and the examples also get a refresh to match.