Search found 102 matches
- Wed May 24, 2017 12:13 am
- Forum: Ren'Py Questions and Announcements
- Topic: Simulate a mouse click
- Replies: 19
- Views: 1909
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....
- Tue May 23, 2017 11:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Simulate a mouse click
- Replies: 19
- Views: 1909
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 ...
- Tue May 23, 2017 11:17 pm
- Forum: Asset Creation: Art
- Topic: Should I start commissioning or learning how to draw?
- Replies: 4
- Views: 1475
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 ...
- Tue May 23, 2017 11:03 pm
- Forum: Creator Discussion
- Topic: Should I start commissioning or learning how to draw?
- Replies: 13
- Views: 1721
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 ...
- Tue May 23, 2017 10:33 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Simulate a mouse click
- Replies: 19
- Views: 1909
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.
- Tue May 23, 2017 9:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Simulate a mouse click
- Replies: 19
- Views: 1909
Simulate a mouse click
Is there any way to simulate a single mouse click?
- Mon May 22, 2017 11:42 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Simple interpolation question
- Replies: 5
- Views: 621
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...
- Mon May 22, 2017 9:32 pm
- Forum: Creator Discussion
- Topic: Imagemaps or Imagebuttons?
- Replies: 3
- Views: 1524
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 ...
- Mon May 22, 2017 5:37 pm
- Forum: Ren'Py Questions and Announcements
- Topic: How to call a function?
- Replies: 1
- Views: 281
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...
- Mon May 22, 2017 2:40 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to set up a teleporting map.
- Replies: 2
- Views: 380
Re: Trying to set up a teleporting map.
Hiding all my screens fixed both problems. Thanks!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?
- 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: 1831
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?
- Mon May 22, 2017 1:36 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Trying to set up a teleporting map.
- Replies: 2
- Views: 380
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...
- Mon May 22, 2017 12:12 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Simple interpolation question
- Replies: 5
- Views: 621
Re: Simple interpolation question
Cool thanks!Ocelot wrote:https://www.renpy.org/doc/html/label.ht ... -statementSo: jump expression locationIf 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.
- Mon May 22, 2017 12:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Simple interpolation question
- Replies: 5
- Views: 621
Simple interpolation question
I always get confused with interpolation. Lets say I have a variable name location. init python: location = 'bedroom' and I have a couple of labels label homeroom: scene homeroom $ location = 'homeroom' label hallwayOne: scene hallwayOne $ location = "hallwayOne" label englishClassroom: scene englis...
- Sun May 21, 2017 10:30 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to have dialogue in a screen.
- Replies: 3
- Views: 567
Re: How to have dialogue in a screen.
If you mean to show the screen at the same time as the dialogue, then use "show screen" instead of "call screen". show screen GirlFellOver Set "modal" to "True" so player won't continue until imagebutton is clicked. Since we show the screen instead of call, don't forget to hide the screen once it n...