Tool Ren'Py More Transitions for Ren'Py [v1.1.2]

SomeGuyWithNoImagination

❤️ Keep comfy. ❤️
Game Developer
May 31, 2019
607
2,265
Updated: 2022-07-16
Creator: SomeGuyWithNoImagination / , and
Tool Version: 1.1.2
RenPy Version Requirement: >=7.4.0

This is a drop-in addon that you may install in any modern Ren'Py project (any project using GL2) which adds five additional transitions which you may use.


Preview Videos
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.


Documentation
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.


Usage
Simply unzip the custom_transitions folder into your game folder and use the transitions as you would any other.

By default, the transitions are defined as dreamyzoom, glitch, linearblur, simplezoom, and dreamy. They may all be used as if you would use a dissolve or other transition such as by show image with glitch.

If you wish to modify the transition, you may do so by changing the define at the bottom of its respective file or creating a new define as follows.
Python:
define glitch_strong = cGlitchMemories(0.2, 1.0)
In this example, a transition will be defined as glitch_strong with a duration of 0.2 seconds and a very strong effect.

Each transition has a different set of arguments. Please see the documentation either in the code or in this thread to see what arguments you may change.


License
All code in this pack is covered under the MIT license.

The original shaders are ported from , from which all shaders used in this pack are published under MIT. Additionally, much of the non-shader code is based off of that by the Ren'Py developers, which is also mostly MIT. As such, it is only natural that any original code in this pack (though I'll admit it is not very much) is released under MIT as well.


Support
Although I make no guarantee of support in any form, I am willing to help. If you have questions, concerns, or issues, you are welcome to post a reply to this thread.

Upon request, I can port other transitions from and add them to this pack. I, however, can not guarantee custom transitions for you (though you may contact me with requests).

If you wish to make a more simple transition that does not warp the image in any way, check out .

You don't have permission to view the spoiler content. Log in or register now.

Download
 
Last edited:

UncleNanard

I am to music what Kanye West is to adult games.
Game Developer
Jul 1, 2017
1,390
1,414
Hello, thanks for you work. I tried dreamyzoom and linearblur but i have this error :
Maybe you know why ?

Thank you very much.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "game/custom_transitions/dreamy_zoom.rpy", line 126, in render
    rv = renpy.display.render.Render(width, height, opaque=not (self.alpha or renpy.config.dissolve_force_alpha))
TypeError: __init__() got an unexpected keyword argument 'opaque'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "renpy/ast.py", line 1106, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 873, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "renpy/ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3356, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "renpy/display/core.py", line 3885, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "renpy/display/core.py", line 2601, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 495, in renpy.display.render.render_screen
  File "render.pyx", line 266, in renpy.display.render.render
  File "renpy/display/layout.py", line 879, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 266, in renpy.display.render.render
  File "game/custom_transitions/dreamy_zoom.rpy", line 126, in render
    rv = renpy.display.render.Render(width, height, opaque=not (self.alpha or renpy.config.dissolve_force_alpha))
  File "render.pyx", line 591, in renpy.display.render.Render.__init__
TypeError: __init__() got an unexpected keyword argument 'opaque'

Windows-10-10.0.22000
Ren'Py 7.5.0.22041704n
Project1
Sun Apr 24 00:02:16 2022
 

SomeGuyWithNoImagination

❤️ Keep comfy. ❤️
Game Developer
May 31, 2019
607
2,265
Hello, thanks for you work. I tried dreamyzoom and linearblur but i have this error :
Maybe you know why ?

Thank you very much.

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "game/custom_transitions/dreamy_zoom.rpy", line 126, in render
    rv = renpy.display.render.Render(width, height, opaque=not (self.alpha or renpy.config.dissolve_force_alpha))
TypeError: __init__() got an unexpected keyword argument 'opaque'

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "renpy/common/00gamemenu.rpy", line 170, in script
    $ ui.interact()
  File "renpy/ast.py", line 1106, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "renpy/python.py", line 873, in py_exec_bytecode
    exec(bytecode, globals, locals)
  File "renpy/common/00gamemenu.rpy", line 170, in <module>
    $ ui.interact()
  File "renpy/ui.py", line 299, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "renpy/display/core.py", line 3356, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
  File "renpy/display/core.py", line 3885, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "renpy/display/core.py", line 2601, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 495, in renpy.display.render.render_screen
  File "render.pyx", line 266, in renpy.display.render.render
  File "renpy/display/layout.py", line 879, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 170, in renpy.display.render.render
  File "render.pyx", line 266, in renpy.display.render.render
  File "game/custom_transitions/dreamy_zoom.rpy", line 126, in render
    rv = renpy.display.render.Render(width, height, opaque=not (self.alpha or renpy.config.dissolve_force_alpha))
  File "render.pyx", line 591, in renpy.display.render.Render.__init__
TypeError: __init__() got an unexpected keyword argument 'opaque'

Windows-10-10.0.22000
Ren'Py 7.5.0.22041704n
Project1
Sun Apr 24 00:02:16 2022
Thank you for letting me know of this. I have fixed this issue. For your convenience, I have also attached a copy to this message.
 
Last edited:
  • Like
Reactions: UncleNanard

