Must be the renpy version, I wrote this one for renpy 7.x , to run it on 8.x few lines must be changed. This specific error happens when we divide something. contact me on discord: kiaazad and I'll help you fix them.
It should fit a 720 screen if you scale down the images. You can make the text smaller by searching `size` and changing the number too. If I remember correctly, the puzzle takes a size parameter for piece size, that you can fiddle with to get the best result.
← Return to asset pack
Comments
Log in with itch.io to leave a comment.
Hello ... I have this error :
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/puzzle/puzzle.rpy", line 164, in script
call screen puzzle(puzzle_cat)
File "renpy/common/000statements.rpy", line 609, in execute_call_screen
store._return = renpy.call_screen(name, *args, **kwargs)
File "renpy/common/00action_other.rpy", line 578, in __call__
rv = self.callable(*self.args, **self.kwargs)
File "game/puzzle/puzzle.rpy", line 52, in init
for c in range(columns):
TypeError: 'float' object cannot be interpreted as an integer
Must be the renpy version, I wrote this one for renpy 7.x , to run it on 8.x few lines must be changed.
This specific error happens when we divide something.
contact me on discord: kiaazad and I'll help you fix them.
Hello,
yes, that's probably it.
I've corrected the code by adding this:
"columns = int(columns)
for c in range(columns)"
It works.
I have another question, where can I change the size to use the script on a 1280x720 game?
Thanks for your feedback
It should fit a 720 screen if you scale down the images. You can make the text smaller by searching `size` and changing the number too.
If I remember correctly, the puzzle takes a size parameter for piece size, that you can fiddle with to get the best result.