So if I understand correctly, splitting the script into different files have virtually no effect on how it is run, but only how it is organized?
That's perfect. Thanks for the pointer, everyone.
Search found 263 matches
- Mon Jul 02, 2012 8:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Cutting the code into different modules for ease of access?
- Replies: 7
- Views: 1132
- Mon Jul 02, 2012 1:03 pm
- Forum: General Discussion
- Topic: What you enjoy from VN?
- Replies: 18
- Views: 2140
Re: What you enjoy from VN?
I think that trial-and-error is part of the genre's charm. Life choices and their consequences are as a rule not always intuitive or logical, and sometimes utter disaster can arise from the most innocuous of choices. Hence the "for want of a nail" hyperbole. As for the differences between ...
- Mon Jul 02, 2012 12:53 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Cutting the code into different modules for ease of access?
- Replies: 7
- Views: 1132
Re: Cutting the code into different modules for ease of acce
So in file 1 we can have: init python: # part 1 definitions go here and in file 2, 3, 4, 5,... n we have: init python: # part 3, 3, 4, 5, ...n definitions go here The question is, should all of these files end with return? From dissecting the tutorial it seems to be the case, but there is also the t...
- Mon Jul 02, 2012 11:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Cutting the code into different modules for ease of access?
- Replies: 7
- Views: 1132
Re: Cutting the code into different modules for ease of acce
That's exactly what I am looking for, right there.
Is there any pointer on how the program loads codes in different script files? Or any tutorial I could read about this?
Is there any pointer on how the program loads codes in different script files? Or any tutorial I could read about this?
- Mon Jul 02, 2012 7:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: Cutting the code into different modules for ease of access?
- Replies: 7
- Views: 1132
Cutting the code into different modules for ease of access?
As at present, my code is approaching the 7000 mark, and it is becoming harder and harder to properly navigate it. For practical reason, I am considering dividing it into different modules and import them into the main module when the game is run. However, I didn't understand the relevant instructio...
- Mon Jul 02, 2012 7:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: Print command and Ren'Py
- Replies: 11
- Views: 12721
Re: Print command and Ren'Py
I have found a simpler workaround that does not have to involve the for statement. Thanks for the suggestion anyway! I'm sure it will be of use later on.
- Sun Jul 01, 2012 12:47 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Print command and Ren'Py
- Replies: 11
- Views: 12721
Re: Print command and Ren'Py
Hmm... seems that it isn't a good workaround then. I'll try to fins another way.
Thanks anyway.
Thanks anyway.
- Sun Jul 01, 2012 12:45 pm
- Forum: Anime, Games, and Japan
- Topic: "Real" nekomimi?
- Replies: 40
- Views: 5540
Re: "Real" nekomimi?
True.
I guess I will put that down on the list of niche luxury products that quite few people want.When I become President of the World, that sort of thing is going into the luxury tax list.
I guess I will put that down on the list of niche luxury products that quite few people want.
- Sun Jul 01, 2012 12:06 pm
- Forum: Anime, Games, and Japan
- Topic: "Real" nekomimi?
- Replies: 40
- Views: 5540
Re: "Real" nekomimi?
I personally think this is vastly overpriced. Then again, so is most other toys/merch/collectibles. I would guess that I'd never get the appeal of cat ears and such.
/unpopular opinion.
/unpopular opinion.
- Sun Jul 01, 2012 11:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: Print command and Ren'Py
- Replies: 11
- Views: 12721
Re: Print command and Ren'Py
Not sure if that's what I'm looking for. The situation here is that I need to combine the for statement with the if clause and use it as a condition to display text. The problem is, to use an if clause in a for statement I have to use a python block, which pretty much negates the entire standard Ren...
- Sun Jul 01, 2012 11:48 am
- Forum: Creator Discussion
- Topic: Ideas Dump
- Replies: 1532
- Views: 218209
Re: Ideas Dump
Oh, oh! The Three Little Pigs 2: THE BACONING. "She remembers it as if it was yesterday. She was just a cub then, but she saw those bastard pigs murder her father Varg. Her name is Ull, and she will have her vengeance ." Ooooh! And she could have a huge gun*, and it could be this thing ! ...
- Sun Jul 01, 2012 11:40 am
- Forum: Ren'Py Questions and Announcements
- Topic: Print command and Ren'Py
- Replies: 11
- Views: 12721
Print command and Ren'Py
I have a quick question: Is the Python print command usable in Ren'Py?
Thanks beforehands!
Thanks beforehands!
- Sun Jul 01, 2012 11:23 am
- Forum: Works in Progress
- Topic: Smith-Lords of the Grey Mountain (VN/Sandbox RPG experiment)
- Replies: 6
- Views: 1521
Re: Smith-Lords of the Grey Mountain (VN/Sandbox RPG experim
Progress update: - Inventory and equipment system is currently working like a charm. Everything is text-based, yes, but for the inventory screen that generates a kind of early Final Fantasy feel, if I have to say so myself. :wink: - Preliminary tests on the combat system are positive. Once I come up...
- Sun Jul 01, 2012 8:24 am
- Forum: Ren'Py Questions and Announcements
- Topic: A choice you can only get if you have the right stats
- Replies: 2
- Views: 410
Re: A choice you can only get if you have the right stats
Use the "if" function, like so: "You have 30 Swadian Recruits. What do you want to upgrade them to?" menu: "Swadian Footmen": "You now have 30 Swadian Footmen." "Swadian Crossbowmen": "You now have 30 Swadian Crossbowmen." "Swadian Kni...
- Thu Jun 28, 2012 12:54 pm
- Forum: General Discussion
- Topic: Okay, I need a little help for Cartooning
- Replies: 8
- Views: 1202
Re: Okay, I need a little help for Cartooning
If all else fail, try Napoleon's invasion of Russia. I mean, look at that and tell me you can't get some huge surge of inspiration.
But then again, I'm a history fanatic, so there is that.
But then again, I'm a history fanatic, so there is that.