Search found 52 matches

by Pippin123
Wed Jun 22, 2016 3:07 am
Forum: Ren'Py Cookbook
Topic: Dynamic Dress Up Framework
Replies: 16
Views: 12672

Re: Dynamic Dress Up Framework

I added a .zip version of the file due to request.
The .rar SHOULD work for everyone, but you never know
by Pippin123
Wed Aug 12, 2015 10:05 am
Forum: Ren'Py Cookbook
Topic: Dynamic Dress Up Framework
Replies: 16
Views: 12672

Re: Dynamic Dress Up Framework

I'm not sure I understand fully what you want You have a char that can be 3 possible sprites ? Something like char1, char 2 char 3 and associated jpg char1_happy.jpg, char1_sad.jpg etc ? In that case, defining your images with condition switch sounds indeed the simplest solution. $ char_choice=1 ima...
by Pippin123
Wed Jul 22, 2015 7:53 am
Forum: Ren'Py Questions and Announcements
Topic: Help with inventory customization?
Replies: 3
Views: 1395

Re: Help with inventory customization?

Let's go over your requirements then, to see what's the "minimum" of code you need. First thing : (since I'm not familiar with the point & click demo) How do you handle the inventory itself? What you are showing is only the user interface for it, but the inventory is first and foremost...
by Pippin123
Wed Jul 22, 2015 7:23 am
Forum: Ren'Py Questions and Announcements
Topic: Help with inventory customization?
Replies: 3
Views: 1395

Re: Help with inventory customization?

Hi, Before going into much detail, I think you should take a good look at : http://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=23071 The scrollable part maybe possible, I don't know (gives me a headache though), but you can at least make it multipage. Edit: I just re-read your post, stating y...
by Pippin123
Fri Jul 17, 2015 6:09 am
Forum: Ren'Py Questions and Announcements
Topic: point based ending but play only one ending
Replies: 8
Views: 876

Re: point based ending but play only one ending

for one thing, your bad ending (the way you wrote it) will only play if you have 3 points. So any result like 2 or 1 will get you nothing. label script: $ Lucas_points = 0 #the game itself... if Lucas_points >= 8: jump happy_ending elif Lucas_points >= 4: jump normal_ending else: jump bad_ending sho...
by Pippin123
Tue Jun 30, 2015 10:15 am
Forum: Ren'Py Questions and Announcements
Topic: List index out of range?
Replies: 7
Views: 2325

Re: List index out of range?

I don't know the screen language that well, but it seems it takes exception with your

Code: Select all

zorder -1
?

Code: Select all

imc = renpy.ui.imagemap_stack[-1]
Are you somehow pushing a screen "under" the first level?
by Pippin123
Thu Jun 25, 2015 4:00 am
Forum: Ren'Py Questions and Announcements
Topic: Unlockable Glossary/Dictionary/Tips?
Replies: 3
Views: 2770

Re: Unlockable Glossary/Dictionary/Tips?

In terms of structure, you probably want something like a list: (Unlocked/TipName/TipText) and create a list of them. e.g. in a python block tip1 = [False,"Tip 1", "Blabla"[ tip2 = [True, "Tip 2", "Bla Bla Bla"] glossary=[] glossary.append(tip1) glossary.appen...
by Pippin123
Tue Jun 16, 2015 4:19 am
Forum: Ren'Py Questions and Announcements
Topic: How to loop sounds randomly in background?
Replies: 2
Views: 846

Re: How to loop sounds randomly in background?

If you want to make it loop, just use jump metSndLoop instead of return. Usually, you only need return for functions, not to get out of a label. But what I wrote will make the game loop forever, unless you make some escape clause in the label: e.g.: menu : "Stop the metronome": jump next_l...
by Pippin123
Tue Jun 02, 2015 6:37 am
Forum: Ren'Py Questions and Announcements
Topic: Crazy Conditions
Replies: 2
Views: 497

Re: Crazy Conditions

Can the variable ever get out of bound before you check ?

if x_pos=0.91, it will fail the x_pos==0.9 check and wander off.

you can try a >= check instead..
by Pippin123
Mon May 11, 2015 2:28 pm
Forum: Ren'Py Questions and Announcements
Topic: How to shop for clothes?
Replies: 2
Views: 502

Re: How to shop for clothes?

I did something very similar (i.e. clothes as items).
You'd need to add a price and a shop menu/screen, but the main stuff is there.

http://lemmasoft.renai.us/forums/viewto ... 51&t=30643

Hope this helps
by Pippin123
Fri May 08, 2015 8:17 am
Forum: Ren'Py Questions and Announcements
Topic: Need help making a Princess Maker 2 style inventory in renpy
Replies: 3
Views: 1556

Re: Need help making a Princess Maker 2 style inventory in r

You'll need to be a little bit more precise in describing what you want, since I don't know Princess Maker 2. At minimum, you will need to define an inventory for the character (check cookbook for detailed exemples) $ inventory=[] and some method to add, removes items from this list. e.g. $ inventor...
by Pippin123
Fri Apr 24, 2015 9:16 am
Forum: Ren'Py Questions and Announcements
Topic: Structuring story pseudo-branches
Replies: 2
Views: 455

Re: Structuring story pseudo-branches

Your approach seems logical. One thing is for sure, is that you will have a bunch of "arcanely-named labels" no matter what, since that's the intrinsic complexity of what you want to do. If it's only a matter of organizing things, you can put those label in another renpy file called "...
by Pippin123
Thu Apr 23, 2015 5:39 am
Forum: Ren'Py Questions and Announcements
Topic: Passing a variable name to a function [Solved]
Replies: 4
Views: 1617

Re: Passing a variable name to a function

I know there's the SetVariable("variablename",value) function in Screen language, doesn't know it if works in "standard" renpy A workaround would be to use the "return" line. def Statupdate(Check=100, Stat=HP, Value=0, Greater="0"): if Greater == "0"...
by Pippin123
Fri Apr 17, 2015 11:23 am
Forum: Ren'Py Questions and Announcements
Topic: How to put images in choice buttons? [FIXED]
Replies: 3
Views: 1771

Re: How to put images in choice buttons?

Can't you do it with imagebuttons , keeping the same architecture ?
http://www.renpy.org/doc/html/screens.html#imagebutton
by Pippin123
Wed Apr 15, 2015 11:13 am
Forum: Ren'Py Cookbook
Topic: Dynamic Dress Up Framework
Replies: 16
Views: 12672

Re: Dynamic Dress Up Framework

Perhaps this is an unnecessary, even stupid question, but my curiosity is going to win this anyway: is it possible to have the kind of dress, etc. have any influence on the story line? For example: you're wearing a summer dress during the winter. As a result you get sick. That would be easy, it jus...