Search found 54 matches

by QotC
Mon Nov 23, 2015 6:34 pm
Forum: Ren'Py Questions and Announcements
Topic: How to make an inventory system?
Replies: 8
Views: 1204

Re: How to make an inventory system?

Screens are going to be your new best friend once you learn how to use them. They show and hide just like images, and while they can do complicated things, you can still start with something simple. You say you just want to show an item? Do you mean like examining a thing in detail, or just showing ...
by QotC
Mon Nov 23, 2015 8:48 am
Forum: Ren'Py Questions and Announcements
Topic: Deep Copy? [Solved]
Replies: 4
Views: 1338

Re: Deep Copy?

I had no idea that was a possibility! Thanks, Zetsubou. :)

Off to rewrite my code, now. *g*
by QotC
Sun Nov 22, 2015 8:50 pm
Forum: Ren'Py Questions and Announcements
Topic: Deep Copy? [Solved]
Replies: 4
Views: 1338

Re: Deep Copy?

Unfortunately, I'm unable to paste my actual code, but I'm handling stats mainly like this: Stat is a Class, defining XP, level, and methods for adjusting such. combat = Stat("Combat") magic = Stat("Magic") social = Stat("Social") baseStats = [combat, magic, social] Cla...
by QotC
Sun Nov 22, 2015 4:30 pm
Forum: Ren'Py Questions and Announcements
Topic: Deep Copy? [Solved]
Replies: 4
Views: 1338

Deep Copy? [Solved]

In the game I'm making, all of the players stats are objects of a Stat class so that each can track its own gains, losses, etc. So far so good, except that if I want to have a party of multiple characters, each with their own levels of stats and skills, I need a way to give them all an individual CO...
by QotC
Fri Jun 13, 2014 11:05 am
Forum: Ren'Py Questions and Announcements
Topic: Screen Tags
Replies: 2
Views: 566

Re: Screen Tags

I can only assume it's my computer glitching, then. Script-wise, that's 98% of all I had coded when I had the problem There was also: label start: jump choose_party return And two uncalled place-holding labels elsewhere. The only other context I can add is that I'm using the latest version of Renpy ...
by QotC
Fri Jun 13, 2014 12:00 am
Forum: Ren'Py Questions and Announcements
Topic: Screen Tags
Replies: 2
Views: 566

Screen Tags

What am I doing wrong? The manual says that showing a screen will replace another screen with the same tag, which is what I want; but when I run my code, both screens are showing simultaneously. screen choosePartyScreen: tag pineapple vbox xalign 0.0: text"Party Members: %d" % partyMembers...
by QotC
Tue Sep 20, 2011 1:34 am
Forum: Ren'Py Questions and Announcements
Topic: Buttons and Ui.interact [SOLVED]
Replies: 5
Views: 1009

Re: Buttons and Ui.interact [Partly Solved]

Aleema, I could kiss you! *smooch* It works! Thanks so much! :D
by QotC
Tue Sep 20, 2011 1:11 am
Forum: Ren'Py Questions and Announcements
Topic: Buttons and Ui.interact [SOLVED]
Replies: 5
Views: 1009

Re: Buttons and Ui.interact [Partly Solved]

Hm, no, renpy.restart_interaction() just gives me the "can't call None!" thingy again. :( As for how my game works; I'm not experienced enough to tell you *how* it's working, but what i'm trying to go for is a Room Escape; you click on items to pick them up, and navigate by arrows at the e...
by QotC
Tue Sep 20, 2011 12:45 am
Forum: Ren'Py Questions and Announcements
Topic: Adventure game framework
Replies: 10
Views: 1177

Re: Adventure game framework

If it's at all comforting, Anarchy, I'm still noobish myself and am still learning how and when to use Screen Language. ^_~ As such, someone else can field that one. :p (Personally, I have an easier time with the python bits, but only because that part of the manual is easier to copy/paste into my c...
by QotC
Mon Sep 19, 2011 11:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Buttons and Ui.interact [SOLVED]
Replies: 5
Views: 1009

Re: Buttons and Ui.interact

Okay, I finally got it to where it stopped crashing. I have it so Items only work with internal methods and variables. (For some reason, I am terrible at working with universal variables and methods.) if self.moved == False: ui.imagebutton(self.pic, self.pic, xpos = xpos, ypos = ypos, clicked = [sel...
by QotC
Mon Sep 19, 2011 10:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Adventure game framework
Replies: 10
Views: 1177

Re: Adventure game framework

Hey, that's kinda like what I'm doing! :D (current project is roomescape/dating sim) Want to join forces? I haven't gotten anything perfect yet, but I can tell you it's definitely plausible. Didn't think to use image map; I've been trying it with individual image buttons. ETA: For the record, here's...
by QotC
Sun Sep 18, 2011 11:41 pm
Forum: Ren'Py Questions and Announcements
Topic: Buttons and Ui.interact [SOLVED]
Replies: 5
Views: 1009

Buttons and Ui.interact [SOLVED]

Okay, I'm trying to make a game where you can pick up items by clicking on them -- basically an imagebutton that stops showing when clicked. However, when I click the item, my game crashes. According to the trace file, this has something to do with my $ui.interact() statement. Here's the trace: I'm ...
by QotC
Sat Aug 13, 2011 1:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Can't Add displayable during Init Phase? [SOLVED]
Replies: 2
Views: 889

Re: Can't Add displayable during Init Phase?

Hm, that make sense. :( Looks like I'll need to find another way, then.

ETA: Okay, I moved $key1 = Item("key.PNG", xalign = 0.5, yanchor = 0.0, ypos = 0.7) to a spot in one of the labels. It works, now! ^_^ Thanks, Pytom~!
by QotC
Fri Aug 12, 2011 11:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Can't Add displayable during Init Phase? [SOLVED]
Replies: 2
Views: 889

Can't Add displayable during Init Phase? [SOLVED]

I'm trying to make a class of imagebuttons, and thus have this code under init python: class Item: def __init__(self, pic, xpos=0, ypos=0, xanchor=0, yanchor=0, xalign=0, yalign=0, do = [None]): self.moved = False self.pic = pic self.xpos = xpos self.ypos = ypos self.xanchor = xanchor self.yanchor =...