News:

Please request registration email again and then check your "Spam" folder

Former www.henthighschool.com

Modding Question

Started by darthdestroyeis, Jul 03, 2022, 08:30 PM

Previous topic - Next topic

Goldo

Quote from: Yasaki74 on Jan 28, 2024, 03:41 PMhttps://imgur.com/tACH7tE
ok I've found where the image come from I think? though idk how this part work, would you mind explaining this part to me?
I was hoping to change the girl profile when a girl change clothing

no need to explain the farm or slave market part but maybe the free part :3

I'm sorry but can you recap your original question? Even looking through your comments' history I couldn't quite figure it out.

profile is an attribute of the Girl class, if you want to implement a clothing system your best bet is to change the girl.profile picture every time there is a change of clothes.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

nneezz

I tried to bump up the game resolution to 2048 and found that the side image overlaps the text. Anyone know how to fix this?

Spoiler
[close]

Goldo

Quote from: nneezz on Apr 18, 2024, 05:06 PMI tried to bump up the game resolution to 2048 and found that the side image overlaps the text. Anyone know how to fix this?

Spoiler
[close]

You need to fiddle with the 'Say' screen in screens.rpy, looking around these lines:
    # If there's a side image, display it above the text.

    if side_image: # This is for Girl.char objects
        fixed xsize res_portrait_size ysize res_portrait_size xalign 0.0 yalign 1.0:
            add side_image xalign 0.5 yalign 0.0

    else:
        add SideImage() xalign 0.0 yalign 1.0

This will take a bit of Ren'py knowledge. Nevertheless, it's unlikely to be your only problem at such a large resolution, so you should be prepared to do a bit more customization of screens if you want to keep it up.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

nneezz

Quote from: Goldo on Apr 22, 2024, 03:22 PMYou need to fiddle with the 'Say' screen in screens.rpy, looking around these lines:

Thank you, Goldo. I looked in to that but can only change the side image not the area around it so I ended up with changing the dialogue box margin instead (options.rpy -> style.window.left_margin). Not the best workaround but the game is playable.

It turned out 2048 is not even enough so I went with 3072 ;D. Surprisingly just changing xres yres function and the base resolution the game adjusted its size really well. I'd say like 80% of the original stuff is zoomed correctly. Hopefully there'll be a resolution selector in the next version.

Goldo

Quote from: nneezz on Apr 24, 2024, 12:50 AM
Quote from: Goldo on Apr 22, 2024, 03:22 PMYou need to fiddle with the 'Say' screen in screens.rpy, looking around these lines:

Thank you, Goldo. I looked in to that but can only change the side image not the area around it so I ended up with changing the dialogue box margin instead (options.rpy -> style.window.left_margin). Not the best workaround but the game is playable.

It turned out 2048 is not even enough so I went with 3072 ;D. Surprisingly just changing xres yres function and the base resolution the game adjusted its size really well. I'd say like 80% of the original stuff is zoomed correctly. Hopefully there'll be a resolution selector in the next version.

If you can make a side list of other screens and windows that do not display correctly at higher resolutions as you go, that would be helpful for me to iron things out in the next version.
Maker of BK. Looking for the latest patch for BK 0.2? The link doesn't change, so bookmark it!

nneezz

Sure. I'll try to fix them as I play too.