UncleNanard

I am to music what Kanye West is to adult games.
Game Developer
Jul 1, 2017
1,390
1,414
Thank you so much, it's more than perfect.
 

Blueshort

New Member
Jul 6, 2021
2
0
I made a version of my game for android using Renpy 8.0.1 and this happens when the dreamy_zoom transition is executed, can you help me?

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
ShaderError: ERROR: 0:45: '*' :  wrong operand types  no operation '*' exists that takes a left-hand operand of type 'const float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:47: '*' :  wrong operand types  no operation '*' exists that takes a left-hand operand of type 'const float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 2 compilation errors.  No code generated.



-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "scripts/universe/universes_page_1.rpyc", line 8, in script call
  File "scripts/fold/house/brothel/luke.rpyc", line 4, in script
  File "renpy/ast.py", line 1658, in execute
  File "renpy/exports.py", line 1653, in with_statement
  File "renpy/display\core.py", line 2798, in do_with
  File "renpy/display\core.py", line 3377, in interact
  File "renpy/display\core.py", line 3906, in interact_core
  File "renpy/display\core.py", line 2609, in draw_screen
  File "gl2draw.pyx", line 838, in renpy.gl2.gl2draw.GL2Draw.draw_screen
  File "gl2draw.pyx", line 1340, in renpy.gl2.gl2draw.GL2DrawingContext.draw
  File "gl2draw.pyx", line 1321, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one
  File "gl2draw.pyx", line 1321, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one
  File "gl2draw.pyx", line 1235, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one
  File "gl2draw.pyx", line 1190, in renpy.gl2.gl2draw.GL2DrawingContext.draw_model
  File "renpy/gl2\gl2shadercache.py", line 278, in get
  File "gl2shader.pyx", line 230, in renpy.gl2.gl2shader.Program.load
  File "gl2shader.pyx", line 213, in renpy.gl2.gl2shader.Program.load_shader
ShaderError: ERROR: 0:45: '*' :  wrong operand types  no operation '*' exists that takes a left-hand operand of type 'const float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:47: '*' :  wrong operand types  no operation '*' exists that takes a left-hand operand of type 'const float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 2 compilation errors.  No code generated.
 
Last edited:

crabsinthekitchen

Well-Known Member
Apr 28, 2020
1,539
8,413
I made a version of my game for android using Renpy 8.0.1 and this happens when the dreamy_zoom transition is executed, can you help me?

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
ShaderError: ERROR: 0:45: '*' :  wrong operand types  no operation '*' exists that takes a left-hand operand of type 'const float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:47: '*' :  wrong operand types  no operation '*' exists that takes a left-hand operand of type 'const float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 2 compilation errors.  No code generated.



-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "scripts/universe/universes_page_1.rpyc", line 8, in script call
  File "scripts/fold/house/brothel/luke.rpyc", line 4, in script
  File "renpy/ast.py", line 1658, in execute
  File "renpy/exports.py", line 1653, in with_statement
  File "renpy/display\core.py", line 2798, in do_with
  File "renpy/display\core.py", line 3377, in interact
  File "renpy/display\core.py", line 3906, in interact_core
  File "renpy/display\core.py", line 2609, in draw_screen
  File "gl2draw.pyx", line 838, in renpy.gl2.gl2draw.GL2Draw.draw_screen
  File "gl2draw.pyx", line 1340, in renpy.gl2.gl2draw.GL2DrawingContext.draw
  File "gl2draw.pyx", line 1321, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one
  File "gl2draw.pyx", line 1321, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one
  File "gl2draw.pyx", line 1235, in renpy.gl2.gl2draw.GL2DrawingContext.draw_one
  File "gl2draw.pyx", line 1190, in renpy.gl2.gl2draw.GL2DrawingContext.draw_model
  File "renpy/gl2\gl2shadercache.py", line 278, in get
  File "gl2shader.pyx", line 230, in renpy.gl2.gl2shader.Program.load
  File "gl2shader.pyx", line 213, in renpy.gl2.gl2shader.Program.load_shader
ShaderError: ERROR: 0:45: '*' :  wrong operand types  no operation '*' exists that takes a left-hand operand of type 'const float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:47: '*' :  wrong operand types  no operation '*' exists that takes a left-hand operand of type 'const float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 2 compilation errors.  No code generated.
try replacing dreamy_zoom file with this one (works in both 8.0.1 and 7.5.1)
 

qqq666qqq

Newbie
Sep 11, 2022
66
51
screen heart():
vbox:
xalign 0
yalign 0.05
imagebutton:
idle "00"
hover "01"
action ShowMenu("profile_1",transition=dreamy)
i use dreamy,but it didn't work
Can you provide more examples ?
 
  • Like
Reactions: duanhu520

SomeGuyWithNoImagination

❤️ Keep comfy. ❤️
Game Developer
May 31, 2019
607
2,265
screen heart():
vbox:
xalign 0
yalign 0.05
imagebutton:
idle "00"
hover "01"
action ShowMenu("profile_1",transition=dreamy)
i use dreamy,but it didn't work
Can you provide more examples ?
ShowMenu appears to use _transition. [ ]
 
  • Love
Reactions: qqq666qqq