Search found 153 matches

by yon
Mon Nov 08, 2021 9:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Display Layered Images In Textbox [SOLVED]
Replies: 10
Views: 647

Display Layered Images In Textbox [SOLVED]

Hey all, I a series of images I want to use for the background of a textbox, and a series of images I want to display below that one. It would have one image for the are around the dialogue, and a separate image as a border for that image. I want to let the player choose between which border they wa...
by yon
Mon Nov 08, 2021 9:16 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Multiple Game Menu Backgrounds?
Replies: 13
Views: 855

Re: Multiple Game Menu Backgrounds?

You don't have it so that it's trying to display two images at once, right? You're definitely having it hide the previous menu image and show the new menu item instead?
by yon
Sun Nov 07, 2021 10:38 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved]Multiple Game Menu Backgrounds?
Replies: 13
Views: 855

Re: Multiple Game Menu Backgrounds?

I'm trying to do a very similar thing, where I allow the player to choose between 3 color palettes for the UI (which would include changing the colors used in the main menu). Are you specifically only trying to change the colors, or the images, or something else? Just trying to make sure my own issu...
by yon
Sat Nov 06, 2021 1:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it better to make alternate UI an image or created in-engine?
Replies: 7
Views: 737

Re: Is it better to make alternate UI an image or created in-engine?

Quick update: It's apparently inadvisable to try to render rectangles with rounded corners and circles in-engine. Is that true? Is there any way to display a rectangle with rounded corners with these parameters? - xsize 800 - ysize 240 - color "#E37171" - corner radius 20 I've already managed to sho...
by yon
Sat Nov 06, 2021 12:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it better to make alternate UI an image or created in-engine?
Replies: 7
Views: 737

Re: Is it better to make alternate UI an image or created in-engine?

I think I might want to go with a layeredimage, so that I can set the layer colors independently via hex color. Specifically, I think it's best that I set the gui colors according to certain variables, and then have a section in the options screen where I can choose between different palettes which ...
by yon
Sat Nov 06, 2021 3:29 am
Forum: Ren'Py Questions and Announcements
Topic: Is it better to make alternate UI an image or created in-engine?
Replies: 7
Views: 737

Re: Is it better to make alternate UI an image or created in-engine?

Thank you. I feel like I'm leaning towards images for the time being, if only because I already have them designed for the mockup, and I shouldn't have too many colors to replace... but on the other hand, the idea of doing that for every layer on every UI 4 or 5 times... it's a little bit annoying, ...
by yon
Fri Nov 05, 2021 2:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Is it better to make alternate UI an image or created in-engine?
Replies: 7
Views: 737

Is it better to make alternate UI an image or created in-engine?

I was thinking about making it possible for the player to choose between a couple different color palettes, but I was wondering if it'd be better to do that by making png images or in-engine renders. I don't think anything I have designed would be impossible to do in the engine, it would just take a...
by yon
Thu Nov 04, 2021 3:04 pm
Forum: Works in Progress
Topic: Yudashi Peril: Floraison [GxG][Drama][Mystery][Romance Game?][Mature Themes][TBD]
Replies: 7
Views: 1564

Re: Yudashi Peril: Floraison [GxG][Drama][Mystery][Romance Game?][Mature Themes][TBD]

I have two major designs for the main menu thus far (have not implemented either yet), and I'm not sure which I'd like to go with. Either way, this is what I have for now.
by yon
Wed Nov 03, 2021 3:39 pm
Forum: Works in Progress
Topic: Yudashi Peril: Floraison [GxG][Drama][Mystery][Romance Game?][Mature Themes][TBD]
Replies: 7
Views: 1564

Re: Yudashi Peril: Floraison [GxG][Drama][Mystery][Romance Game?][Mature Themes][TBD]

I've mostly been putting my effort into handling UI and organizing the game structure for now. Here's what I've got so far.
by yon
Tue Nov 02, 2021 5:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Align Text Within Frame In Screen [SOLVED]
Replies: 19
Views: 415

Re: Align Text Within Frame In Screen

Hmm... if you want two independent lines of text you don't need a vbox at all, you can position text where ever you want. xpos and ypos is the pixel coordinate and xalign and yalign the orientation. If you create a box at x=100, y=100, width=50, height=50 and xalign=1.0, yalign=1.0, then the box wi...
by yon
Tue Nov 02, 2021 5:38 pm
Forum: Ren'Py Questions and Announcements
Topic: Align Text Within Frame In Screen [SOLVED]
Replies: 19
Views: 415

Re: Align Text Within Frame In Screen

2) If you want such precision, drop the vbox and explicitely position text displayables within frame, and apply exact size you want. Then use text_align to properly position text An example code: screen locbox(): frame: xsize 310 ysize 80 xpos 970 padding (0, 0) # To lazy to fix default padding in ...
by yon
Tue Nov 02, 2021 5:02 am
Forum: Ren'Py Questions and Announcements
Topic: Align Text Within Frame In Screen [SOLVED]
Replies: 19
Views: 415

Re: Align Text Within Frame In Screen

By default, text displayable takes all avaliable space and vbox increases in size on demand, so it takes all avaliable space too. Limit either vbox or text by setting xmaximum property. I did this, but I'm not sure what effect it will have immediately. It doesn't seem to help with the alignment iss...
by yon
Tue Nov 02, 2021 4:10 am
Forum: Ren'Py Questions and Announcements
Topic: Align Text Within Frame In Screen [SOLVED]
Replies: 19
Views: 415

Re: Align Text Within Frame In Screen

Sorry for not being more clear on my end. I really do appreciate your help. This has made it work almost exactly as I want it. There's only two more things now. 1) I don't know how to align the text on the X axis. Every time I try to put in an xpos, it starts counting from the left instead of from t...
by yon
Tue Nov 02, 2021 3:45 am
Forum: Ren'Py Questions and Announcements
Topic: Current Location Label [SOLVED]
Replies: 4
Views: 355

Re: Current Location Label

Thank you.
by yon
Mon Nov 01, 2021 8:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Align Text Within Frame In Screen [SOLVED]
Replies: 19
Views: 415

Re: Align Text Within Frame In Screen

I tried your example, and it didn't align the text along the right edge :(

I'm trying it again, this is what it gives me: