Utsukushii Effects (ImageDissolve tutorial)

A place to discuss things that aren't specific to any one creator or game.
Forum rules
Ren'Py specific questions should be posted in the Ren'Py Questions and Annoucements forum, not here.
Message
Author
monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#16 Post by monele »

Arigatou ^.^

From all the transitions you've seen, the only ones I really plan to use (if fitting the story) are the blood ones (because I really worked on these ones), the teleport (because I like it ^3^) and probably the hologram (lines+hexagons) appearing effects. That and the ones that are already in UP's demo (the sweep transition, the hyperspace). I've seen things that could be done better too so some will be upgraded for UP ^^.

But really, the more I think about it, the more I think the power of ImageDissolve stays elsewhere. The blood effects are a good example of this (the heart one too) : objects appearing and filling the screen in a more complex way that simple Move functions (the heart one could be done with sprites but *many* of them).
Yesterday night I thought one up to make a ship overlay screen (green kind) appear gradually. I'm going to try this one right away ^.^

As to how I did these : filters/gradients + luck/work. You can usually get neat results by just throwing random filters on random gradients (sphere, linear, diamond...). When it gets to do something like the blood spilling, it needs a bit of planning though.

User avatar
mikey
Lemma-Class Veteran
Posts: 3249
Joined: Sat Jan 10, 2004 6:03 am
itch: atpprojects
Contact:

#17 Post by mikey »

monele, you are the Industrial Light & Magic of ren'ai gaming ^_^

monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#18 Post by monele »

Achaa ^^;...... o^.^o... *can't even find something witty to say*

But I suck at writing ? ^^;....... [FAIL] *buzz*...

~o~... arigatou!

EDIT : Aaah, this made me forget to post the updated ZIP XD... *bops own head*

EDIT : PyTom, is there something about special characters ("è") not working in character names ? Or maybe it's the logging...

Code: Select all

  File "renpy\bootstrap.pyo", line 76, in bootstrap
  File "renpy\main.pyo", line 226, in main
  File "renpy\main.pyo", line 151, in run
  File "renpy\execution.pyo", line 76, in run
  File "renpy\ast.pyo", line 204, in execute
  File "renpy\exports.pyo", line 342, in say
  File "renpy\store.pyo", line 250, in __call__
  File "renpy\exports.pyo", line 499, in display_say
  File "renpy\exports.pyo", line 894, in log
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 6: ordinal not in range(128)
Attachments
UtsukushiiEffects.zip
Unix/Mac files included
(9.37 MiB) Downloaded 1533 times

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#19 Post by PyTom »

Re: Window centering

Ren'Py never guaranteed window placement, and nothing I did should have changed it. It's up to your OS/Window Manager to place windows on the screen.

Re: è

You want to tell your text editor to save the file as UTF-8, rather than Latin-1. Look for an Encoding choice on the File menu or in the Save As dialog box, and all will be well.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

ShiraiJunichi
Miko-Class Veteran
Posts: 651
Joined: Sat May 21, 2005 12:28 pm
Location: University of Utah
Contact:

#20 Post by ShiraiJunichi »

Very nice tutorial- makes you realize just how powerful Ren'Py is.

ShiraiJunichi
Miko-Class Veteran
Posts: 651
Joined: Sat May 21, 2005 12:28 pm
Location: University of Utah
Contact:

#21 Post by ShiraiJunichi »

Are the images used copyrighted? Can we use them in an actual game, or do you have to make your own? I think it would be nice if there was an image dissolve pack you could download alongside ren'py, and use them in games. If not a pack, maybe a gallery where you could view thumbnails, and download the ones that you would like to use.

