Search found 22 matches

by Husky
Sat Dec 17, 2016 6:46 am
Forum: Ren'Py Questions and Announcements
Topic: How to increase this code's reusability?
Replies: 1
Views: 432

Re: How to increase this code's reusability?

I made it differently, but... I don't like it too much. Code isn't reusable and I'll have to create a different screen for each instance, where my action button with direction arrows appear. menu mirrors: "Zbadaj lewe lustro": if 'lewelustro' not in visit: $visit.append('lewelustro') scene...
by Husky
Thu Dec 15, 2016 9:27 pm
Forum: Ren'Py Questions and Announcements
Topic: How to increase this code's reusability?
Replies: 1
Views: 432

How to increase this code's reusability?

Hi... I'll paste the code and the photos and explain the issue. http://image.prntscr.com/image/772834394f3145c287e4abc057f8fc9f.png I'm calling the screen called 'actionbutton' after a set of dialogues. This button after being clicked returns string "use". I store it to the variable 'resul...
by Husky
Mon Dec 14, 2015 4:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagebutton hover sound
Replies: 2
Views: 3316

Imagebutton hover sound

http://i.imgur.com/PfoTK4G.png I have these imagebuttons in my main menu. And I have a "click.wav" file in "sound" folder. So I want my click to be heard, when I hover over the imagebuttons. I typed in in options: style.imagebutton.hover_sound = "sound/click.wav" but a...
by Husky
Wed Jul 15, 2015 12:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Not a displayable: None
Replies: 1
Views: 1502

Not a displayable: None

I'm sorry, but an uncaught exception occurred. While running game code: File "game/rozdzial1.rpy", line 2417, in script call screen rozmowa File "renpy/common/000statements.rpy", line 457, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "...
by Husky
Tue Jul 07, 2015 9:15 pm
Forum: Ren'Py Questions and Announcements
Topic: TypeError: 'str' object is not callable
Replies: 2
Views: 597

Re: TypeError: 'str' object is not callable

I'm sorry, but an uncaught exception occurred. While running game code: File "game/rozdzial1.rpy", line 1978, in script call screen kaplicaaisha File "renpy/common/000statements.rpy", line 457, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) TypeE...
by Husky
Tue Jul 07, 2015 8:53 pm
Forum: Ren'Py Questions and Announcements
Topic: TypeError: 'str' object is not callable
Replies: 2
Views: 597

TypeError: 'str' object is not callable

label villagemap_aisha: call screen villagemap $result = _return if result == "inn": scene inn with fade jump inn_aisha if result == "chapel": scene chapel with fade jump chapel_aisha if result == "shop": scene shop with fade jump shop_aisha if result == "medic&qu...
by Husky
Sun Jul 05, 2015 6:57 pm
Forum: Ren'Py Questions and Announcements
Topic: Heavy stuttering on a video
Replies: 1
Views: 498

Heavy stuttering on a video

I wanted to include a short video in my game, so I rendered it in Sony Vegas in .mpg format. It looks okay, it works normally in my every video player. But in game, it lags a lot. It has a sound inside. I rendered different versions with different resolutions and it's all the same.
by Husky
Tue Jun 30, 2015 10:59 am
Forum: Ren'Py Questions and Announcements
Topic: List index out of range?
Replies: 7
Views: 2322

Re: List index out of range?

nyaatrap wrote:I never use imagemap, but hotspots are coded at outside of the imagemap block?
It works that way with other screens just fine.

@edit

Okay. My mistake. The hotspots were in fact broken.
by Husky
Tue Jun 30, 2015 10:33 am
Forum: Ren'Py Questions and Announcements
Topic: List index out of range?
Replies: 7
Views: 2322

Re: List index out of range?

Is it something with that zorder? I'm forced to put -1 for all the screens, because I have a one more screen called "Equipment". And it shows a little icon during the game, which opens the another screen with stuff the player gathered. And if my normal screens doesn't have -1, my Equipment...
by Husky
Tue Jun 30, 2015 9:36 am
Forum: Ren'Py Questions and Announcements
Topic: List index out of range?
Replies: 7
Views: 2322

Re: List index out of range?

I'm sorry, but an uncaught exception occurred. While running game code: File "game/rozdzial1.rpy", line 1078, in script call screen peter File "renpy/common/000statements.rpy", line 457, in execute_call_screen store._return = renpy.call_screen(name, *args, **kwargs) File "g...
by Husky
Mon Jun 29, 2015 7:39 pm
Forum: Ren'Py Questions and Announcements
Topic: List index out of range?
Replies: 7
Views: 2322

List index out of range?

screen peter(): zorder -1 imagemap: ground "ramki/talking-frame.png" hover "ramki/talking-frame_hover.png" hotspot (62, 511, 251, 65) clicked Return("talk") hotspot (480, 509, 253, 71) clicked Return("investigate") hotspot (357, 508, 86, 91) clicked Return(&q...
by Husky
Sun Jun 28, 2015 9:15 am
Forum: Asset Creation: Art
Topic: About these random found photos...
Replies: 3
Views: 910

Re: About these random found photos...

I found the author of the photo on dA. However, she hasn't logged for 18 weeks and I can't ask her anyhow. :/ Shame, because the photo is just perfect.
by Husky
Sun Jun 28, 2015 7:55 am
Forum: Asset Creation: Art
Topic: About these random found photos...
Replies: 3
Views: 910

About these random found photos...

If I found a photo on google on some random website, sometimes abandoned, how can I know if this photo is copyrighted or not? If it's a photo created by a person from this website or just taken from somewhere else? I wonder about that, because I wanted some really neat photos of different parts of a...
by Husky
Sat Jun 27, 2015 3:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Two different effects after clicking on a single hotspot
Replies: 4
Views: 517

Re: Two different effects after clicking on a single hotspot

Won't it fill my game with hundreds of variables, which won't be necessary later on?