Search found 96 matches

by UselessCoder
Sun Jul 17, 2016 1:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Imagebutton "flashing" on hover...
Replies: 4
Views: 611

[SOLVED] Imagebutton "flashing" on hover...

Hi, I've tried two different approaches with imagebuttons. in the first one I've created a "fixed position" imagebutton (both idle and hover), meaning that I've just created full screen .PNGs to avoid positioning them: "idle" is a landmark; "hover" is the landmark + the...
by UselessCoder
Sun Jul 17, 2016 5:37 am
Forum: Ren'Py Questions and Announcements
Topic: Writing a function for dolls...
Replies: 1
Views: 225

Re: Writing a function for dolls...

I'm thinking about writing a function based on ConditionSwitch for changing clothes type and color -given certain conditions- and then showing a screen including that function through an "add DynamicDisplayable"... :roll:
by UselessCoder
Sat Jul 16, 2016 3:06 pm
Forum: Ren'Py Questions and Announcements
Topic: Writing a function for dolls...
Replies: 1
Views: 225

Writing a function for dolls...

Hi, I'm trying to write a very nasty-nested (lol) function to display character dolls. I'd like to show dolls according to the following format: show "who"(Eileen, Tom, Wtf)+"face"(neutral, happy, angry)+"gesture"(neutral, ok, point) so for instance: show Eileen (as for...
by UselessCoder
Sat Jul 16, 2016 11:46 am
Forum: Ren'Py Cookbook
Topic: Inventory Screen
Replies: 100
Views: 101872

Re: Inventory Screen

First of all, thanks for posting this demo. It was very useful to play around with it. Now on with a little issue I had while "playing" with it. I didn't like the "next page" behaviour, more specifically I didn't like that it kept on cycling between pages without even changing it...
by UselessCoder
Fri Jul 15, 2016 10:37 am
Forum: We are a Free Project looking for Partners
Topic: Free Project looking for contributors.
Replies: 5
Views: 788

Re: Free Project looking for contributors.

Technically, I know "why" and part of the "how". The thing is, the player has to be forced into trust his judgment and at the same time, the plot shouldn't force him to take sides too early in the game...Even if he's actually taking sides by making certain calls. It's like he sho...
by UselessCoder
Fri Jul 15, 2016 9:09 am
Forum: We are a Free Project looking for Partners
Topic: Free Project looking for contributors.
Replies: 5
Views: 788

Re: Free Project looking for contributors.

'Ello, may I apply for Writer? I can proofread and write, and I applied for the same position in other jobs, 'cause I love multi-tasking. <3 I hope you accept my offer. I use Github as well :D ..and I actually just started it. Lol. But I do have writing and a bit of a programming experience, but I ...
by UselessCoder
Fri Jul 15, 2016 6:58 am
Forum: We are a Free Project looking for Partners
Topic: Free Project looking for contributors.
Replies: 5
Views: 788

Free Project looking for contributors.

Hi, First of all you will excuse me if -due to its "+18 nature"- I won't mention the name of the project. It is a very ambitious one (or at least, it is for me) meant to be released in chapters and It's halfway in between a parody of a very popular scifi movie and a spin-off from that movi...
by UselessCoder
Sat Jul 09, 2016 3:38 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton checks variable and jumps to label
Replies: 11
Views: 2238

Re: imagebutton checks variable and jumps to label

The If action behaves like an if...else expression. if condition == True: # do this action else: # do this action When you click on the imagebutton, Renn'Py runs the If action, which checks the expression you have provided is true or not. If the expression returns True, it runs the 'true' action, o...
by UselessCoder
Sat Jul 09, 2016 3:24 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton checks variable and jumps to label
Replies: 11
Views: 2238

Re: imagebutton checks variable and jumps to label

It didn't ignore anything. Ren'Py first evaluated the expression and based on if the evaluated expression was true or false, it ran the associated action. I'm a little confused...The associated actions were two, and it just ran one. But then again...associated to what? it only worked when I followe...
by UselessCoder
Sat Jul 09, 2016 3:06 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton checks variable and jumps to label
Replies: 11
Views: 2238

Re: imagebutton checks variable and jumps to label

from_pol shouldn't be inside quotes. If(from_pol, true=Jump('pol_intro'), false=Jump('travel_pol')) :facepalm: Thanks! That perfectly works, now! Just for the sake of learning: It seems like it just ignored the first parameter (expression) and executed the first (true) only. Why didn't I get any sy...
by UselessCoder
Sat Jul 09, 2016 2:57 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton checks variable and jumps to label
Replies: 11
Views: 2238

Re: imagebutton checks variable and jumps to label

Yup. That's it. :) Argh! I wrote it like this: imagebutton idle "pol_idle" hover "pol_hover" xpos 0 ypos 0 focus_mask True action If ('from_pol', true= Jump ('pol_intro'), false= Jump ('travel_pol')) And it doesn't seem to jump to label 'travel_pol', like ever...I've also checke...
by UselessCoder
Sat Jul 09, 2016 2:28 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton checks variable and jumps to label
Replies: 11
Views: 2238

Re: imagebutton checks variable and jumps to label

DragoonHP wrote:Youu want to use the If action > https://www.renpy.org/doc/html/screen_actions.html#If
Thanks for your answer DragoonHP...

...Really? so if I write like:

Code: Select all

If(from_home, true=Action Jump X, false=Action Jump Y)
the imagebutton would automatically know which label to jump to? :D
by UselessCoder
Sat Jul 09, 2016 10:13 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED]imagebutton checks variable and jumps to label
Replies: 11
Views: 2238

[SOLVED]imagebutton checks variable and jumps to label

Hi, I've tried to implement a "travelling" feature based on variables. The travelling "cutscene" it's nothing but a label informing the player that he's...well, "travelling". lol every location is set like: label HOME: $from_home = True $from_office = False the map is b...
by UselessCoder
Mon Jul 04, 2016 2:52 pm
Forum: Ren'Py Questions and Announcements
Topic: Character line displayed inside of a screen?
Replies: 15
Views: 1160

Re: Character line displayed inside of a screen?

namastaii wrote:Yeah. I mean go for it if you desire XD
uhm...on second thought there must be an action to hide that screen anyway...So no way. for now. lol
by UselessCoder
Mon Jul 04, 2016 2:47 pm
Forum: Ren'Py Questions and Announcements
Topic: Character line displayed inside of a screen?
Replies: 15
Views: 1160

Re: Character line displayed inside of a screen?

I mean, it could be possible with a lot of imagination haha if you really REALLY want it. Yup...lol And having side images for any of my characters doesn't make it any easier...I mean I could also try to make a whole new screen for that. I could put together an image by merging the textbox, the tex...