Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

CONGRATS!! That's very good news!!!

my heart dropped when I read that he's not your bf anymore, I thought you broke up, but then I read the great news and I became ecstatic! 

May you both live a life full of joy, and love!

*insert snoopy dance*

P.s: Thank you for giving me a push towards creating a visual novel, i am getting started and my mom supports this since i talked to her! :D I just have one tiny question....How do you do the side characters, mine don't show on the screen even if i do:

image side happy zelda = 'side_happy_zelda.png'

even with define, and the quotes, it still doesnt show....?

Anyways, again, CONGRATS!! :D This is the best news I've heard so far~~

You deserve a break! spend some time with each other~~

Hugs~~ 

(2 edits)

Aaaah, thanks for the blessings, sis! X'D
I'm also glad to hear things are working out with your mom! 

As for the side characters... you mean the picture next to the text box? o.o
For that one you gotta go to the screen.rpy and set quite a few things. Mine is also blinking so it's a little complicated:

image maya1side_idle = LiveComposite(
    (207, 304),
    (0, 0), "char/Maya Side/Maya_base_side1.png",
    (0, 0), "maya_side_idle_eyes",
    xalign= -0.03, yalign= 1.0  )

image maya_side_idle_eyes:
    "char/Maya Side/Maya_side_idle3.png"
    .1
    "char/Maya Side/Maya_side_idle2.png"
    .1
    "char/Maya Side/Maya_side_idle1.png"
    choice:
        4.5
    choice:
        3.5
    choice:
        1.5
    repeat

- (207, 304) is the size of the side image

- Maya_side_idle1 is opened eyes, idle2 is half opened eyes, idle3 is closed eyes. 4.5, 3.5, and 1.5 are used so she'd blink after 4.5 seconds, 3.5 seconds, or 1.5 seconds picked at random. 

And yep, to make a character blink you gotta separate the eyes and the face lol. Maya_base_side1.png is a face without eyes x'D kinda creepy. I sometimes even separated the eyebrows to make more expression variety or just combine the eyebrows with the eyes and make (maya_side_sad_eyes, maya_side_angry_eyes, etc...)

- xalign and yalign is to set the position (Where do you want to put the side image), fiddle with these until you're satisfied lol

Then once you're done with these, the code to make a shortcut would be this:

define u_idle = Character('[player_name]',ctc="ctc1", color="#ff81b6", ctc_position="fixed" ,show_side_image="maya1side_idle")

- player_name is a variable so people can re-name the main character. If you want to also do that, put this is script.rpy. I put this code in the scene where the Goddess asked for Maya's name:

$ player_name = renpy.input("What is your name?", "Maya", length=20)

$ player_name = player_name.strip()

if player_name == "":

    $ player_name="Maya"

- "Maya" is the default name if players chose not to rename her.

- So later, when Maya is thinking of something with an idle/smiling expression without opening her mouth, the code in script.rpy would be:

u_idle "(I wonder what's for dinner?)"

If you don't want your character to blink, it'll be much simpler. Just use these two:

image maya1side_idle = LiveComposite(     
   (207, 304),    
   (0, 0), "char/Maya Side/Maya_base_side1.png",    
   xalign= -0.03, yalign= 1.0  )

define u_idle = Character('[player_name]',ctc="ctc1", color="#ff81b6", ctc_position="fixed" ,show_side_image="maya1side_idle")

If I want Maya to laugh I'd have to make more codes, like u_laugh, u_sad, u_sadtalk, etc... you get the picture x_x this is why preparation often takes a loooong time lol but I hope I answered your question OuO)/

And yes! I'm taking a break now x'D
Take your time with programming, once you figure it out, you'll always be able to do it again! It's like riding a bike, even if you forgot how to, just re-open your old script and copy paste rofl

OMG, thank you for the advice on how to make a side image!

Man, I was suffering. I finally get why visual novel creators take their time T-T

Damn, I don' know how you can update every Monday :D 

Make sure to take a niiiice break :D 

Lol, when I got the notification of your reply, there was another notification saying:

"Night, night, sleep tight. Don't let the witches bite!" hqekfjegfkueqfrwhr what? LOL, but aren't they toothless...? What are they going to bite with? their gums?

Hugs~~

UH---

I tried, but how big should you draw the full body for it to be cropped into a side image? so confused TwT

Sowy for da disturbance, but so far, you're my last hope. TwT

Hugs~~

In this case, I just cropped Maya's body so it's only chest-up x'D 
Or! You can fiddle with the xalign and yalign, it's almost the same as xpos and ypos :'3

Oh and don't forget to compare the sprite's size with your game's screen resolution.
Bermuda's screen resolution is 1066x599 (Not recommended tho, a little too small. You should use your laptop's or PC's screen resolution as reference), so the character sprite's height shouldn't be more than 599 (from the knees up maybe?) I usually draw a sprite bigger than the resolution so it doesn't blur and easier to draw detailed accessories, then I resize it along with other sprites to compare compatibility with the screen resolution, background, and other character sprites' compatibility.

Err, to summarise it, it's important to first make a 'fake screenshot', so you'll know how the overall game will look like, how big will the text box be, how tall are the sprites, and whether they look good together or not. And then, you can just crop each item and save .png

Um, I'm kinda bad at explaining this, aren't I? @@
Please tell me if you're confused 

hmm, so I need to crop my character's body from chest-up? 

and it shouldn't be taller than 599....? I use ibis paint, so I should use a frame that's 599 in width this way I don't overdo it?

sorry, I'm kinda confused because this is my first time, and I don't understand the tutorials T-T

So I should draw her full body, then crop it in ren'py with the.....coordinates(?) that you provided me with? I never really understood what yalign and xalign, xpos, ypos is 0w0

but I think I have an idea of what you're explaining to me, thanks! I was going to post the demo, but I didn't find my side characters when I launched the game, so I just posted the 'project' without the game itself. oops--

again, thanks for the explanation, I understand more now!

Hugs~~

1066x599 is my screen resolution I used so yeah x'D I cropped my character sprites so their height is 599
But for side images, you need to play with the yalign and xalign, it's the position of the picture :'3

More explanation:
- if you type xalign 0.5, yalign 0.5 the picture will appear in the middle of the screen like being 'justified'
- xpos and ypos is a little different. It counts using pixels, for example; xpos 100 means 100 pixels horizontal from the right. ypos is vertical 

Um, this is just me but before trying to make side-images, you might want to read the instructions written in the gui.rpy
that's where you customize the overall GUI, starting from main menu's background, text box, etc... ^.^)/

Ah! I forgot to tell you that there's also lots of tutorials about Ren'Py on http://lemmasoft.renai.usI learned a lot from that, don't give up!
Also, you might find free mini games codes, you can copy and paste them to make your game more exciting x'D I believe I used Alex's CG gallery's codes... I kinda forgot, it's been a long time but it's definitely free to use! You can learn a lot from looking at other people's codes :3

And don't worry, you'll get used to restarting your game over and over again just to check whether the codes works or not OuO)/
Welcome to my world, sis!

*hugggs

Ahhhhh! Thank you!! I needed that website! :D

Also, your explanation made things soooo much easier for me, I understand now! UwU

*snoopy dance*

Now I don't feel like I'm stuck in a black hole! Again, thank you~~

Hugs~~

You're very welcome! X"D that's where I spent most of my time when I'm still learning but don't be too absorbed and forget to sleep/eat~

I wish you the best of luck! OuO)b

*huggss