(maybe right alongside Shaja's work)

monele
Lemma-Class Veteran
Posts: 4101
Joined: Sat Oct 08, 2005 7:57 am
Location: France
Contact:

#22 Post by monele »

Well hm... I released them with the demo instead of obfuscating them because I thought it was stupid to try to hold onto them while they were clearly displayed in-game (a simple printscreen would do the trick ^^; ). Therefore they are really free to use.

BUT... if you want to be nice, try not to use the splatter, blood and teleport since they're rather specific to my game ^^;. All the others are very generic and didn't necessitate much work, so I don't mind that much.

I still recommend trying to make your own. This way, not all games transitions will look the same.

User avatar
kula1233
Newbie
Posts: 24
Joined: Tue Mar 27, 2012 11:53 pm
Projects: The Library
Location: In a nightmare
Contact:

Re: Utsukushii Effects (ImageDissolve tutorial)

#23 Post by kula1233 »

;A; i've downloaded this game 3 times, and tried to open... this what happens then...

If i open Manually

Code: Select all

I'm sorry, but an exception occured while executing your Ren'Py
script.

TypeError: code() argument 9 must be string, not unicode

While compiling python block starting at line 2 of game/mm.rpy.

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

  File "renpy\bootstrap.pyo", line 76, in bootstrap
  File "renpy\main.pyo", line 218, in main
  File "renpy\script.pyo", line 293, in load_script
  File "renpy\script.pyo", line 115, in __init__
  File "renpy\script.pyo", line 249, in update_bytecode
  File "renpy\python.pyo", line 165, in py_compile_exec_bytecode
  File "renpy\python.pyo", line 162, in py_compile
  File "compiler\pycodegen.pyo", line 245, in getCode
  File "compiler\pyassem.pyo", line 375, in getCode
  File "compiler\pyassem.pyo", line 605, in newCodeObject
TypeError: code() argument 9 must be string, not unicode

While compiling python block starting at line 2 of game/mm.rpy.

Ren'Py Version: Ren'Py 5.3.3
but when i open in Renpy

Code: Select all

I'm sorry, but an exception occured while executing your Ren'Py
script.

TypeError: code() argument 9 must be string, not unicode

While compiling python block starting at line 2 of game/mm.rpy.

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

  File "renpy\bootstrap.pyo", line 76, in bootstrap
  File "renpy\main.pyo", line 218, in main
  File "renpy\script.pyo", line 293, in load_script
  File "renpy\script.pyo", line 115, in __init__
  File "renpy\script.pyo", line 249, in update_bytecode
  File "renpy\python.pyo", line 165, in py_compile_exec_bytecode
  File "renpy\python.pyo", line 162, in py_compile
  File "compiler\pycodegen.pyo", line 245, in getCode
  File "compiler\pyassem.pyo", line 375, in getCode
  File "compiler\pyassem.pyo", line 605, in newCodeObject
TypeError: code() argument 9 must be string, not unicode

While compiling python block starting at line 2 of game/mm.rpy.

Ren'Py Version: Ren'Py 5.3.3
DXXX what do i doooo?
The tears I held in, is not the same as the pain of seeing you go...

Image

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Utsukushii Effects (ImageDissolve tutorial)

#24 Post by PyTom »

The way to run this is:

1) Download the latest Ren'Py.
2) Create a directory underneath it. (For example, renpy-6.13.11/UtsukushiiEffects )
3) Unzip UtsukushiiEffects.zip into that directory.
4) Create the file renpy-6.13.11/UtsukushiiEffects/game/script_version.rpy, containing:

Code: Select all

   init -999:
    $ config.script_version = (5, 3, 3) 
5) Select the UtsukushiiEffects project in the launcher.
6) Launch the game.

This works with a lot of older Ren'Py games that might have trouble running on modern systems.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

TrickWithAKnife
Eileen-Class Veteran
Posts: 1261
Joined: Fri Mar 16, 2012 11:38 am
Projects: Rika
Organization: Solo (for now)
IRC Nick: Trick
Location: Tokyo, Japan
Contact:

Re: Utsukushii Effects (ImageDissolve tutorial)

#25 Post by TrickWithAKnife »

I had a different problem, but that method you posted still worked PyTom.

Anyway, thanks a lot for posting the demo monele. I think you've helped improve a lot of projects.
"We must teach them through the tools with which they are comfortable."
The #renpy IRC channel is a great place to chat with other devs. Due to the nature of IRC and timezone differences, people probably won't reply right away.

If you'd like to view or use any code from my VN PM me. All code is freely available without restriction, but also without warranty or (much) support.

User avatar
kula1233
Newbie
Posts: 24
Joined: Tue Mar 27, 2012 11:53 pm
Projects: The Library
Location: In a nightmare
Contact:

Re: Utsukushii Effects (ImageDissolve tutorial)

#26 Post by kula1233 »

PyTom wrote:The way to run this is:

1) Download the latest Ren'Py.
2) Create a directory underneath it. (For example, renpy-6.13.11/UtsukushiiEffects )
3) Unzip UtsukushiiEffects.zip into that directory.
4) Create the file renpy-6.13.11/UtsukushiiEffects/game/script_version.rpy, containing:

Code: Select all

   init -999:
    $ config.script_version = (5, 3, 3) 
5) Select the UtsukushiiEffects project in the launcher.
6) Launch the game.

This works with a lot of older Ren'Py games that might have trouble running on modern systems.
Thank you so much!~ >w<! it works perfectly!
(but what site is there the latest renpy? i only have the 6.13)
The tears I held in, is not the same as the pain of seeing you go...

Image

Efreet
Regular
Posts: 145
Joined: Sun Mar 02, 2008 5:21 pm
Projects: Denial, Guilt [On Hold]
Location: UK
Contact:

Re: Utsukushii Effects (ImageDissolve tutorial)

#27 Post by Efreet »

Just wanted to thank monele (and as always PyTom!) for the effects demonstration, I'm reiterating what someone else has said but it goes to show how powerful Ren'Py can be.

Here's a suggestion, is there any chance that this could be added to the Ren'Py 'tutorial' project?

User avatar
sheetcakeghost
Veteran
Posts: 383
Joined: Sat Sep 19, 2009 9:19 pm
Contact:

Re: Utsukushii Effects (ImageDissolve tutorial)

