Search found 104 matches

by LiveTurkey
Wed May 24, 2017 4:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Simulate a mouse click
Replies: 19
Views: 1404

Re: Simulate a mouse click

But I feel like there are larger problems with your screen design that should be addressed. I would like to see the *entire* screen definition with annotations of what you want each section to do, to maybe help you end up with something that will work better, more elegantly, and not cause unexpecte...
by LiveTurkey
Wed May 24, 2017 10:06 am
Forum: Ren'Py Questions and Announcements
Topic: Simulate a mouse click
Replies: 19
Views: 1404

Re: Simulate a mouse click

That isn't the full screen code it doesn't seem...and there seems to be strangeness with your indentation. Could you post the entire screen code? I want to know if it is modal and the other details of it. That's pretty much the whole screen code. It isn't modal or anything. Anyway, If you only plan...
by LiveTurkey
Wed May 24, 2017 12:13 am
Forum: Ren'Py Questions and Announcements
Topic: Simulate a mouse click
Replies: 19
Views: 1404

Re: Simulate a mouse click

What does your screen backpack look like? Do you plan on having the user only press one button on that screen? If there are any functions you have attached to that screen, what are those functions? My backpack screen is pretty simple It's mostly just this Imagebutton: idle "backgrounds/transparent....
by LiveTurkey
Tue May 23, 2017 11:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Simulate a mouse click
Replies: 19
Views: 1404

Re: Simulate a mouse click

What triggers the text to advance? Does it advance after a certain amount of time? After something happens? Well here's the whole problem. I have this code. It's to give a character an item from your backpack. However there's a weird bug. label give: show screen backpack $ renpy.pause() #correctly ...
by LiveTurkey
Tue May 23, 2017 11:17 pm
Forum: Asset Creation: Art
Topic: Should I start commissioning or learning how to draw?
Replies: 4
Views: 1266

Should I start commissioning or learning how to draw?

I'm working on a Visual Novel and have decided to complete the coding/ writing aspects first. I'm making decent progress on those two fronts so the necessity for art is starting to increase. Right now I have to choose whether I want to go down the path of commissions or go down the path of learning ...
by LiveTurkey
Tue May 23, 2017 11:03 pm
Forum: Creator Discussion
Topic: Should I start commissioning or learning how to draw?
Replies: 13
Views: 1447

Should I start commissioning or learning how to draw?

I'm working on a Visual Novel and have decided to complete the coding/ writing aspects first. I'm making decent progress on those two fronts so the necessity for art is starting to increase. Right now I have to choose whether I want to go down the path of commissions or go down the path of learning ...
by LiveTurkey
Tue May 23, 2017 10:33 pm
Forum: Ren'Py Questions and Announcements
Topic: Simulate a mouse click
Replies: 19
Views: 1404

Re: Simulate a mouse click

trooper6 wrote:Can you give more context of what you want to do and why you want to do it?

Mouse click to do what? Advance text? Press a button?

Yeah advance text. Not simulate a button.
by LiveTurkey
Tue May 23, 2017 9:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Simulate a mouse click
Replies: 19
Views: 1404

Simulate a mouse click

Is there any way to simulate a single mouse click?
by LiveTurkey
Mon May 22, 2017 11:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Simple interpolation question
Replies: 5
Views: 526

Re: Simple interpolation question

I always get confused with interpolation. Lets say I have a variable name location. init python: location = 'bedroom' Please note: Current best practices is to declare your variables using default rather than in an init python block. so this: default location = 'bedroom' rather than this: init pyth...
by LiveTurkey
Mon May 22, 2017 9:32 pm
Forum: Creator Discussion
Topic: Imagemaps or Imagebuttons?
Replies: 3
Views: 970

Imagemaps or Imagebuttons?

Which do you guys prefer? Does it make a difference? At first I started building my game using image maps. That way the game is much smaller since you only need two images per scene. The ground and the hover. However imagebuttons do seem to provide more flexibility, especially if you plan on adding ...
by LiveTurkey
Mon May 22, 2017 5:37 pm
Forum: Ren'Py Questions and Announcements
Topic: How to call a function?
Replies: 1
Views: 242

How to call a function?

I know this is a very simple question but I tried searching around and I couldn't find the answer. I have a function: init python: def hideScreens(): renpy.hide_screen("homeroomOptions") renpy.hide_screen("hallwayOneOptions") renpy.hide_screen("englishClassroomOptions") renpy.hide_screen("map") I kn...
by LiveTurkey
Mon May 22, 2017 2:40 pm
Forum: Ren'Py Questions and Announcements
Topic: Trying to set up a teleporting map.
Replies: 2
Views: 325

Re: Trying to set up a teleporting map.

trooper6 wrote:
LiveTurkey wrote: Yes, when you show a screen, unless you hide it, it stays showing. So the easy answer is to just hide your screens when you leave the location. Why aren't you doing that?
Hiding all my screens fixed both problems. Thanks!
by LiveTurkey
Mon May 22, 2017 2:22 pm
Forum: Asset Creation: Art
Topic: Just how awful is it to use stylized photos for bgs?
Replies: 6
Views: 1636

Re: Just how awful is it to use stylized photos for bgs?

Wow that is an amazing tutorial. How do you find resources like that?
by LiveTurkey
Mon May 22, 2017 1:36 pm
Forum: Ren'Py Questions and Announcements
Topic: Trying to set up a teleporting map.
Replies: 2
Views: 325

Trying to set up a teleporting map.

I am trying to set up a map where when the player clicks on a location, they will be moved there. Here is the map code. screen map: imagebutton: idle "backgrounds/transparent.png" action [Hide ("map")] imagemap: ground "backgrounds/mapGround.png" idle "backgrounds/mapGround.png" hover "backgrounds/m...
by LiveTurkey
Mon May 22, 2017 12:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Simple interpolation question
Replies: 5
Views: 526

Re: Simple interpolation question

Ocelot wrote:https://www.renpy.org/doc/html/label.ht ... -statement
If the expression keyword is present, the expression following it is evaluated, and the string so computed is used as the label name of the statement to jump to.
So: jump expression location
Cool thanks!