Search found 51 matches
- Fri Jun 13, 2014 5:29 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice menu with return? [Solved]
- Replies: 7
- Views: 11662
Re: Choice menu with return?
You'll have to be a little more specific than that. I'm not sure I understand your need well enough from what you said (and I wouldn't want to give you an half-assed answer that didn't fit you solution either :p ). Would you mind giving us an in-situation example ?
- Fri Jun 13, 2014 4:13 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Choice menu with return? [Solved]
- Replies: 7
- Views: 11662
Re: Choice menu with return?
Hello Walker, First things first, welcome to the Lemma Soft forums! I hope you'll have fun creating your ren'py games :) As a helpful hint, you have, while posting your posts, accesss to the Code button that gives you access to the [ code ] [ /code ] , which allows you to post code with the indentat...
- Mon Mar 10, 2014 4:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Calculation Issue: 1/2 = 0 ?
- Replies: 3
- Views: 1841
Re: Calculation Issue: 1/2 = 0 ?
Hello, Your issue here is dynamic typing : by initializing your variables with a integer value, you implicitly define them as Integer . Therefore, when you reach the division, it recognize the operation as a division of two Integers, and as the python reference states, the result of an integer divis...
- Sat Mar 01, 2014 5:41 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Check for none defined statements [Solved]
- Replies: 4
- Views: 606
Re: Check for none defined statements
Hello Stapper, It is not doable as you present it . By definition, you cannot use a variable if you haven't defined/instantiated it before. So you cannot use variables for that purpose. What you can do is use other objects of the Python syntax to emulate your desired behavior. The most appropriate w...
- Tue Apr 24, 2012 12:15 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Making a Full Trivia Game with Random Non-Repeating Question
- Replies: 3
- Views: 2561
Re: Making a Full Trivia Game with Random Non-Repeating Ques
I think the function you are looking for is renpy.random.choice , which would give a code something like this: python: $ questionPack = ##Here you initialise a list of questions while end_of_game_condition: $ nextquestion = renpy.random.choice(questionPack) call processQuestion(nextquestion) $ quest...
Re: Guestbook
Name: Christophe Gender: Male Location: France Occupation: IT Developement Interests: Many Website: None yet Hi everyone! I couldn't draw a correct sketch to save my life, I'm a self-dissatified writer, so I'll probably fall back on my technical expertise to contribute to this great community. I'm ...
- Sun Apr 22, 2012 3:56 am
- Forum: Ren'Py Questions and Announcements
- Topic: Is there a way to make responses adaptive to user input?
- Replies: 1
- Views: 455
Re: Is there a way to make responses adaptive to user input?
Is it possible ? Probably - it is 'simply' a human language (english) parser. It is feasible on a VN scale ? THERE'S NO WAY IN HELL. This is a shallow, superficial presentation of the issues at hand with natural language processing. have those testers or a small team come up with every single combin...
- Fri Apr 20, 2012 2:03 pm
- Forum: General Discussion
- Topic: A few questions about 3TB HDD
- Replies: 8
- Views: 1386
Re: A few questions about 3TB HDD
About the rise in price - it isn't about where your factories are, it isn't about being directly affected by the flood : it's a simple balance of demand and offer. If there's less total production, each remaining element is more desirable, and thus more pricy (plus, as there was a shortage panic, de...
- Thu Apr 19, 2012 12:55 pm
- Forum: General Discussion
- Topic: [Free to play flash game] PIXLE
- Replies: 9
- Views: 1356
Re: [Free to play flash game] PIXLE
Very fun - and very addictive! I've fourth place (as of now) with 80'000-ish. Gonna try and reach the podium. Gameplay is good : I've found it easier to move with the mouse but 'click' with the spacebar. Music is catchy - and somewhat relaxing at the same time. Art is good too. (Though I think that ...
- Thu Apr 19, 2012 5:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: Error keeps coming up that MC isn't defined [RESOLVED]
- Replies: 9
- Views: 969
Re: Error keeps coming up that MC isn't defined
What you're searching for is the call statement. The jump statement makes the execution line jump from the jump statement line to the precised label statement line : as a consequence, you lose any reference to the line you jumped from . The call statement pauses the execution at the current line and...
- Thu Apr 19, 2012 3:22 am
- Forum: Ren'Py Questions and Announcements
- Topic: Point-based games and deciding tiebreakers
- Replies: 29
- Views: 5031
Re: Point-based games and deciding tiebreakers
Yeeee - no. if len(highest_points_categories) > 1: $ menuitems = zip(['hunger', 'drink', 'social'], [highest_points_categories]) $ result = renpy.display_menu(menuitems) highest_points_categories is already a list - no need to surround it with brackets. But what stops it from assigning 'hunger' as t...
- Wed Apr 18, 2012 9:16 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Point-based games and deciding tiebreakers
- Replies: 29
- Views: 5031
Re: Point-based games and deciding tiebreakers
Yep, nearly there! You got the concept behind the zip function right this time. What you coded there would get : screenshot0001.png everytime there is a tie. Which isn't what we want - we want only the tied values, the ones with the highest_points value. And, as a matter of fact, we have already gen...
- Wed Apr 18, 2012 6:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Point-based games and deciding tiebreakers
- Replies: 29
- Views: 5031
Re: Point-based games and deciding tiebreakers
You're overthinking it. Really. do I need to list the pattern expected by the function, with [('hunger', hunger), ...] No : i just writed that pattern so that you would know what the function expects as a parameter. Or can the zip function be included as a part of the menuitems That's more like it :...
- Wed Apr 18, 2012 4:49 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Point-based games and deciding tiebreakers
- Replies: 29
- Views: 5031
Re: Point-based games and deciding tiebreakers
$ menuitems = [[(hunger, hunger), (drink, drink), (social, social)] Watch it, you're mixing variable names (hunger) and litteral text strings ('hunger') again. I think I need another hint I'm gonna put all we know side by side. The pattern expected by the function is [ ( title1 , returnvalue1 ) , (...
- Wed Apr 18, 2012 4:00 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Point-based games and deciding tiebreakers
- Replies: 29
- Views: 5031
Re: Point-based games and deciding tiebreakers
For the time being, forget the fancy texts (The "Get a..." ones), and try to simply set the names ('hunger', 'drink' & 'social') as both the displayed text and as the return values. As a hint, the expected format for display_menu()'s parameter is = [ ( title1 , returnvalue1 ) , ( title...