Search found 746 matches

by Per K Grok
Sun Aug 09, 2020 2:57 pm
Forum: Ren'Py Questions and Announcements
Topic: How to wait a certain amount of time before a button can be clicked
Replies: 1
Views: 198

Re: How to wait a certain amount of time before a button can be clicked

I have an imagebutton with an animation and I want to be able to wait for the animation to finish before allowing the user to click off of it. I thought about just adding the image not as a button and returning from the screen on a timer but then the image goes away automatically without the user c...
by Per K Grok
Sun Aug 09, 2020 2:37 pm
Forum: Ren'Py Questions and Announcements
Topic: Text Formatting: Line Breaks
Replies: 3
Views: 191

Re: Text Formatting: Line Breaks

Hello! I'm a new Ren'Py user. I have a few questions relating to text space and formatting. Is there a way to show dialogue statements in a single window? In the example below, those lines would appear in separate boxes. How do I make them appear together? you "What's up?" me "Not much!" How do I m...
by Per K Grok
Sun Aug 09, 2020 2:25 pm
Forum: Ren'Py Questions and Announcements
Topic: If Statements With Variables
Replies: 2
Views: 195

Re: If Statements With Variables

I'm still learning the Ren'Py and Python syntax. Here's what I'm struggling to do currently. I want to use an IF statement to check what a variable equals. I tried variations on the example below, but I wouldn't figure out how to make it work. Also, is there a good overview somewhere on working wit...
by Per K Grok
Mon Aug 03, 2020 7:01 am
Forum: Demos & Beta Testing
Topic: Yuma the Jungle Girl [closed]
Replies: 1
Views: 250

Re: Yuma the Jungle Girl [closed]

The game is now published and can be downloaded here
https://per-k-grok.itch.io/yuma-the-jungle-girl
by Per K Grok
Sun Aug 02, 2020 4:27 pm
Forum: Ren'Py Questions and Announcements
Topic: Tooltip appear over imagebutton
Replies: 4
Views: 276

Re: Tooltip appear over imagebutton

Thank you Per! This is sort of working. The toolip now only appears above the left most button no matter which button is being hovered over. https://i.imgur.com/9vGTpim.png (The blue circle is the one I was hovering over, I couldn't get a screenshot with my mouse in it.) That's strange. It worked f...
by Per K Grok
Sun Aug 02, 2020 5:54 am
Forum: Ren'Py Questions and Announcements
Topic: Tooltip appear over imagebutton
Replies: 4
Views: 276

Re: Tooltip appear over imagebutton

Hello! I'm testing out the functionality of tooltips and want their text to appear above the button that holds that tooltip. Currently the tooltip appears in the top left corner of the screen. I thought it would take on the positioning of the vbox that contained it, but that doesn't appear to be th...
by Per K Grok
Thu Jul 30, 2020 4:36 am
Forum: Ren'Py Questions and Announcements
Topic: Trouble subtracting variables
Replies: 2
Views: 244

Re: Trouble subtracting variables

I have this: $ rand_maya_hit = ([('5',0.25),('7',0.60),('9',0.15)]) $ mom_hp - rand_maya_hit which should randomly subtract one of three numbers from 'mom_hp', but i get this: TypeError: unsupported operand type(s) for -: 'unicode' and 'unicode' If I try '-=' rather than '-' it's the same, but if i...
by Per K Grok
Sun Jul 26, 2020 2:46 am
Forum: Ren'Py Questions and Announcements
Topic: "Force left click" action
Replies: 3
Views: 365

Re: "Force left click" action

Hey, I'm having a little problem with the functionality I'm wanting to implement in my game. I want the mouse to move to a certain place of the screen (I've managed to do this with the MouseMove) and click there right after the player has clicked a textbutton. The problem is, I don't know how to do...
by Per K Grok
Sun Jul 26, 2020 1:26 am
Forum: Demos & Beta Testing
Topic: Yuma the Jungle Girl [closed]
Replies: 1
Views: 250

Yuma the Jungle Girl [closed]

http://pictures.fanart-central.net/g/Grok/861126/Grok-861126-Yuma_jungle_girl.png http://pictures.fanart-central.net/g/Grok/861143/Grok-861143-Scareface.png Short adventure type game. Made with python and pygame. Keyboard controls only. Made for an IO jam. Happy for feedback 2 august latest. Can be...
by Per K Grok
Sat Jul 25, 2020 12:28 pm
Forum: Ren'Py Questions and Announcements
Topic: Dropdown menu code?
Replies: 3
Views: 247

Re: Dropdown menu code?

---- Thank you Per K Grok! I'm going to see if I can dynamically populate the buttons using an ordereddict and post it here. One question: if there's another menu a few pixels south of this, is there a way to "push" it down further temporarily while this menu is open? If you add a frame below the d...
by Per K Grok
Sat Jul 25, 2020 12:22 pm
Forum: Ren'Py Questions and Announcements
Topic: Make Esc and Right Click open different menu screen? [SOLVED]
Replies: 2
Views: 217

Re: Make Esc and Right Click open different menu screen?

I'm trying to remove all player access from the save screen (since I'm making a pretty short game, and it has a simple backend autosave system), and I've managed to get rid of access to it through everything EXCEPT the 'Esc' key, and a "Right mouse button click". I'd still like players to get acces...
by Per K Grok
Tue Jul 21, 2020 12:56 pm
Forum: Ren'Py Questions and Announcements
Topic: Dropdown menu code?
Replies: 3
Views: 247

Re: Dropdown menu code?

Has anyone written a collapsible dropdown menu system you wouldn't mind sharing? For example: Edit > Text > Font > Size > 12 I've only found two snippets of possible dropdown code and they're not working correctly (even after messing with them). https://lemmasoft.renai.us/forums/viewtopic.php?t=268...
by Per K Grok
Sun Jul 19, 2020 1:56 am
Forum: Ren'Py Questions and Announcements
Topic: Change position of main menu buttons
Replies: 2
Views: 257

Re: Change position of main menu buttons

I managed to change the main menu buttons from vertical to horizontal positioning. Can someone explain me how to change the line of the text so that it appears as a new line of buttons, and change the alignment, so that it shows as centre-aligned? This is my first time trying to code. Currently, th...
by Per K Grok
Thu Jul 16, 2020 3:55 am
Forum: Ren'Py Questions and Announcements
Topic: Trouble with Time/Day Class
Replies: 7
Views: 303

Re: Trouble with Time/Day Class

I'm having creating a simple class to control the in game time and day. I'm very new to using classes, but I've watched some tutorials and looked over some examples to get a basic understanding. I feel like most of this is correct, but unfortunately I still get the following error message upon star...
by Per K Grok
Thu Jul 16, 2020 1:08 am
Forum: Ren'Py Questions and Announcements
Topic: Need help
Replies: 4
Views: 115

Re: Need help

First than anything, sorry for the super generic title but I really don't know how to name this problem. If a mod/staff can think of a better name and rename it then please go ahead. I'm want to show a different imagebutton depending on what part of the story the player is. My code is this . . . el...