Skip to main content

Some random things

Author: NingNing
Last update:2022-05-29


This is all kinds of small stuff, I feel that it's too little in one article, so all concentrated together

Cursor Customization

If you want to use your own mouse you can do this:

  1. Open screen.rpy
  2. Add define config.mouse = {"default":[ ("your image path", 1, 1) ] } anywhere Example: If you save the mouse in the images folder and name the image mouse, use a png image
    Then you can use this code:
define config.mouse = {"default":[ ("images/mouse.png", 1, 1) ] }

Making ctc

If you don't know what this is, here's an example:
Cursor

  1. First you have to prepare the picture
  2. Open script.rpy
  3. Add the following code
image ctc_heart:
"images/heart.png"
linear 1.0 alpha 1.0
linear 1.0 alpha 0.0
repeat
  • The image used here is the animated image- related tutorial can be found --> click here
  • ctc_heart is the code name of the picture and can be changed as you wish
  • images/heart.png is the path of the image and should be changed according to the location of the image you stored
  • linear 0.75 - playback duration / image display duration - 1 is 1 second
  • alpha 1.0 - transparency - 1 is 100% / 0 is invisible
  • repeat - make linear 1.0 alpha 1.0 and linear 1.0 alpha 0.0 repeat
  1. Find the line that defines the character Example: define e = Character("Alice" color="#ffffff")
  • Append ctc image after - ctc="ctc_heart" So then your character definition code will look like this
define e = Character("Alice" color="#ffffff, ctc="ctc_heart")

This post is over now~ You can give me / my website a clap if this help you! My website --> https://spaceofningningen.blogspot.com/ Image Alt Thank you for your support~