Search found 30 matches

by Jezzy
Tue Jul 11, 2017 8:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Quick question about sound and music
Replies: 4
Views: 602

Re: Quick question about sound and music

Natalie wrote:Is this what you want to do?

Code: Select all

if renpy.music.get_playing(channel="music") == "music_name":    # Replace "music_name" with whatever you want to check
    # Do whatever here if "music_name" is playing on "music" channel

This! Thank you :)
by Jezzy
Tue Jul 11, 2017 7:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Quick question about sound and music
Replies: 4
Views: 602

Quick question about sound and music

Hello ^.^

Is there a way to know if a specific sound or music is already runing?
by Jezzy
Sat Jul 08, 2017 1:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Noob python question for pros
Replies: 6
Views: 614

Re: Noob python question for pros

*deleted. It was a typo*
by Jezzy
Sat Jul 08, 2017 12:05 am
Forum: Ren'Py Questions and Announcements
Topic: Noob python question for pros
Replies: 6
Views: 614

Re: Noob python question for pros

You do some fancy voodoo for getting the x and y of the pic. What happens if you drop it and just use fixed coordinates for the imagebutton? Is anything displayed at all? This is to check if you somehow messed that part up, in which case the images could be far off the screen. MEGA FACEPALM... Than...
by Jezzy
Fri Jul 07, 2017 11:49 pm
Forum: Ren'Py Questions and Announcements
Topic: Noob python question for pros
Replies: 6
Views: 614

Re: Noob python question for pros

I'm sorry I should have been more specific indeed. No image are showned in the boxes. There is no error message, everything "seem" to be working as intented. However... Normally, I should see an icon of a pizza slice (the image is existing in my gui/ folder) with a counter on it (10/10) which repres...
by Jezzy
Fri Jul 07, 2017 10:48 pm
Forum: Ren'Py Questions and Announcements
Topic: Noob python question for pros
Replies: 6
Views: 614

Noob python question for pros

Hello again! I'm trying to build a refrigerator inventory system based on the inventory example from this forum but theres something I'm not getting with arrays in python. I'm pretty sure I dont understand how to parse an array. Bellow is my code I think its related between this : $ sorted_foods = s...
by Jezzy
Fri Jul 07, 2017 9:08 pm
Forum: Ren'Py Questions and Announcements
Topic: How to stop renpy to go to the next label if..
Replies: 2
Views: 986

Re: How to stop renpy to go to the next label if..

You sir, are my savior!

thankyouthankyouthankyou

:D
by Jezzy
Fri Jul 07, 2017 8:45 pm
Forum: Ren'Py Questions and Announcements
Topic: How to stop renpy to go to the next label if..
Replies: 2
Views: 986

How to stop renpy to go to the next label if..

Hi! I'm not sure I can formulate this correctly but, I have a script that shows a screen when the player select an answer to a question which works perfectly fine however when I show my screen, Renpy keep processing in the background and goes automatically to the next label. Is there a way to tell r...
by Jezzy
Tue Jul 04, 2017 8:22 am
Forum: Ren'Py Questions and Announcements
Topic: How does Renpy manage the images...
Replies: 1
Views: 710

How does Renpy manage the images...

Hi!

I am getting concerned with the huge amount of images I got for my project. How does Renpy manage the images? I mean I dont want my Renpy project to be a huge bloated memory consuming monster.
by Jezzy
Mon Jul 03, 2017 11:30 am
Forum: Ren'Py Questions and Announcements
Topic: Best way to wrap the show method
Replies: 1
Views: 251

Best way to wrap the show method

Greetings! I need your help again, oh awesome Renpy community! I am wondering if I can concatenate a variable in a show expression? For example, I have many outfits id and I want to concatenate something like this : show outfit_+player.outfitid+_neutral instead of the usual show outfit_1_neutral. I ...
by Jezzy
Thu Jun 29, 2017 1:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Best way to track stats during the game
Replies: 3
Views: 989

Re: Best way to track stats during the game

Thank you. I gonna do the check in my player class. I was blinded by the tree that hides the forest trying to figure something ultra complex instead of using my existing object ^.^

thanks again!
by Jezzy
Thu Jun 29, 2017 1:05 pm
Forum: Ren'Py Questions and Announcements
Topic: Best way to track stats during the game
Replies: 3
Views: 989

Best way to track stats during the game

Hello, I am working on a RPG maded with Renpy and I have a question about the best practice to track stats during the game. For example, I would like to track needs for my characters (h2o, food, sleep) and jump to a specific label if one of these get to 0. Also is there a way to execute a function/c...
by Jezzy
Wed Jun 21, 2017 8:33 pm
Forum: Ren'Py Questions and Announcements
Topic: zerofill an integer
Replies: 1
Views: 257

zerofill an integer

hello!

How would I do a 'zero filling' of an integer in Renpy in a text ?

For example : 1 becomes 01

In that case, I want all my character stats to be 2 digits long.

Code: Select all

text " {=cs_stats}{b}[player.con]{/b}" xpos 490 ypos 90 anchor(0,0)
Regards ^.^
by Jezzy
Wed Jun 21, 2017 2:31 pm
Forum: Ren'Py Questions and Announcements
Topic: Prevent the story to go on after I click a "Close" button
Replies: 2
Views: 273

Re: Prevent the story to go on after I click a "Close" butto

Alex wrote:Just remove Return(None) from the list of actions.
:P omg! I feel dumb now :D thank you very much
by Jezzy
Wed Jun 21, 2017 2:26 pm
Forum: Ren'Py Questions and Announcements
Topic: Prevent the story to go on after I click a "Close" button
Replies: 2
Views: 273

Prevent the story to go on after I click a "Close" button

Greetings! I am working on a Renpy project and so far its very promising however I have a probably very basic bug that I cannot figure how to fix. I have a few screens (user interfaces) that I show the player when they click on an icon on the screen (inventory screen, character screen, map, etc.). E...