#28 Post by sheetcakeghost »

The method mentioned above doesn't work with the new ren'py version (6.15). Since it's a compatibility code, that's probably sort of obvious. However, since this demo is mentioned in the tutorial for the newest Ren'Py, it might be nice to get an update of the compatability code.

Okay, I'm going to list all the errors I got while trying to make this work.

This one happened after following the above instructions.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While executing init code:
  File "game/script_version.rpy", line 2, in script
  File "game/script_version.rpy", line 2, in python
  File "renpy/common/00compat.rpy", line 17, in python
  File "renpy/common/00layout.rpy", line 273, in python
  File "renpy/common/_compat/styles.rpym", line 4, in script
Exception: The style error_root does not exist, and couldn't be auto-created because root doesn't exist, either.

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

Full traceback:
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\bootstrap.py", line 254, in bootstrap
    renpy.main.main()
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\main.py", line 265, in main
    game.context().run(node)
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\execution.py", line 288, in run
    node.execute()
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\ast.py", line 718, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\python.py", line 1297, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script_version.rpy", line 2, in <module>
    $ config.script_version = (5, 3, 3)
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\defaultstore.py", line 79, in __setattr__
    renpy.store._set_script_version(value) # E1101 @UndefinedVariable
  File "renpy/common/00compat.rpy", line 17, in _set_script_version
    layout.compat()
  File "renpy/common/00layout.rpy", line 273, in compat
    renpy.load_module("_compat/styles")
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\exports.py", line 1464, in load_module
    renpy.game.context().run(node)
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\execution.py", line 288, in run
    node.execute()
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\ast.py", line 718, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\python.py", line 1297, in py_exec_bytecode
    exec bytecode in globals, locals
  File "renpy/common/_compat/styles.rpym", line 316, in <module>
    style.error_window = style.error_root
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\style.py", line 443, in __getattr__
    raise Exception("The style %s does not exist, and couldn't be auto-created because %s doesn't exist, either." % (name, rest))
Exception: The style error_root does not exist, and couldn't be auto-created because root doesn't exist, either.

Windows-7-6.1.7601-SP1
Ren'Py 6.15.4.320
When I remove script_version I get this message.

Code: Select all

I'm sorry, but an uncaught exception occurred.

While executing init code:
  File "game/script.rpy", line 157, in script
  File "game/script.rpy", line 203, in python
Exception: The style file_picker_entry does not exist, and couldn't be auto-created because entry doesn't exist, either.

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

Full traceback:
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\bootstrap.py", line 254, in bootstrap
    renpy.main.main()
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\main.py", line 265, in main
    game.context().run(node)
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\execution.py", line 288, in run
    node.execute()
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\ast.py", line 718, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\python.py", line 1297, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script.rpy", line 203, in <module>
    style.file_picker_entry.background = Solid((0, 0, 0, 150))
  File "C:\Users\Alice\Desktop\Projects\Candy Apple Games\Ren'Py\renpy-6.15.2-sdk\renpy\style.py", line 443, in __getattr__
    raise Exception("The style %s does not exist, and couldn't be auto-created because %s doesn't exist, either." % (name, rest))
Exception: The style file_picker_entry does not exist, and couldn't be auto-created because entry doesn't exist, either.

Windows-7-6.1.7601-SP1
Ren'Py 6.15.4.320
This is what I get when I try to load it from the exe.

Code: Select all

Traceback (most recent call last):
  File "run_game.py", line 41, in ?
    import renpy.bootstrap
  File "renpy\bootstrap.pyo", line 82, in bootstrap
IOError: [Errno 2] No such file or directory: 'traceback.txt'
Things work just fine if you download 6.13, follow the above method, and launch it from the ren'py console.

User avatar
kula1233
Newbie
Posts: 24
Joined: Tue Mar 27, 2012 11:53 pm
Projects: The Library
Location: In a nightmare
Contact:

Re: Utsukushii Effects (ImageDissolve tutorial)

#29 Post by kula1233 »

Just asking, does this Utsukushii effects url still work? ^^;;? because whenever I try to open the rapidshare, it just crashes
The tears I held in, is not the same as the pain of seeing you go...

Image

User avatar
AsHLeX
Miko-Class Veteran
Posts: 556
Joined: Wed Dec 25, 2013 1:09 pm
Completed: Starlight Dreamers, Mysterious Melody, Town of Memories, Marked, To Fly, The Change, Him From The Past, A Forgotten Memory
Projects: Cafe Mysteria
Location: Malaysia
Contact:

Re: Utsukushii Effects (ImageDissolve tutorial)

#30 Post by AsHLeX »

Forgive me if I seem ignorant but

4) Create the file renpy-6.13.11/UtsukushiiEffects/game/script_version.rpy, containing:

Code: Select all

init -999:
    $ config.script_version = (5, 3, 3)
How do I do this? Do I just create a new rpy file and paste that line in it? @_@

Post Reply

Who is online

Users browsing this forum: No registered users