Search found 9 matches

by Team1Player2
Mon Oct 24, 2022 4:19 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Problems with displaying variable images
Replies: 2
Views: 109

Re: Problems with displaying variable images

Because in some cases, putting things into lists, dicts etc. made my life so much easier and I thoughtlessly did it here too (not just here but I will be able to fix the rest eventually). I opted for the first solution that simplifies the whole thing. I defaulted current_place and defined places_bg ...
by Team1Player2
Mon Oct 24, 2022 1:19 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Problems with displaying variable images
Replies: 2
Views: 109

[SOLVED] Problems with displaying variable images

Hello, I am trying to show scene images based on the current location in the game and got some issues. I found a post on these forums dealing with this but am unable to implement it correctly. I have a dictionary with possible places: default current_place = { "room_1":False, "room_2":False, } And I...
by Team1Player2
Sun Oct 09, 2022 3:37 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Making a character say a random element from a list
Replies: 2
Views: 210

[SOLVED] Making a character say a random element from a list

Hello, I am trying to build a dialogue system in which one option is "Small talk". It improves relationship by a small value and gives random bits of dialogue. Mechanically, each character has several relationship states. Those are lists. I already wrote code that deletes and adds names to the appro...
by Team1Player2
Wed Oct 05, 2022 3:50 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Displaying vertical image with movement
Replies: 2
Views: 198

Re: Displaying vertical image with movement

Implemented, tried, tested. Works pefectly. Even found a bug I managed to introduce at some point. Thank you so much!
by Team1Player2
Wed Oct 05, 2022 2:14 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Displaying vertical image with movement
Replies: 2
Views: 198

[SOLVED] Displaying vertical image with movement

Hello, my project is using 16:9 ratio. For bg images and many cgs that is alright. But I would like to show an image with a 9:16 ratio. This means a) stretching/zooming in so only a fraction, the bottom part of the picture. And then b) I would like to tell the "camera" to slowly move upwards, still ...
by Team1Player2
Fri Sep 16, 2022 11:07 am
Forum: Ren'Py Questions and Announcements
Topic: Error messages are too small
Replies: 0
Views: 266

Error messages are too small

Hello, I am sort of dimwitted so there's a lot wrong with my code. I've returned to experimenting with Ren'Py after a few months with Unity but this time around, seemingly at random, when Ren'Py fails to load when parsing the script it sometimes displays the error messages in like 4 or less sized le...
by Team1Player2
Sun Sep 04, 2022 4:04 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Displaying the time
Replies: 2
Views: 270

Re: [SOLVED] Displaying the time

Thank you so much. I implemented your solution and it works flawlessly. In the end, I made some tweaks to expand the functionality a little bit further. default day_count = 0 default day_phase = 0 define day_phase_descriptions = { 0: _("Morning"), 1: _("Noon"), 2: _("Afternoon"), 3: _("Evening"), 4:...
by Team1Player2
Sun Sep 04, 2022 1:45 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Displaying the time
Replies: 2
Views: 270

[SOLVED] Displaying the time

Hello, my game revolves around a day-night loop. I want to display the time to the player while progressing and resetting the time. My current solution is to a) set up a variable that is just a number default day_phase = 0 b) increase and set it back to zero as the day progresses $ day_phase += 1 if...