Search found 9 matches

by Dylan
Mon Mar 14, 2016 1:39 pm
Forum: Ren'Py Questions and Announcements
Topic: Optimizing class to list & removing/adding class with button
Replies: 3
Views: 958

Re: Optimizing class to list & removing/adding class with bu

Thanks philat, everything seems to be working correctly now.
by Dylan
Sun Mar 13, 2016 9:45 pm
Forum: Ren'Py Questions and Announcements
Topic: Optimizing class to list & removing/adding class with button
Replies: 3
Views: 958

Re: Optimizing class to list & removing/adding class with bu

Alright, I just realized that I completely messing up the structure of the class and that all of the lists where inefficient after looking at "Money and Inventory Systems in Action" in the wiki so I moved them all to their own class. The code now looks something like this. init -1 python: ...
by Dylan
Sun Mar 13, 2016 5:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Optimizing class to list & removing/adding class with button
Replies: 3
Views: 958

Optimizing class to list & removing/adding class with button

Firstly I need help trying to optimize my code so that appending classes to lists doesn't require me to append every object to the class inside the variable. init -1 python: class project(renpy.store.object): def __init__(self, name, cost, description, used_for, result): self.name = "" sel...
by Dylan
Mon Sep 14, 2015 2:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Hovering on Buttons
Replies: 1
Views: 389

Re: Hovering on Buttons

If you haven't already checked, leon already made a thread that expalins how to use imagebuttons.

Here's the link: http://lemmasoft.renai.us/forums/viewto ... 51&t=22565
by Dylan
Wed Sep 02, 2015 9:28 pm
Forum: Ren'Py Questions and Announcements
Topic: %(money)d display in inventory
Replies: 8
Views: 2893

Re: %(money)d display in inventory

Thanks, didn't realize there was a difference since I was getting the same output.
Guess I need to re-read the documentation a bit more thoroughly.
by Dylan
Wed Sep 02, 2015 1:10 pm
Forum: Ren'Py Questions and Announcements
Topic: %(money)d display in inventory
Replies: 8
Views: 2893

Re: %(money)d display in inventory

Instead of writing $ in front of the variables instead type define so it looks something like this (borrowing your example mobychan): define items = ["apple", "phone"] define money = 0 ########## screen inv_screen: frame: vbox: text "Inventory: " text "You have %d&...
by Dylan
Tue Sep 01, 2015 8:28 am
Forum: We are a Free Project looking for Partners
Topic: [Yuri Game Jam] (letters of) Devotion - Team Search
Replies: 11
Views: 1934

Re: [Yuri Game Jam] (letters of) Devotion - Team Search

I can program for you if the position isn't taken.
I'm not an expert, but I'm good enough and reliable.
by Dylan
Tue Aug 04, 2015 3:02 pm
Forum: Ren'Py Questions and Announcements
Topic: Changing config.autosave_slots In Options.rpy
Replies: 3
Views: 425

Re: Changing config.autosave_slots In Options.rpy

Yeah, I'm stumped with this one. I tried editing the value directly from the config.py in the RenPy directory and deleted all of my persistent data to make sure it wasn't that and even tried changing the count variable for the autosave name but it just stays on 10. Can someone help here because I wa...
by Dylan
Tue Aug 04, 2015 6:44 am
Forum: Ren'Py Questions and Announcements
Topic: Changing config.autosave_slots In Options.rpy
Replies: 3
Views: 425

Re: Changing config.autosave_slots In Options.rpy

I'm not sure if this is what you want but you change the number of columns and rows in the save section of the screens.rpy file.

Code: Select all

          $ columns = 2
          $ rows = 5