Search found 786 matches

by kivik
Thu Sep 01, 2016 12:54 pm
Forum: Ren'Py Questions and Announcements
Topic: How to show a variable?
Replies: 7
Views: 866

Re: How to show a variable?

Try show text "you have [gold] gold." at truecenter https://www.renpy.org/doc/html/text.html#interpolating-data It works but it doesn't update, so when the variable changes the number stays the same. Have you tried the link I posted? Screens get updated per interaction so the number will update con...
by kivik
Thu Sep 01, 2016 12:53 pm
Forum: Ren'Py Questions and Announcements
Topic: Panning the scene
Replies: 2
Views: 742

Re: Panning the scene

I'm a bit confused by the last bit re: Lena moving to the left when bg moves to the right - I thought you want them to move in the same direction to create the camera move effect? If you wanted to do a camera pan effect with the background and the character lined up together, the easiest thing is pr...
by kivik
Thu Sep 01, 2016 5:09 am
Forum: Ren'Py Questions and Announcements
Topic: How to show a variable?
Replies: 7
Views: 866

Re: How to show a variable?

You're better off creating a screen and putting the variable in there.

Try this link instead which seems more relevant:

https://www.renpy.org/wiki/renpy/doc/co ... ion_Screen
by kivik
Thu Sep 01, 2016 2:53 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Can You Trigger Flags for Multiple Things?
Replies: 16
Views: 2734

Re: Can You Trigger Flags for Multiple Things?

I may not have understood the problem completely, but can you not put the menu choices within a label block and just call it each time the player needs to make the choices? label player_choices: "What do you want to do?" menu: "Search": $ search += 1 "Fight": $ fight += 1 "Train": $ train += 1 retur...
by kivik
Wed Aug 31, 2016 12:13 pm
Forum: Ren'Py Questions and Announcements
Topic: How to get the current position of an image?
Replies: 5
Views: 12594

Re: How to get the current position of an image?

Given the context, I wonder if xoffset and yoffset could solve it without having to math your way out?

Documentation is here:

https://www.renpy.org/doc/html/atl.html ... ty-xoffset
by kivik
Wed Aug 31, 2016 12:10 pm
Forum: Ren'Py Questions and Announcements
Topic: Floating text effect
Replies: 7
Views: 1182

Re: Floating text effect

All you need is the renpy.notify function, that is what it is there for! https://www.renpy.org/doc/html/other.html#renpy.notify Hehe, simple solutions to complex problems! Although I'm sticking to my ParameterizedText purely to allow more control over the colour and animations. You can customize co...
by kivik
Wed Aug 31, 2016 11:58 am
Forum: Ren'Py Questions and Announcements
Topic: Floating text effect
Replies: 7
Views: 1182

Re: Floating text effect

All you need is the renpy.notify function, that is what it is there for! https://www.renpy.org/doc/html/other.html#renpy.notify Hehe, simple solutions to complex problems! Although I'm sticking to my ParameterizedText purely to allow more control over the colour and animations. I also realised I wa...
by kivik
Wed Aug 31, 2016 9:58 am
Forum: Ren'Py Questions and Announcements
Topic: Floating text effect
Replies: 7
Views: 1182

Re: Floating text effect

Thanks gas! I kept coming across that in my google search but the lack of sample code made me think it wasn't the right way. Having searched specifically for it, I seem to be getting a little closer: I managed to get it to show the number, but I can't seem to apply transforms to it to fade it out. D...
by kivik
Wed Aug 31, 2016 2:34 am
Forum: Ren'Py Questions and Announcements
Topic: Menu delay before action
Replies: 2
Views: 826

Re: Menu delay before action

Not 100% sure if this one is for quit, but you can define transitions used during certain situations via config variables: https://www.renpy.org/doc/html/config.html#var-config.exit_transition exit_transition says when exiting game menu - I'm not sure if that's the same as quit, or whether it's invo...
by kivik
Tue Aug 30, 2016 7:06 pm
Forum: Ren'Py Questions and Announcements
Topic: config.tag_layer not working with show expression
Replies: 4
Views: 517

Re: config.tag_layer not working with show expression

Ah I didn't know about the as image_tag part of the expression, although having just added it, I'm still not having any luck - the images still seem to be created on the master layer: label fog(fog_type, transition = dissolve): $_level = "" if persistent.performance == "low": $_level = " low" if fog...
by kivik
Tue Aug 30, 2016 5:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Getting rid of the Yes/No prompt screen [UNSOLVED]
Replies: 3
Views: 679

Re: Getting rid of the Yes/No prompt screen

Have you tried testing other possible values for message? https://www.renpy.org/doc/html/screen_special.html#confirm The message to display to the user. This is one of: layout.ARE_YOU_SURE - "Are you sure?" This should be the default if the message is unknown. layout.DELETE_SAVE - "Are you sure you ...
by kivik
Tue Aug 30, 2016 5:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Menu choice not working correctly.
Replies: 15
Views: 1119

Re: Menu choice not working correctly.

Sorry I didn't assert that you'd have to use different values for the variant dicts. When you say sheets do you mean sprites? If so there's the Sprite class that you can use as well: https://www.renpy.org/doc/html/sprites.html I don't know what you're holding inside the dicts so can't really help wi...
by kivik
Tue Aug 30, 2016 2:54 pm
Forum: Ren'Py Questions and Announcements
Topic: Floating text effect
Replies: 7
Views: 1182

Floating text effect

So I'd like to create a floating number effect during certain situations like battles, like this: http://imgur.com/0UdGRtz I'm scratching my head a little bit... I tried creating a screen with the text, and calling it via: $renpy.transition(Dissolve(3.0)) $renpy.show_screen("floating_numbers") $renp...
by kivik
Tue Aug 30, 2016 2:08 pm
Forum: Ren'Py Questions and Announcements
Topic: config.tag_layer not working with show expression
Replies: 4
Views: 517

config.tag_layer not working with show expression

I was reading through the changelogs and found the config.tag_layer feature, I thought it's an amazing idea and feature and decided to try it out! It was working fine for me initially, until I started needing more flexible show statements and had to resort to some show expression statements - and th...