Search found 3093 matches

by Alex
Mon Apr 15, 2024 6:44 pm
Forum: Ren'Py Questions and Announcements
Topic: Shake not working
Replies: 3
Views: 155

Re: Shake not working

neometalero wrote: Sun Apr 14, 2024 7:11 pm ...
Hm, just tested and the original code worked for me in 8.1.0.
What version of Ren'Py do you use? Could you provide the part of the code where you using this shake effect?
by Alex
Sun Apr 14, 2024 5:03 am
Forum: Ren'Py Questions and Announcements
Topic: Shake not working
Replies: 3
Views: 155

Re: Shake not working

neometalero wrote: Sat Apr 13, 2024 7:18 pm ...It's an old project so I dont feel like creating a new transformation and apply it in all cases. Any way to salvage this old code?
Not tested, but try to convert the result of calculation to integer, like

Code: Select all

nx = xpos + int(self.dist * (renpy.random.random() * 2 - 1))
by Alex
Tue Apr 09, 2024 5:47 pm
Forum: Ren'Py Questions and Announcements
Topic: My dialogue is stuck! [SOLVED]
Replies: 1
Views: 136

Re: My dialogue is stuck!

...after you miss the option, the dialogue just gets stuck!... When time is gone the timer makes the game jump to label, stored in 'missed_event' variable, and hides the 'timerDown' screen. But 'QTEdown' screen is still shown, and timer make the game jump to label, stored in 'missed_event' variable...
by Alex
Wed Mar 13, 2024 5:21 pm
Forum: Ren'Py Questions and Announcements
Topic: Simple car chase event
Replies: 5
Views: 248

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: 605

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: 2755

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: 2246

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: 2654

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: 1585

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: 1350

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: 2667

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: 2667

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: 1016

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...