Search found 3090 matches

by Alex
Wed Mar 13, 2024 5:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Simple car chase event
Replies: 5
Views: 221

Re: Simple car chase event

...i dont know enough, can renpy move imagebutton by transform operator? and can i put digits from renpy.random.randint(a, b) into xalign?... Kind of sample to play with #### # Car Chase Game # #### # images # image car_img: Solid("#c0c0c0") size(400, 200) image bg_road = Fixed( Solid(&qu...
by Alex
Wed Jan 31, 2024 5:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Ren'Py @ 20
Replies: 4
Views: 594

Re: Ren'Py @ 20

Whoa, time flies!
Many years to Ren'Py...))
by Alex
Wed Nov 08, 2023 3:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Passing a label name to another label as a parameter? [solved]
Replies: 6
Views: 2626

Re: Passing a label name to another label as a parameter?

So, at the start of each chapter in my game, I want to call a label that does a few things like stop the music and show a chapter title card, and to avoid having to copy and paste this same label multiple different times, I'd like to be able to call a single label and just swap out certain things l...
by Alex
Sat Oct 28, 2023 6:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Code for the Fifteen / Slide Puzzle mini game doesn't work any more, any ideas?
Replies: 1
Views: 2202

Re: Code for the Fifteen / Slide Puzzle mini game doesn't work any more, any ideas?

... Maybe it's because Renpy has been updated since the code was posted? ... Looks like... Try to change this lines label fifteen_game: ##### Game settings. # # Let's set the size of game field in tiles, for example 9 tiles (3 x 3). $ grid_width = 3 $ grid_height = 3 # Next 4 lines are used to set ...
by Alex
Sat Oct 28, 2023 4:47 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Can you put an ATL transform on a bar?
Replies: 4
Views: 2547

Re: Can you put an ATL transform on a bar?

... Is there a way I can go about moving a bar on the screen? Just use transform as you did for imagebutton. Try transform bar_transform(t=0.5): 0.5 parallel: linear t * (config.screen_width / config.screen_height) xalign 1.0 linear t * (config.screen_width / config.screen_height) xalign 0.0 repeat...
by Alex
Thu Oct 12, 2023 3:34 pm
Forum: Ren'Py Questions and Announcements
Topic: (Solved) Question about Boolean Variables
Replies: 6
Views: 1478

Re: Question about Boolean Variables

... Change this init: ## All variables are in a seperate varables.rpy file. $ crawlacrossfield = False $ walkacrossfield = False $ runacrossfield = False to ## All variables are in a seperate varables.rpy file. default crawlacrossfield = False default walkacrossfield = False default runacrossfield ...
by Alex
Fri Sep 29, 2023 12:50 pm
Forum: Asset Creation: Art
Topic: Video will play as a cutscene but won't play as a background scene
Replies: 1
Views: 1275

Re: Video will play as a cutscene but won't play as a background scene

ingenarel wrote: Fri Sep 29, 2023 10:31 am ...
Do you have any code after line that tried to scene or show your video?

Code: Select all

label start:
    scene alarm
    "?!"
by Alex
Wed Sep 20, 2023 4:18 pm
Forum: Ren'Py Questions and Announcements
Topic: Unresponsive image buttons [SOLVED]
Replies: 14
Views: 2376

Re: Unresponsive image buttons

Hikari_Kaitou wrote: Wed Sep 20, 2023 2:55 pm ...
So, what about size of those 'forest' images?
by Alex
Wed Sep 20, 2023 2:20 pm
Forum: Ren'Py Questions and Announcements
Topic: Unresponsive image buttons [SOLVED]
Replies: 14
Views: 2376

Re: Unresponsive image buttons

Hikari_Kaitou wrote: Tue Sep 19, 2023 4:34 pm Every time I create a second button, it overwrites the first button's function. ...
What's the size of your imagebuttons - any chance that they are overlap each other (as Ocelot pointed)?
How do you positioning them (are they inside a v/hbox, grid or have individual coordinates)?
by Alex
Sun Sep 17, 2023 9:48 am
Forum: Ren'Py Questions and Announcements
Topic: Default translation[SOLVED]
Replies: 5
Views: 936

Re: Default translation

... It's in Russian in beginning, but when I copy all my files to the new project, it's a mess again. I cannot copy just script.rpy, I copy screen.rpy as well, as I have lots of new stuff there... ... You shouldn't copy all the files, only files with game script. As for screens.rpy - copy/paste onl...
by Alex
Sun Sep 17, 2023 6:12 am
Forum: Ren'Py Questions and Announcements
Topic: Default translation[SOLVED]
Replies: 5
Views: 936

Re: Default translation

Hi guys. I created a project with English language (I think). In fact default language in scripts of the project is Russian. I want all messages in game, like - "Are you sure you want to quit game?" to be in Russian by default as well. ... Try to set russian language in launcher preferenc...
by Alex
Tue Sep 12, 2023 6:09 pm
Forum: Ren'Py Questions and Announcements
Topic: Opening a screen with a move transition [SOLVED]
Replies: 2
Views: 618

Re: Opening a screen with a move transition

Try to apply transform to the screen content (like, to your imagemap inside a screen) or put all the content inside a container (fixed, frame, hbox, vbox, etc.) and apply transform to it - viewtopic.php?f=8&t=66826#p561551
by Alex
Mon Sep 11, 2023 5:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Jump to Different Label When Pressing Different Key
Replies: 2
Views: 650

Re: Jump to Different Label When Pressing Different Key

... Try it like screen qte_1_scr(right_key, time_to_press, fail_label='', win_label=''): # just a mark for test purposes text "qte_1_scr is shown" align (0.5, 0.05) # to force player interact with the screen modal True # hide the screen and jump to fail_label after time is gone # (if fail...