Search found 882 matches

by Per K Grok
Tue Jan 22, 2019 1:58 am
Forum: Ren'Py Questions and Announcements
Topic: [solved]how can I calculate xalign using xpos and xsize?
Replies: 6
Views: 590

Re: how can I calculate xalign using xpos and xsize?

Kia wrote: Mon Jan 21, 2019 9:22 am what's the correct formula for calculating "xalign" of a dragged child using available information:
I think this should work

xalign = xpos / (screenwidth - xsize)
by Per K Grok
Thu Jan 17, 2019 2:32 pm
Forum: Ren'Py Questions and Announcements
Topic: Conversation Menus (ren'py)
Replies: 9
Views: 864

Re: Conversation Menus (ren'py)

Guidman64 wrote: Wed Jan 16, 2019 1:13 pm ---

Another thing, what do we write in the code to have the menus line centered horizontally above the text screen.
screens.rpy

screen choice(items):

-----

Code: Select all

style choice_vbox:
    xalign 0.5
    yalign 0.5
    yanchor 0.5
by Per K Grok
Thu Jan 17, 2019 2:24 pm
Forum: Ren'Py Questions and Announcements
Topic: (Question) Putting an overworld into my game?
Replies: 4
Views: 1515

Re: (Question) Putting an overworld into my game?

--- The main problem with screens is that i have no idea how to 1. move the background as the player presses the arrows and 2. have a player character in the middle --- Your thread should really be in the Questions and Announcements forum. Not sure how you go about, having it moved. My thread on ma...
by Per K Grok
Wed Jan 16, 2019 2:11 am
Forum: Asset Creation: Art
Topic: What's the best sprite creation method for a beginner?
Replies: 14
Views: 3592

Re: What's the best sprite creation method for a beginner?

--- So here I ask, what technique do you think is better suited for a beginner. I feel like I should go for the Full sprite method, but I just worry about taking up a lot of file space with my images. --- I would recommend the full sprite method. Always a good idea to start out using the simpler me...
by Per K Grok
Wed Jan 16, 2019 2:03 am
Forum: Ren'Py Questions and Announcements
Topic: Conversation Menus (ren'py)
Replies: 9
Views: 864

Re: Conversation Menus (ren'py)

I did make another menu button "Continue". Where I just jumped to next label. It seems a bit crude seeing that they can just push "continue" and skip over conversations. I would really like to learn to write the code so the menu choices, if possible, disappear or at the least ad...
by Per K Grok
Sat Jan 12, 2019 1:10 pm
Forum: Ren'Py Questions and Announcements
Topic: How do I change the menu button fonts?
Replies: 1
Views: 246

Re: How do I change the menu button fonts?

I cannot for the life of me find where in the screens.rpy I have to put font "fontchoice.ttf" . Just to make sure, I want to change only the font of the 'Start', 'Load', 'Options', 'Exit', etc text buttons. I tried putting it in many different spots and styles but nothing works. The font ...
by Per K Grok
Tue Jan 08, 2019 5:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Creating centered text without a textbox
Replies: 1
Views: 249

Re: Creating centered text without a textbox

Hello, For the first scene of my game I'd like the game to fade in on a fullscreen image I made and display some text. To do this I used the 'centered' text instruction. However when the game starts a text box appears briefly, fading in with the scene before disappearing when the text begins to typ...
by Per K Grok
Tue Jan 08, 2019 4:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Positioning problem
Replies: 2
Views: 253

Re: Positioning problem

I've got a show receptionist neutral at Position(xpos = 0.5, xanchor=0.5, ypos=RECEPTIONIST_YPOS, yanchor=0.5) with dissolve closely following by a show receptionist with a different expression. The second one appears to be executed before the first show command is finished, resulting in the positi...
by Per K Grok
Tue Jan 08, 2019 4:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Possible To Add Video In This Manner?
Replies: 4
Views: 327

Re: Possible To Add Video In This Manner?

bDunks wrote: Tue Jan 08, 2019 4:33 pm ---
I am playing around with renpy.movie_cutscene, but no go... so far.
Have you entered

Code: Select all

$ renpy.movie_cutscene("video/park.webm")
in your script at the point where you want to play the video?

If so what happens when you try to launch the game?
Do you get any error message?
by Per K Grok
Tue Jan 08, 2019 4:16 pm
Forum: Ren'Py Questions and Announcements
Topic: Possible To Add Video In This Manner?
Replies: 4
Views: 327

Re: Possible To Add Video In This Manner?

bDunks wrote: Tue Jan 08, 2019 3:24 pm ----

Thank you for your time & any help or direction. :)
You could start looking at this page
https://www.renpy.org/doc/html/movie.ht ... t=cutscene


If you use the image model you can change size and other stuff that you can do with an image.
by Per K Grok
Tue Jan 08, 2019 2:28 pm
Forum: Ren'Py Cookbook
Topic: Player controlled movementet of entity (update 2019-03-13)
Replies: 15
Views: 8242

Player controlled movementet of entity (update 2019-03-13)

update 2019-03-13 1c (more walk-cycle angles, walk-able area, 2-stage walk) further down update 2019-02-17 Method 1b (1a + perspective(scaling)) further down update 2019-02-17 Method 1a (mouse, all directions) further down update 2019-02-10 Method 3 (keys) further down update 2019-01-31 Disable Roll...
by Per K Grok
Tue Jan 08, 2019 1:05 pm
Forum: Ren'Py Questions and Announcements
Topic: How can I make a screen, which will be minimized on click (with her content), and will be maximized on click again? [s]
Replies: 3
Views: 509

Re: How can I make a screen, which will be minimized on click (with her content), and will be maximized on click again?

I would like make tools-box with buttons "save", "load" etc, which will be minimized and maximized as I have described. You can make two screens, one that hold the tool-box and one that only hold the on/off button for the tool-box screen. The on/off screen is always shown when t...
by Per K Grok
Tue Jan 08, 2019 12:59 pm
Forum: Ren'Py Questions and Announcements
Topic: Can't get box_wrap to work?
Replies: 4
Views: 619

Re: Can't get box_wrap to work?

Hi! I made a custom screen with text that varies according to when it appears. The text shows up just fine, but for some reason I can't get it to stay inside the designated area? I don't know what I'm doing wrong. screen note(): frame: at note_slide background Image("images/note.png") yof...
by Per K Grok
Mon Jan 07, 2019 1:14 pm
Forum: Ren'Py Questions and Announcements
Topic: Can't get box_wrap to work?
Replies: 4
Views: 619

Re: Can't get box_wrap to work?

Hi! I made a custom screen with text that varies according to when it appears. The text shows up just fine, but for some reason I can't get it to stay inside the designated area? I don't know what I'm doing wrong. screen note(): frame: at note_slide background Image("images/note.png") yof...