Finally had time to try it. The speed improvement is quite noticeable on my PC. Before in GL mode everything was slowed down, now is superfast (maybe also merit of new Text).
I have a bug though
Code: Select all
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/story.rpy", line 63, in script
python:
AttributeError: 'Text' object has no attribute 'displayables'
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "C:\download\renpy-6.13.0\renpy\bootstrap.py", line 274, in bootstrap
File "C:\download\renpy-6.13.0\renpy\main.py", line 354, in main
File "C:\download\renpy-6.13.0\renpy\main.py", line 95, in run
File "C:\download\renpy-6.13.0\renpy\execution.py", line 269, in run
File "C:\download\renpy-6.13.0\renpy\display\error.py", line 95, in report_exception
File "C:\download\renpy-6.13.0\renpy\game.py", line 289, in invoke_in_new_context
File "C:\download\renpy-6.13.0\renpy\display\error.py", line 40, in call_exception_screen
File "C:\download\renpy-6.13.0\renpy\ui.py", line 237, in interact
File "C:\download\renpy-6.13.0\renpy\display\core.py", line 1688, in interact
File "C:\download\renpy-6.13.0\renpy\display\core.py", line 2105, in interact_core
File "C:\download\renpy-6.13.0\renpy\display\predict.py", line 101, in prediction_coroutine
File "C:\download\renpy-6.13.0\renpy\display\predict.py", line 51, in displayable
File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
File "C:\download\renpy-6.13.0\renpy\display\core.py", line 245, in visit_all
File "C:\download\renpy-6.13.0\renpy\display\core.py", line 242, in visit_all
File "C:\download\renpy-6.13.0\renpy\text\text.py", line 1135, in visit
AttributeError: 'Text' object has no attribute 'displayables'
Windows-post2008Server-6.1.7601-SP1
Ren'Py 6.13.0.1569
Code: Select all
python:
with ui.vbox(xalign=0.5):
ui.text("Select your hero",size=48,style="bix",xalign=0.5,ypos=0)
with ui.hbox():
img=im.FactorScale("gfx/chars/joshua.png",0.5)
tt=Tooltip("{size=36}Click to select Joshua Nelson.{/size}\n\nThis choice will only influence the romance options inside the game, both characters can be any class and have no particular gender-specific limitations.")
ui.imagebutton(im.Grayscale(img),img,clicked=ui.returns(0),hovered=tt.show, unhovered=tt.hide)
img=im.FactorScale("gfx/chars/lisa.png",0.5)
tt=Tooltip("{size=36}Click to select Lisa Nelson.{/size}\n\nThis choice will only influence the romance options inside the game, both characters can be any class and have no particular gender-specific limitations.")
ui.imagebutton(im.Grayscale(img),img,clicked=ui.returns(1),hovered=tt.show, unhovered=tt.hide)
rx=ui.interact()
the code works fine in previous version of Ren'Py of course.