Search found 74 matches

by Black_Saber
Thu Aug 09, 2012 2:03 am
Forum: Ren'Py Questions and Announcements
Topic: How to remove stored variable?
Replies: 3
Views: 1346

Re: How to remove stored variable?

bumping is the problem lies because I set when storing the variable? ==syntax from the supplier== menu: set carry "chair": $ ordergoods.remove("chair") And I would like to know why when I use SHIFT+D, my $ carry variable have "u" in the front of the object stored? Ex : ...
by Black_Saber
Tue Aug 07, 2012 3:46 am
Forum: Ren'Py Questions and Announcements
Topic: How to remove stored variable?
Replies: 3
Views: 1346

Re: How to remove stored variable?

I've tried putting $ carry = "none" but it still didn't remove my previous stored object, yet it will makes me unable to get new object from the supplier when the next minigame occurs. however, if I use $ carry = [ ] on the next minigame, I can take objects from the supplier, but when I gi...
by Black_Saber
Sun Aug 05, 2012 11:56 pm
Forum: Ren'Py Questions and Announcements
Topic: How to remove stored variable?
Replies: 3
Views: 1346

How to remove stored variable?

Hi, I would like to ask a question : I have a minigame where the protag brings 2 goods from one person to another, with a time limit. At first, I don't have any problem, but when the 2nd times of the same minigame starts, the goods from the last minigame which haven't been delivered is still saved i...
by Black_Saber
Wed Mar 16, 2011 9:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Map?
Replies: 4
Views: 633

Re: Map?

you can try downloading renpy installer and play the tutorial. You will find the simple example for that.
by Black_Saber
Tue Mar 15, 2011 10:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Map?
Replies: 4
Views: 633

Re: Map?

by Black_Saber
Mon Mar 07, 2011 5:10 am
Forum: Ren'Py Questions and Announcements
Topic: Setting a scene as a random chance
Replies: 2
Views: 613

Re: Setting a scene as a random chance

Maybe this is what you wanted to see for randomize outcome with chance :

http://lemmasoft.renai.us/forums/viewto ... f=8&t=9534

see Aleema's code.
by Black_Saber
Wed Mar 02, 2011 5:41 am
Forum: Ren'Py Questions and Announcements
Topic: Randomizing Outcomes? (Solved)
Replies: 9
Views: 1195

Re: Randomizing Outcomes?

Aleema wrote:I just use:

Code: Select all

num = renpy.random.randint(0,100)
if num <= 25:
#25% chance option#
else:
#75% chance option#
waw, this was great!

thanks for the knowledge, Aleema.
by Black_Saber
Wed Mar 02, 2011 12:13 am
Forum: Ren'Py Questions and Announcements
Topic: Randomizing Outcomes? (Solved)
Replies: 9
Views: 1195

Re: Randomizing Outcomes?

Do you mean like this? $ event = renpy.random.choice(['random1', 'random2', 'random3', 'random4', 'random5']) menu: "go to the left": jump left "run away": $ renpy.jump(event) label left: "text goes here" label random1: "text goes here" --- you can figure out ...
by Black_Saber
Tue Mar 01, 2011 10:25 pm
Forum: Ideas
Topic: [WIP] Beach Restaurant.. needs critics and maybe proofreader
Replies: 6
Views: 1124

Re: [WIP] Beach Restaurant.. needs critics and maybe proofre

Progress report :

- Finished chapter 2 for common route, and will trying to re-check all of the script from chapter 1.
- Will finish vina's route until hit the end of chapter 2 in common route.
- Still haven't draw the sprite and the CG.
by Black_Saber
Tue Mar 01, 2011 9:58 pm
Forum: Ren'Py Questions and Announcements
Topic: styling nvl mode didn't work [solved]
Replies: 11
Views: 1396

Re: styling nvl mode didn't work [solved]

Try this: style.nvl_window.left_padding = X For any value of x. Expermentation might give you the result you're looking for. Put this in an "init python" block. Also, no offense, but you might want to employ a proofreader for your writing. Ah, okay. Thanks Greeny. Well, if you notice my t...
by Black_Saber
Tue Mar 01, 2011 1:14 am
Forum: Ren'Py Questions and Announcements
Topic: styling nvl mode didn't work [solved]
Replies: 11
Views: 1396

Re: styling nvl mode didn't work [solved]

I did. $ narrator = Character(None, kind=nvl) at first, that kind of code makes my entire "text goes here" script goes into nvl mode. so I made it two, like this : $ narr = Character(None, kind=nvl) $ tor = Character(None) and it's working, with the cost of typing narr before the nvl text ...
by Black_Saber
Tue Mar 01, 2011 1:06 am
Forum: Ren'Py Questions and Announcements
Topic: styling nvl mode didn't work [solved]
Replies: 11
Views: 1396

Re: styling nvl mode didn't work [solved]

I see, thanks for the clarification, PyTom.

There's some minor question that I wanted to know though.
screnshot.png
How to make the teks goes further into the right side?
by Black_Saber
Tue Mar 01, 2011 12:12 am
Forum: Ren'Py Questions and Announcements
Topic: How do you disable advancing? [SOLVED]
Replies: 6
Views: 890

Re: How do you disable advancing?

Really? As far I know with my imagebutton code, if I click elsewhere beside the button, the game won't do anything at all.

Can you post your code?
by Black_Saber
Mon Feb 28, 2011 10:08 pm
Forum: Ren'Py Questions and Announcements
Topic: styling nvl mode didn't work [solved]
Replies: 11
Views: 1396

Re: styling nvl mode didn't work [solved]

so it's doesn't matter if I have 2 init block in my script.rpy and option.rpy ?

or should I add some number in -1 and such?
by Black_Saber
Mon Feb 28, 2011 1:31 am
Forum: Ren'Py Questions and Announcements
Topic: styling nvl mode didn't work [solved]
Replies: 11
Views: 1396

Re: styling nvl mode didn't work

oh my :o the wiki didn't tell me about that :/ well I did see that they put the code inside init pyhton: so I just tried using python itself.. ah, about the typo, I was typing xmargin before, but changed into left_margin when I've edited this. okay, will try it. Thanks, Aleema. EDIT : It worked, lol...