Search found 52 matches

by DapNix
Sun Mar 01, 2015 5:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Player Perk Implementation [SOLVED]
Replies: 21
Views: 3062

Re: Player Perk Implementation [unsolved]

Oh my god, yes! Thank you so much philat! My perk screen is split into two parts, as soon as you enter the first screen I added the "$ renpy.retain_after_load()" and now, if I just leave the screen and save/load, the values are saved! Bunch of thanks to both of you for sticking with me on ...
by DapNix
Sun Mar 01, 2015 5:35 pm
Forum: Ren'Py Questions and Announcements
Topic: Player Perk Implementation [SOLVED]
Replies: 21
Views: 3062

Re: Player Perk Implementation [unsolved]

Guys, I think you are now allowed to bring out your Dummy-Clubs and hit me as hard as you can.

I thought I could simply click the button and then save/load. But you have to progress dialogue by clicking before saving... Is there a way to make it so that this isn't necessary though?
by DapNix
Sun Mar 01, 2015 4:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Player Perk Implementation [SOLVED]
Replies: 21
Views: 3062

Re: Player Perk Implementation [unsolved]

Yeah, I can run it like that too without any problems. For some reason it only screws up when I try to apply it from a screen. Just writing $Atk1.upgrade(player) regularly in the code works fine. But in my screen where you buy perks you click a textbutton that does: vbox align (.2, .47): textbutton ...
by DapNix
Sun Mar 01, 2015 4:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Player Perk Implementation [SOLVED]
Replies: 21
Views: 3062

Re: Player Perk Implementation [unsolved]

All perks, fighters and skills are created in the start label, not an init: block.

Could the error lie in the fact that the perks are applied from a screen?
by DapNix
Sun Mar 01, 2015 4:08 pm
Forum: Ren'Py Questions and Announcements
Topic: Player Perk Implementation [SOLVED]
Replies: 21
Views: 3062

Re: Player Perk Implementation [unsolved]

Ran into an error and decided to update this one rather than make a new post. class Perk(): def __init__(self, name, description, cp_cost=0, is_Atk=0, is_Hp=0, is_Sp=0, is_critChance=0, is_Skill=0, is_Perk=0, effect=0, purchased=0): self.name = name self.description = description self.cp_cost = cp_c...
by DapNix
Sun Mar 01, 2015 8:12 am
Forum: Ren'Py Questions and Announcements
Topic: Imagemaps should have same size but don't [SOLVED]
Replies: 3
Views: 645

Re: Imagemaps should have same size but don't

I did that just now, and it worked! Thank you so much I've been stuck on this issue for days now...

If possible, could you enlighten me as to how this problem happens?
by DapNix
Sat Feb 28, 2015 11:04 pm
Forum: Ren'Py Questions and Announcements
Topic: Imagemaps should have same size but don't [SOLVED]
Replies: 3
Views: 645

Imagemaps should have same size but don't [SOLVED]

All of my imagemaps are set to be 90 by 90 pixels in size, but for some reason this happens: http://puu.sh/ghg5g/028d50d3e9.jpg The distorted areas are the hotspots and for some reason, some of them split off into separate boxes, the one in the bottom left only has half of its supposed x-size. I fee...
by DapNix
Sat Feb 28, 2015 8:38 am
Forum: Ren'Py Questions and Announcements
Topic: How does one delete a project?
Replies: 3
Views: 4338

Re: How does one delete a project?

If all you want to do is delete a project, locate the directory and delete it as you would any other file on a computer.
by DapNix
Sat Feb 28, 2015 8:34 am
Forum: Ren'Py Questions and Announcements
Topic: ... the game can't launch?
Replies: 5
Views: 976

Re: ... the game can't launch?

It's possible that your code has run into a fatal error if your game doesn't even pop-up when you click it in the launcher. Try clicking the "Delete Persistent" button in the ren'py launcher once you've selected your project, if what I said is true you should get an error message.
by DapNix
Fri Feb 27, 2015 2:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Player Perk Implementation [SOLVED]
Replies: 21
Views: 3062

Re: Player Perk Implementation [SOLVED]

No need to worry about that, I've added a variable to the perk class called "is_Stat", where the stats such as flat HP and power are labeled as is_Stat and are applied permanently, whereas other perks with gameplay-changing effects are simply applied as perks which are then checked later :)
by DapNix
Fri Feb 27, 2015 11:55 am
Forum: Ren'Py Questions and Announcements
Topic: Imagemap Problem
Replies: 5
Views: 959

Re: Imagemap Problem

I might be having something similar at the moment, for some reasons my imagemaps re-shape themselves (I can't really describe it) Here's a screenshot of how it looks http://puu.sh/geZM2/7eafe598b6.jpg The areas that I've marked with red circles are the imagemaps. However, all of them should have the...
by DapNix
Wed Feb 25, 2015 4:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Player Perk Implementation [SOLVED]
Replies: 21
Views: 3062

Re: Player Perk Implementation

I'm just going to be completely honest here and say: Even if this solution doesn't work, I appreciate the fact that you just taught me a bunch of stuff. I'm still obviously in learning so any advice like this is strongly appreciated :) I was thinking of making a class the way you said it: "if p...
by DapNix
Wed Feb 25, 2015 4:01 pm
Forum: Ren'Py Questions and Announcements
Topic: Player Perk Implementation [SOLVED]
Replies: 21
Views: 3062

Re: Player Perk Implementation

I figured you didn't need to know how the battle system works. I'll try to show some code: class Fighter(object): def __init__(self, name, roles=[], perks=[], image=None, status_avatar=None, max_hp=0, max_sp=0, max_mp=0, max_spirit=0, skills=[], level=1, power=0, defense=0, hit=0, evasion=0, speed=0...
by DapNix
Wed Feb 25, 2015 2:17 pm
Forum: Ren'Py Questions and Announcements
Topic: Player Perk Implementation [SOLVED]
Replies: 21
Views: 3062

Player Perk Implementation [SOLVED]

It's me again, the guy who's asked about 50 questions on menus and such the last few days. :) This looks like it'll be the last time though, because my special menu is almost done! Last thing I need help with, is there a way to make a screen action that runs a function? I'll attach screenshots along...
by DapNix
Tue Feb 24, 2015 12:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Disabling textbuttons [SOLVED]
Replies: 12
Views: 6831

Re: Disabling textbuttons [unsolved]

To be honest philat, that is exactly how I have my system setup :D class Skill(object): def __init__(self, name, base_power, type, sp_cost=0, elements=[]): self.name = name self.base_power = base_power self.type = type self.sp_cost = sp_cost self.elements = elements Switching the code from Sensitive...