Search found 14 matches

by jagharhemma
Fri Jul 13, 2018 10:55 am
Forum: Ren'Py Questions and Announcements
Topic: sleepy time...
Replies: 2
Views: 457

Re: sleepy time...

Solved by REMIX! Thanks for the support!
by jagharhemma
Fri Jul 13, 2018 9:28 am
Forum: Ren'Py Questions and Announcements
Topic: sleepy time...
Replies: 2
Views: 457

sleepy time...

Hello, Is there a way to get renpy to keep an eye on a variable all the time? I am using a very simple time cycle just reducing a stamina variable every time the character moves between rooms and today i have to have a conditional statement in every room looking for the value of the stamina variable...
by jagharhemma
Tue Jun 12, 2018 12:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Sound in screens
Replies: 7
Views: 3273

Re: Sound in screens

I really appreciate your help!

Not changed the name of the images!
by jagharhemma
Mon Jun 11, 2018 2:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Sound in screens
Replies: 7
Views: 3273

Re: Sound in screens

Been trying this for a while and there is something not going as expected. I can get the code to run until " % t_nums[lock1]:", if i exclude this the code works. Also, in my code i cycle through the numbers 0, 1 and 2, can't see that this code will do that The code works though, i can get ...
by jagharhemma
Sun Jun 10, 2018 5:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Sound in screens
Replies: 7
Views: 3273

Re: Sound in screens

So, decided top paste the code... As you can see i have no test button,. i want the lock to react to the right code, without being forced to test every combo manually. All i would like to achieve it to play a click where i have ####Here i would like the click sound to play#### Not sure how i am to u...
by jagharhemma
Sun Jun 10, 2018 2:07 pm
Forum: Ren'Py Questions and Announcements
Topic: Sound in screens
Replies: 7
Views: 3273

Sound in screens

I have created a combination lock screen and i want it to play a sound once the lock is opened. I know how to play sounds in buttons, but here i am using a if statement that once var1=cvar2=var3 should play a click sound, how do i do??? Tried a multitude of variations but i always get errors, what i...
by jagharhemma
Mon Jan 15, 2018 6:23 pm
Forum: Ren'Py Questions and Announcements
Topic: new functionallity
Replies: 2
Views: 431

new functionallity

Found this "A new multiple character dialogue system makes it possible for multiple characters to display dialogue on the screen at once.", but how do i use it?
by jagharhemma
Tue Jan 09, 2018 9:58 am
Forum: Ren'Py Questions and Announcements
Topic: Game crashes at launch ... half of the time
Replies: 2
Views: 1638

Re: Game crashes at launch ... half of the time

Same for me but most of the time.. It started yesterday when i installed the latest version of RENPY. I have made smaller changes to my test project (luckily only test affected), but now i am afraid to poke around in my main project, will it be corrupted?! I have tried another old project, made smal...
by jagharhemma
Sat Dec 16, 2017 10:25 am
Forum: Ren'Py Questions and Announcements
Topic: Nested if (or not...)
Replies: 10
Views: 1341

Re: Nested if (or not...)

Got it! One thing that confused me, i had to direct to folder... Also, i changed from scene to show So, the final code looks like (annoyingly easy!) $ hit = renpy.random.randint(1,28) ## initiates a random variable image street1 = DynamicImage( "street/street1/1street [hit].jpg" ) ## "...
by jagharhemma
Sat Dec 16, 2017 9:30 am
Forum: Ren'Py Questions and Announcements
Topic: Nested if (or not...)
Replies: 10
Views: 1341

Re: Nested if (or not...)

Nope, same result, see my code below. "Test" $ hit = renpy.random.randint(1,1) "hit is [hit]" ## verifying variable define random_corridor = DynamicImage( "corridor[hit].png" ) ## add .png # . . . # $ hit = renpy.random.randint(1,1)## removed since it initiates the vari...
by jagharhemma
Sat Dec 16, 2017 9:08 am
Forum: Ren'Py Questions and Announcements
Topic: Nested if (or not...)
Replies: 10
Views: 1341

Re: Nested if (or not...)

Thanks for the support!

But nope, can't get it to work.

I get the "default image" ( the grey outline) so i am not sure what is wrong.

It does state that it is showing "random_corridor", so far so good, but it does not seems to understand the syntax, properly.
by jagharhemma
Sat Dec 16, 2017 7:39 am
Forum: Ren'Py Questions and Announcements
Topic: Nested if (or not...)
Replies: 10
Views: 1341

Re: Nested if (or not...)

Some progress... hit is: $ hit = renpy.random.randint(1,20) I can get it to work in text: "{image=corridor[hit]}" This will show a random image taken from a set of images where the name conform to the "naming convention" based on the random variable [hit]. But it is in a textbox,...
by jagharhemma
Sun Dec 03, 2017 5:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Nested if (or not...)
Replies: 10
Views: 1341

Re: Nested if (or not...)

Thanks but it would be so much easier to just be able to convert the variable to a string and concatenate to a show statement. $ hit = renpy.random.randint(1,20) show corridor + str[hit] I have found some (old) references that "str" could/should convert the random integer (i presume) to a ...
by jagharhemma
Wed Nov 29, 2017 10:59 am
Forum: Ren'Py Questions and Announcements
Topic: Nested if (or not...)
Replies: 10
Views: 1341

Nested if (or not...)

Hello, Trying to avoid nested if statements when presenting random images on entering a new area. What i have is a number of images related to a specific area: corridor1 corridor2 corridor3 and so on... Right now i use nested if statements and a random variable to control what image (and message) th...