Search found 61 matches
- Fri Sep 24, 2010 9:54 pm
- Forum: Creator Discussion
- Topic: basic syntax with variables
- Replies: 1
- Views: 403
basic syntax with variables
Here is another one, if anyone could help. Why am I having trouble with the following line? I want it to display the number values for the two variables below ($att and $hp). The variables are declared in the INIT section. Renpy doesn't like it: "Mr. Sterling is here. (Att: %d " % att, &qu...
- Thu Sep 23, 2010 11:38 pm
- Forum: Creator Discussion
- Topic: inventory items
- Replies: 3
- Views: 551
Re: inventory items
Ah--I just had to enter
text("Inv: "+", ".join(inv))
at the bottom of the hbox definition.
Thanks again for the help... I wish there were an in-person training course for Renpy!
text("Inv: "+", ".join(inv))
at the bottom of the hbox definition.
Thanks again for the help... I wish there were an in-person training course for Renpy!
- Thu Sep 23, 2010 8:18 pm
- Forum: Creator Discussion
- Topic: inventory items
- Replies: 3
- Views: 551
Re: inventory items
Thanks--though I'm not sure exactly where to put that in my script. If I have the following in the INIT section, where exactly would I put the join stuff? Can you enter it in where it would belong in the example below? Sorry if my question is too basic. I'm an English major and anything beyond jump ...
- Thu Sep 23, 2010 5:52 pm
- Forum: Ren'Py Questions and Announcements
- Topic: how to set an absolute margin
- Replies: 1
- Views: 593
how to set an absolute margin
Here is another puzzle--at least, it is a puzzle to me. I have stats at the bottom of my screen. They tend to change position a bit when data changes. How can I simply set an absolute value--a margin, so that "xp" is indented just a bit from the right edge of the screen and actually stays ...
- Thu Sep 23, 2010 4:35 pm
- Forum: Creator Discussion
- Topic: inventory items
- Replies: 3
- Views: 551
inventory items
Hello, Currently I do the following to display inventory items: 1. In INIT section, I have $inv=[] 2. To display inventory near bottom of screen, I entered: screen statsinv: hbox: text("{color=#5f9ea0}Inv: %s{/color}" % inv) 3. When an item is added, I have $inv.append("watch") f...
- Sat Sep 11, 2010 4:23 pm
- Forum: Creator Discussion
- Topic: Displaying stats for NVL mode
- Replies: 6
- Views: 804
Re: Displaying stats for NVL mode
Oops, looks like the comma concatenator does work.
Please disregard...
Please disregard...
- Sat Sep 11, 2010 4:17 pm
- Forum: Creator Discussion
- Topic: Displaying stats for NVL mode
- Replies: 6
- Views: 804
Re: Displaying stats for NVL mode
Additional basic question. Consider the following: screen stats: hbox: yalign 0.99 xfill True text("FEAR: %d" % fear " of %" % fearmax) xalign 0.05 How can I enter the "fearmax" variable amount next to the first variable? I tried concatenating like the above, and with a...
- Sat Sep 11, 2010 4:14 pm
- Forum: Ren'Py Questions and Announcements
- Topic: checkboard background with v11?
- Replies: 4
- Views: 743
Re: checkboard background with v11?
Excellent, thanks a lot--works.
- Sat Sep 11, 2010 1:06 am
- Forum: Ren'Py Questions and Announcements
- Topic: checkboard background with v11?
- Replies: 4
- Views: 743
checkboard background with v11?
I have a checkerboard background when I launch one of my games with version 11 instead of the desired black background (NVL mode). I just tried v11 for the first time and the game displays as black in v10. Not enclosing any lines of script because I don't think that's pertinent. I can't even make th...
- Sat Sep 11, 2010 12:38 am
- Forum: Creator Discussion
- Topic: Displaying stats for NVL mode
- Replies: 6
- Views: 804
Re: Displaying stats for NVL mode
Thank you Anima, that was the problem.
Very much appreciated.
Very much appreciated.
- Fri Sep 10, 2010 11:15 pm
- Forum: Creator Discussion
- Topic: Displaying stats for NVL mode
- Replies: 6
- Views: 804
Re: Displaying stats for NVL mode
Thanks, though I'm getting the following error when I plug in that code. On line 39 of C:\script.rpy: expected statement. screen stats: I am lost at sea when it comes to anything beyond simple variables and jump statements. Which is mostly OK... I have this elaborate story with branches going everyw...
- Fri Sep 10, 2010 12:10 am
- Forum: Creator Discussion
- Topic: Displaying stats for NVL mode
- Replies: 6
- Views: 804
Displaying stats for NVL mode
Apologies if this should just be a continuation of my previous thread. I like what I've got going in my NVL mode game. I have one stat in the lower left corner, one stat in the lower right. But I want to add more stats between them. How do I position text? In my init section I have: image stats=renp...
- Mon Sep 06, 2010 11:19 pm
- Forum: Creator Discussion
- Topic: question on displaying stats
- Replies: 6
- Views: 715
Re: question on displaying stats
I think I figured out something that works better. I have the two stats positioned on the left and right bottom corners of the screen. I don't know what I'm doing, but it seems to be working out pretty well.
Anyway, LordShiranai--thanks for your fast (and helpful) responses.
Anyway, LordShiranai--thanks for your fast (and helpful) responses.
- Mon Sep 06, 2010 11:00 pm
- Forum: Creator Discussion
- Topic: question on displaying stats
- Replies: 6
- Views: 715
Re: question on displaying stats
A follow-up question... is there a way to just show scores in a margin on the right side of the page?
I ask because I'm writing in NVL mode. It would be nice to have the text going down the page and something always on the right, but I have no idea whether that is possible.
I ask because I'm writing in NVL mode. It would be nice to have the text going down the page and something always on the right, but I have no idea whether that is possible.
- Mon Sep 06, 2010 7:25 pm
- Forum: Creator Discussion
- Topic: question on displaying stats
- Replies: 6
- Views: 715
Re: question on displaying stats
Excellent, thanks. Do I need to use the "show" command for each label? Or is there a single-line method to make it display all the time?