Search found 11 matches
- Fri Jan 12, 2018 7:27 am
- Forum: We are offering Paid Work
- Topic: Visual Artist needed for futuristic 18+ game. [Closed]
- Replies: 0
- Views: 532
Visual Artist needed for futuristic 18+ game. [Closed]
I'm currently building an 18+ game that heavily tributes the Star Wars universe and am looking for an artist to create several sprites for characters in the game. Game can be previewed here: https://lemmasoft.renai.us/forums/viewtopic.php?f=43&t=47483 My requirements would involve: 3 x Female Fu...
- Tue Jan 09, 2018 6:39 pm
- Forum: Works in Progress
- Topic: Space Trainer [18+] [Trainer] [Space Opera]
- Replies: 0
- Views: 1261
Space Trainer [18+] [Trainer] [Space Opera]
Welcome to Space Trainer. This is a personal project of mine, my first attempt at programming in Ren'Py. What is Space Trainer? Space Trainer is my tribute to the Star Wars Expanded Universe. I feel that there were many untold stories and I have chosen to focus on an Infinities-style story. Space Tr...
- Sat Jan 06, 2018 8:00 am
- Forum: Ren'Py Questions and Announcements
- Topic: Call Screen working twice
- Replies: 3
- Views: 519
Re: Call Screen working twice
I had a similar issue yesterday, not the same but enough that I thought my experience MAY help you. I had a screen that was calling a function like this: textbutton "train 6: " xminimum 100 action ui.callsinnewcontext("train_6_button") bar range skill_max value skill_list[6] xmax...
- Tue Jan 02, 2018 10:05 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Answered] generating random number with len(variable)
- Replies: 3
- Views: 1188
- Tue Jan 02, 2018 5:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: [Answered] generating random number with len(variable)
- Replies: 3
- Views: 1188
[Answered] generating random number with len(variable)
Hello. I'm wondering if it's possible to use random to generate a number that is within the confines of the length of a list? What I'm trying to do is take the sum of 2 lists, then randomly choose one of the numbers from one of the lists to decrement by one, until the total of both lists is no longe...
- Wed Oct 25, 2017 12:55 am
- Forum: Ren'Py Questions and Announcements
- Topic: Visible but unselectable menu choices?
- Replies: 3
- Views: 634
Re: Visible but unselectable menu choices?
Probably not the best way but you can create a list: define: clue_known = [False, False, etc] Then when they discover the clue is not correct, change the value to true. $clue_known[0] = True and finally, when they select the menu option that they already know is wrong: if clue_known[0] is True: &quo...
- Fri Oct 20, 2017 9:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: <Solved> Is it possible to set a max and min value for each value in a list and the list as a whole?
- Replies: 6
- Views: 931
Re: Is it possible to set a max and min value for each value in a list and the list as a whole?
So, I've gone and written this piece of code that does what I need: $ i = 0 while i < len(desire_days): if day > desire_days[i] and if desire_list[i] > min_list[i]: $ desire_list[i] -= 1 $ i += 1 This part checks to see if a the subject has been exposed to each activity in the past 7 days and if the...
- Fri Oct 20, 2017 8:18 am
- Forum: Ren'Py Questions and Announcements
- Topic: <Solved> Is it possible to set a max and min value for each value in a list and the list as a whole?
- Replies: 6
- Views: 931
Re: Is it possible to set a max and min value for each value in a list and the list as a whole?
I've edited the code a bit, having been unable to make the above suggestions work for me. This allows me to set a max value of 10 for the whole set of data, a max of 5 for any individual value but will still reset each value down to 0 instead of a minimum individual value. while sum(desire_list) < 1...
- Thu Oct 19, 2017 6:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: <Solved> Is it possible to set a max and min value for each value in a list and the list as a whole?
- Replies: 6
- Views: 931
<Solved> Is it possible to set a max and min value for each value in a list and the list as a whole?
I'm trying to write a piece of code that increments a value in desire_list by the amount contained in exposure_list, and then wipe exposure_list clean to be used again the next day. However, I never want any single desire_list value to go above 5(while also being able to raise the minimum above 0 if...
- Fri Dec 16, 2016 8:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Possible to reset multiple persistent variables?
- Replies: 4
- Views: 739
Re: is it possible to mass reset multiple persistent variabl
Another approach: persistent data can store lists too. Or a dictionary, persistent variable could be a dictionary, that you fill in step by step: define persistent.mydict = { } label start: $ persistent.mydict['trig1'] = True Going on in the game, you add elements: label chapter_237: $ persistent.m...
- Fri Dec 16, 2016 9:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Possible to reset multiple persistent variables?
- Replies: 4
- Views: 739
[SOLVED] Possible to reset multiple persistent variables?
In another post, this talks about changing multiple variables at once through the python code below. Instead of bunch of variables, use a list. THen you can iterate it and change it: python: var = [ ] var[1] = 0 var[2] = 42 var[3] = 99 # . . . var[99] = 9001 # setting everything to 0 explicitely usi...