Search found 38 matches

by Chekhov
Fri Feb 15, 2019 6:15 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] What is the difference between (show / renpy.show) and (add)?
Replies: 4
Views: 110

Re: [Solved] What is the difference between (show / renpy.show) and (add)?

Maybe some explanation can be useful. You're a gent and a scholar. I was able to learn quite a bit from the tutorial; I hadn't grasped the significance of screen language being something seperate and it actually answered quite a few questions I had. You ended up filling some more blanks here. If an...
by Chekhov
Thu Feb 14, 2019 1:56 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] What is the difference between (show / renpy.show) and (add)?
Replies: 4
Views: 110

Re: What is the difference between (show / renpy.show) and (add)?

philat wrote:
Thu Feb 14, 2019 12:54 am
One is screen language, the other is a renpy statement/python statement.
Thank you, Philat.
by Chekhov
Thu Feb 14, 2019 12:33 am
Forum: Ren'Py Questions and Announcements
Topic: [Solved] What is the difference between (show / renpy.show) and (add)?
Replies: 4
Views: 110

[Solved] What is the difference between (show / renpy.show) and (add)?

When I read what "add" does it seems synonymous to what "show" does. Is there a difference and are they two different ways to show an image in renpy or are they the same way to show an image, only with different syntax? Add documentation: https://www.renpy.org/doc/html/screens.html#add Show document...
by Chekhov
Wed Feb 06, 2019 11:46 pm
Forum: Ren'Py Questions and Announcements
Topic: Cropping an image repositions it? Why?
Replies: 5
Views: 141

Re: How does the cropping work exactly? Can't seem to figure it out.

Okay, so I'm getting closer to a solution. After much work, I've got a health bar that can be shown for the amount of health that is left. However for some strange reason, it repositions the image. label update_hud: $ health_float = (float(Player.health) / max_health) * 300 $ health_int = int(health...
by Chekhov
Wed Feb 06, 2019 5:23 pm
Forum: Ren'Py Questions and Announcements
Topic: Cropping an image repositions it? Why?
Replies: 5
Views: 141

Re: How does the cropping work exactly? Can't seem to figure it out.

Thanks Rames44.

I think I can figure it out now.
by Chekhov
Mon Feb 04, 2019 8:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Cropping an image repositions it? Why?
Replies: 5
Views: 141

Cropping an image repositions it? Why?

I'm trying to build my own health bar and it's not working out. This is a test version. The images used are 50 pixels height and 300 pixels width. I'm using xbar and ybar so that I can reposition a lot of different elements together. The intention was to use crop to hide part of the colored "bar hea...
by Chekhov
Sat Jan 12, 2019 8:06 am
Forum: Ren'Py Questions and Announcements
Topic: Learn Ren'py by using finished code. Bad Idea?
Replies: 4
Views: 194

Re: Learn Ren'py by using finished code. Bad Idea?

The one practice that helped develop my coding more than anything is top try and not think of any game as "one big project", but instead like a million lego's that fit together correctly. This also helps if the whole thing falls down (bugs and such), because you can break apart each piece and analys...
by Chekhov
Wed Dec 19, 2018 7:17 pm
Forum: Ren'Py Questions and Announcements
Topic: How to show Image Hover, but not as button (imagemap)
Replies: 2
Views: 100

Re: How to show Image Hover, but not as button (imagemap)

It's a bit of a dirty workaround, but I find that when I want to make menu-items that don't do anything (besides auxillery functions as being there), I simply give them a "jump (begin-of-menu)" label. In this case that would be jump infra It depends on a couple of other factors whether that would wo...
by Chekhov
Wed Dec 19, 2018 6:52 pm
Forum: Ren'Py Questions and Announcements
Topic: How to play sounds as part of a python class / method?
Replies: 1
Views: 72

How to play sounds as part of a python class / method?

This is a bit of a recurring problem that I run into. Sometimes I want certain actions controlled by a python defined class and its methods. For example, there is a class of Strength. And it has a method of Strength.increase(x) so that I can update what kind of visual effects happen when you increas...
by Chekhov
Thu Nov 22, 2018 12:26 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Logic functions
Replies: 9
Views: 227

Re: Logic functions

My current metod is written below, but I can't really use it for more complex functions:
More complex like what?
by Chekhov
Thu Nov 22, 2018 9:46 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] I can't figure out what "from" does after a call command
Replies: 4
Views: 155

Re: [SOLVED] I can't figure out what "from" does after a call command

Thank you Imperf3kt, you just saved me days of worrying about it.
by Chekhov
Thu Nov 22, 2018 5:39 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] I can't figure out what "from" does after a call command
Replies: 4
Views: 155

[SOLVED] I can't figure out what "from" does after a call command

So I'm going through some old code I've written and at some point I changed a simple call into a call that includes a from. I have no idea what this does or why I did that. The page about "call" seems to have no documentation about it: https://www.renpy.org/doc/html/label.html call happyday from _ha...
by Chekhov
Fri Aug 24, 2018 9:34 pm
Forum: Ren'Py Questions and Announcements
Topic: Can I run scripts with init python: again?
Replies: 1
Views: 92

Can I run scripts with init python: again?

So I've build a pretty big list that I run at the start of the game. It's not just creating classes, it's also setting them to the game-start values. This means that if a game is quit and a new one is started, they don't have the proper game start values. Because the init python: part of the code se...
by Chekhov
Thu Aug 16, 2018 9:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [Solved] Conditional menu option not working as intended
Replies: 3
Views: 109

Re: [Solved] Conditional menu option not working as intended

That fixes it. Thanks. I always have difficulty getting those details right.