Search found 6 matches

by tserber
Tue Dec 08, 2020 3:24 am
Forum: Ren'Py Questions and Announcements
Topic: Atl matrixcolor animation(bug?)
Replies: 1
Views: 1227

Atl matrixcolor animation(bug?)

Hello. Im want to create hit animation(just paint sprite in red color). For that, im trying to use new atl property "matrixcolor" provided by renpy 7.4.0: transform hit: matrixcolor IdentityMatrix() linear 1.0 matrixcolor TintMatrix((255, 0, 0)) linear 1.0 matrixcolor IdentityMatrix() But ...
by tserber
Wed Jun 10, 2020 1:35 am
Forum: Ren'Py Questions and Announcements
Topic: Help allowing user to select and place a letter on screen [Solved]
Replies: 8
Views: 442

Re: Help allowing user to select and place a letter on screen

If i understand you correctly: define LETTERS_GAME_CELL_SIZE = 64 screen letters_game(word, letters, guessed, tries): frame: style style.default xalign .5 yalign .5 vbox: spacing 8 text "Try: %s" % (tries) hbox: for i in range(0, len(word)): frame: xsize LETTERS_GAME_CELL_SIZE ysize LETTER...
by tserber
Thu Sep 05, 2019 1:29 am
Forum: Ren'Py Questions and Announcements
Topic: Load priority of rpy files
Replies: 7
Views: 725

Re: Load priority of rpy files

What does this code do? init: item sword I do not understand what this does (I don't recognise it) If it is supposed to be Python it would be required to be init python: Are you trying to assign the variable "item" with the value "sword"? Use default instead default item = "...
by tserber
Thu Sep 05, 2019 12:50 am
Forum: Ren'Py Questions and Announcements
Topic: Load priority of rpy files
Replies: 7
Views: 725

Re: Load priority of rpy files

renpy loads files alphabetically, if your code is required for something in another file, you need to make sure it's file is placed earlier. in your case "sc" loads before "st" and since the functions isn't loaded yet, it give you errors. it's sad. now I understand why in the re...
by tserber
Thu Sep 05, 2019 12:45 am
Forum: Ren'Py Questions and Announcements
Topic: Load priority of rpy files
Replies: 7
Views: 725

Re: Load priority of rpy files

hell_oh_world wrote: Wed Sep 04, 2019 11:59 am Ye, as far as I know renpy have statements.rpy in its repository. Maybe thats the reason why its behaving strangely. I don't know, thats for sure.
Unfortunately not :(
by tserber
Wed Sep 04, 2019 11:36 am
Forum: Ren'Py Questions and Announcements
Topic: Load priority of rpy files
Replies: 7
Views: 725

Load priority of rpy files

I have following code: # statements.rpy python early: def parse_item(l): return l.word() def execute_item(d): print(d) renpy.register_statement("item", parse=parse_item, execute=execute_item, block=False) # script.rpy init: item sword label start: "..." return And i have that out...