Thankyou for your help but the situation remains the same.
I need a way for the button to display a resting/static image when the screen loads and only play the animations when the player hovers/unhovers the buttons.
Search found 16 matches
- Mon Aug 01, 2022 9:37 am
- Forum: Ren'Py Questions and Announcements
- Topic: Stop animated button playing on loading screen?
- Replies: 2
- Views: 242
- Mon Aug 01, 2022 7:54 am
- Forum: Ren'Py Questions and Announcements
- Topic: Stop animated button playing on loading screen?
- Replies: 2
- Views: 242
Stop animated button playing on loading screen?
Hello, I have been playing around with animating buttons and have reached a point where I'm reasonably happy for now. The only problem I am having is the buttons playing their animations whenever the screen is loaded. I'm aware it is most likely an issue with how I am using idle, but it was the only...
- Sun Jul 10, 2022 1:19 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] improving .extend class method
- Replies: 5
- Views: 426
Re: improving .extend class method
What do you mean it doesn't work. It works perfectly if you actually assign function parameter to the tagged field: self.tagged = tagged # instead of self.tagged = [] you have now Thankyou, this is exactly what I was after, I tried a few variations but never once did i think of changing it like tha...
- Sun Jul 10, 2022 12:40 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] improving .extend class method
- Replies: 5
- Views: 426
Re: improving .extend class method
I was hoping for a method I may of missed where I wouldn't have to extend the class lists from 'label start'. maybe somehting like: default lyraPost1 = newPost("lyra", "hello world!", ["lyra", "mio", "sofia"]) Which I'm aware doesn't work (i tried an...
- Sat Jul 09, 2022 5:39 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] improving .extend class method
- Replies: 5
- Views: 426
[SOLVED] improving .extend class method
First a little context and explanation. I am slowly putting together a mobile phone for use within my own game, one of the available apps is an instagram style app with messages and images that can be unlocked as the game progresses. I am using classes to store all of the post and image information....
- Mon Feb 21, 2022 11:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: How to take cropped screenshots?
- Replies: 0
- Views: 1789
How to take cropped screenshots?
Pretty much as the title says, is it possible to take screenshots of a select area of the screen using the action Screenshot(). The game I'm making allows the player to build their own character through the stacking of multiple image layers in a character creator, for easy sharing it would be good i...
- Fri Feb 18, 2022 2:28 pm
- Forum: Ren'Py Questions and Announcements
- Topic: String not changing after button press
- Replies: 4
- Views: 371
Re: String not changing after button press
First Problem - This is a mistake with me copying and pasting to strip out the unnecessary code, This isn't an issue in the original version Second Problem - This is good to know, There are many holes in my knowledge but now one more of them is plugged up. Third Problem - I do recall reading this a ...
- Fri Feb 18, 2022 12:57 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Software for Creating Text Images (Question)
- Replies: 4
- Views: 381
Re: Software for Creating Text Images (Question)
I use Affinity Designer and Affinity Photo for all of my text and images, They are a one off purchase unlike adobe. A free online alternative is: https://www.photopea.com/ And has much of the functionality of a professional software and is still easy to use. You could also try Inkscape: https://inks...
- Fri Feb 18, 2022 12:50 pm
- Forum: Ren'Py Questions and Announcements
- Topic: String not changing after button press
- Replies: 4
- Views: 371
Re: String not changing after button press
Thankyou for your reply, but I'm sorry to say it didn't help the situation. I think I may not of done a good job of explaining the problem itself though. So let me try again. The screen has three groups of buttons, each consists of a plus button, a minus button and each one shows the selected number...
- Fri Feb 18, 2022 10:59 am
- Forum: Ren'Py Questions and Announcements
- Topic: String not changing after button press
- Replies: 4
- Views: 371
String not changing after button press
The code I have shows a button on screen that summons another screen with a selection of buttons to do various things, they all work except the one written below. The button consists of a plus and minus used to change a value between 1 and 5. An if function then assigns either ABCDE to the number wh...
- Wed Feb 16, 2022 12:44 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Problems using [variable] in imagebuttons
- Replies: 4
- Views: 392
Re: problems using [variable] in imagebuttons
Aye, I will end up with a dozen or so profile pages and I'm looking to have as many reusable pieces of code like this as I can for the reasons you have mentioned.
Many thanks for your help in solving the problem.
Many thanks for your help in solving the problem.
- Wed Feb 16, 2022 11:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Problems using [variable] in imagebuttons
- Replies: 4
- Views: 392
Re: problems using [variable] in imagebuttons
Thanks for your reply Ocelot, I have tried your method and found it works perfectly. Not to mention I have learned a few new things that will help me going forwards. The extra SetVariable is not needed though, its just fragment left over from when I have changed things in the past. I will look up th...
- Wed Feb 16, 2022 8:25 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Problems using [variable] in imagebuttons
- Replies: 4
- Views: 392
[SOLVED] Problems using [variable] in imagebuttons
Hello, I'm having trouble getting the screen to hand over a string to the auto and action portions of the code below. If I replace the character_name with a proper name the code works flawlessly. I have done similar things using 'add' (for example - add "gui/character screen/[variable]_backgrou...
- Sat Dec 18, 2021 5:06 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Screen not displaying images and text until a button is pressed
- Replies: 3
- Views: 394
Re: Screen not displaying images and text until a button is pressed
anyway I found a solution or at least a workaround to my problem, the label that is called to show the screens runs a series of If statments and updates the lyra_clothes variable that the imagebuttons use to decide which one is selected at any one time. this means that the first button will always b...
- Sat Dec 18, 2021 4:40 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Screen not displaying images and text until a button is pressed
- Replies: 3
- Views: 394
Re: Screen not displaying images and text until a button is pressed
In a typical turn of events I have made some progress after achieving nothing all afternoon. The viewport text now shows every time, the character image still does not appear until an imagebutton is selected, but shows every time after this. By inserting the following label at the top of the screen ...