Search found 560 matches
- Fri Apr 03, 2020 3:45 am
- Forum: Ren'Py Questions and Announcements
- Topic: config.mouse cursor change not always changing
- Replies: 3
- Views: 242
Re: config.mouse cursor change not always changing
Looks like it was working with layout menus (looong time ago). With screens it works like setting 'mouse' property for buttons/hotspots or like https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=37403#p404987 So the only way for it to work now is to add "mouse "imagemap"" on every button? Just c...
- Thu Apr 02, 2020 12:35 pm
- Forum: Ren'Py Questions and Announcements
- Topic: config.mouse cursor change not always changing
- Replies: 3
- Views: 242
config.mouse cursor change not always changing
Hello. Here's my code for having the mouse cursor change on hover...However, it's only working on buttons where I add "mouse 'imagemap'" to the end. define config.mouse = { "default": [('gui/cursor_big.png', 25, 25)], "menu": [('gui/cursor_small.png', 14, 14)], "mainmenu": [('gui/cursor_small.png', ...
- Tue Mar 31, 2020 12:09 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Phone pin number unlock puzzle
- Replies: 3
- Views: 346
Re: Phone pin number unlock puzzle
The error is using quotes in the action AddToSet("safenumber", "1"), while it should be AddToSet(safenumber, "1"). Ah damn. I tried it the other way around but didn't think to do it this way. Anyway, it works now :) I had to change the return code a little so it registered the correct input (I also...
- Tue Mar 31, 2020 6:47 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Phone pin number unlock puzzle
- Replies: 3
- Views: 346
[SOLVED] Phone pin number unlock puzzle
Hi all, I am trying to add a phone pin number unlock puzzle to my game. I plan on using it in a couple of places: with a phone and with a safe. Both images have a key pad and enter/ reset button, and will be unlocked with 4 digits. I looked at this thread about number password unlocks https://lemmas...
- Tue Mar 31, 2020 4:10 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Scrolling screen resetting after each dialogue
- Replies: 7
- Views: 601
Re: Scrolling screen resetting after each dialogue
...but I get an error "Exception: Possible infinite loop" when I try to load it. "show screen" solves the dialogue problem but appears to be causing this issue. How do I change my results to work with "show screen"?... label calendar_explore: show screen calendar_scroll $ result = _return The thing...
- Mon Mar 30, 2020 1:30 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Scrolling screen resetting after each dialogue
- Replies: 7
- Views: 601
Re: Scrolling screen resetting after each dialogue
you can to this instead I think see the loop that you might be having something this might help label calendar_explore: show screen calendar_scroll $ result = _return if result == "cal_dad": tm "Dad's birthday." call screen calendar_scroll or jump calendar_explore elif result == "cal_millie": tm "M...
- Mon Mar 30, 2020 10:14 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Scrolling screen resetting after each dialogue
- Replies: 7
- Views: 601
Re: Scrolling screen resetting after each dialogue
well you always can just put an image of the calendar and pretend the calendar there Thanks. I usually do this but because the calendar image is tall and scrollable, the co-ordinates are different each time. You need to store the values of the viewport adjustments. https://www.renpy.org/doc/html/sc...
- Fri Mar 27, 2020 12:04 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Scrolling screen resetting after each dialogue
- Replies: 7
- Views: 601
[SOLVED] Scrolling screen resetting after each dialogue
Hi all, I'm having a problem with a scrolling screen resetting the background image each time a button is clicked and dialogue plays. It's hard to explain, so I'll try to break it down... First off, this screen is a zoomed in calendar, with various dates that can be clicked on to find out more. It i...
- Thu Mar 26, 2020 12:48 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Drag and drop puzzle with multiple pieces
- Replies: 6
- Views: 746
Re: Drag and drop puzzle with multiple pieces
Oh wow, thank you Alex! I've implemented this with my 15 pieces and it works! :) There were just a couple of hiccups that I managed to fix. 1) The drop images initially display above the drag ones. To fix this, I just changed the order of the drag code in screens.rpy. 2) When I tested a couple of ti...
- Tue Mar 24, 2020 4:49 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Drag and drop puzzle with multiple pieces
- Replies: 6
- Views: 746
Re: Drag and drop puzzle with multiple pieces
Hm, you could cut your map on rectangles (like the red ones) to make draggable pieces. And also made a set of droppables - color the lands in all pieces the same color and leave some transparent canvas around. Then place those droppables at the right positions over the same color background. This s...
- Mon Mar 23, 2020 7:15 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Drag and drop puzzle with multiple pieces
- Replies: 6
- Views: 746
Re: Drag and drop puzzle with multiple pieces
This might help - https://lemmasoft.renai.us/forums/viewtopic.php?f=51&t=16151#p294340 Thanks Alex! This is a great resource. I've tried to back-track to the basics of the jigsaw puzzle. Here's my new code so far: Script.rpy: init python: def piece_dragged(drags, drop): if not drop: store.piecelist...
- Fri Mar 20, 2020 1:43 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Drag and drop puzzle with multiple pieces
- Replies: 6
- Views: 746
[SOLVED] Drag and drop puzzle with multiple pieces
Hi all, I have a drag and drop puzzle I want to add to my game with pieces of torn paper. There are 15 odd-shaped pieces that need to fit into a square. I was thinking I would make a draggroup for each and have it register when each piece is in position. What I have so far works but only for each pi...
- Mon Mar 09, 2020 5:42 am
- Forum: Ren'Py Questions and Announcements
- Topic: Button hover off?
- Replies: 4
- Views: 575
Re: Button hover off?
Any ideas on how to get this working?
- Fri Feb 28, 2020 7:15 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Possible to explore around a scene moving mouse to screen edge?
- Replies: 5
- Views: 449
Re: Possible to explore around a scene moving mouse to screen edge?
Having a look around the forums, I found a post that helped me: https://lemmasoft.renai.us/forums/viewtopic.php?t=34086 Here's my code. It works moving the mouse up or down, or if the mouse wheel is used :) Awesome! screen photograph_scroll: viewport id "photographs": align (0.5, 0.5) mousewheel Tru...
- Fri Feb 28, 2020 6:26 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Possible to explore around a scene moving mouse to screen edge?
- Replies: 5
- Views: 449
Re: Possible to explore around a scene moving mouse to screen edge?
I know you could do this with a custom Displayable, but that may be more work than necessary. What you could try is creating screen with a transparent image button at each edge of the screen and then attach an action to the button’s hovered that will adjust the offset of the background, so that whe...