Search found 831 matches

by gas
Sun Dec 27, 2020 9:16 pm
Forum: We are a Free Project looking for Partners
Topic: [OPEN] Aella of Athens Recruitment
Replies: 10
Views: 1222

Re: Aella of Athens Recruitment

All right, thank you, I'm busy with complicate coding already and I can't mess with some complicate stuff. I like the setting, so... why not? I'll give some help as coder. I'll go compile the module.
by gas
Sun Dec 27, 2020 9:13 pm
Forum: Ren'Py Questions and Announcements
Topic: Need help with the code for mini game Battle
Replies: 6
Views: 527

Re: Need help with the code for mini game Battle

It's a long thing, maybe someone will reply sooner than me, but I find the thing very interesting and I'll devise a code in 24 hrs.


The arrows represent the sequence of keys to press, right? So it can change randomly, exactly?
by gas
Sun Dec 27, 2020 9:11 pm
Forum: Ren'Py Questions and Announcements
Topic: Which license for commercial game on Android?
Replies: 3
Views: 367

Re: Which license for commercial game on Android?

It's a monthly fee. After that, obviously, is forbidden any active use of the technology. Well, is hard to explain, but practically speaking you're "renting" the use, so if for some months you don't use the technology you don'thave to pay for. The active use and installation is what you pay for. Don...
by gas
Sun Dec 27, 2020 12:25 pm
Forum: Ren'Py Questions and Announcements
Topic: Some questions about menu buttons.
Replies: 2
Views: 422

Re: Some questions about menu buttons.

Is REALLY a bad practice, people often save while facing these choices, so they can explore the game. Is better to block rollback, so once the choice is done they cannot go back. But they can save before it. Anyway, to do so... https://lemmasoft.renai.us/forums/viewtopic.php?t=21350 The code should ...
by gas
Sun Dec 27, 2020 12:12 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Change history font?
Replies: 2
Views: 272

Re: Change history font?

Go to the end of the history screen in screens.rpy. Find these line. style history_text: xpos gui.history_text_xpos ypos gui.history_text_ypos xanchor gui.history_text_xalign xsize gui.history_text_width min_width gui.history_text_width text_align gui.history_text_xalign layout ("subtitle" if gui.hi...
by gas
Sun Dec 27, 2020 12:02 pm
Forum: Ren'Py Questions and Announcements
Topic: How to do math properly?
Replies: 5
Views: 315

Re: How to do math properly?

Python return a value of 967 for such operation. The math.tan argument must be expressed in radians, so math.tan(32.7) return 3.3915861586637797. Multiply by 300 and subtract 50 ('-50 +' means 'add a negative of 50' so equal subtracting) and you'll go near 1000. For renpy.log() you should first defi...
by gas
Sun Dec 27, 2020 4:28 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Different Menu Custom Backgrounds?
Replies: 4
Views: 458

Re: Different Menu Custom Backgrounds?

Ok, my bad. Is SO SILLY as an error I feel embarassed. The first if check the context XD. So as long you're in the main menu, it show the first condition. Try this. screen game_menu(title, scroll=None, yinitial=0.0): style_prefix "game_menu" if renpy.get_screen("load"): add "images/iload.png" elif r...
by gas
Sun Dec 27, 2020 4:21 am
Forum: Ren'Py Questions and Announcements
Topic: How to do math properly?
Replies: 5
Views: 315

Re: How to do math properly?

Be sure to import math. Use a function that return the value instead of putting the formula directly. init python: import math def uncanny_math(a,b,c): return a+ ( b * math.tan( c ) ) ### xpos (whatever) ypos uncanny_math(-50.0, 300.0, 32.7) As for console outputs: https://www.renpy.org/doc/html/dev...
by gas
Sun Dec 27, 2020 3:51 am
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Different Menu Custom Backgrounds?
Replies: 4
Views: 458

Re: Different Menu Custom Backgrounds?

EDIT: understood. You want to change the overall background, not just the frame. 'Right. Try change the game_menu like below: screen game_menu(title, scroll=None): style_prefix "game_menu" if main_menu: add gui.main_menu_background elif renpy.get_screen("about"): add "about_bg.jpg" else: add gui.gam...
by gas
Sat Dec 26, 2020 1:24 pm
Forum: We are a Free Project looking for Partners
Topic: [OPEN] Aella of Athens Recruitment
Replies: 10
Views: 1222

Re: Aella of Athens Recruitment

How the game work? Standard VNL, simulation... It does own some special gameplay feature or is just a branched narration?
by gas
Sat Dec 26, 2020 1:05 pm
Forum: Ren'Py Questions and Announcements
Topic: [SOLVED] Text blip sound effect not working
Replies: 2
Views: 514

Re: Text blip sound effect not working

Try the doc version:
https://www.renpy.org/dev-doc/html/char ... ml#example

Yours lack the "interact" parameter and the event to check seems not to be "show", but "show_done"
by gas
Fri Dec 25, 2020 5:12 pm
Forum: Ren'Py Questions and Announcements
Topic: Using Hotspots [solved]
Replies: 6
Views: 783

Re: Using Hotspots

Hello. Probably the thing is a bit out of your reach, there's a messy ergonomy. You're using a screen with modal, and obviously as long this screen is on, no others (not even the choice menu, that's a screen on his own) will work properly. Try to restructure the interface. You want a screen that sur...
by gas
Fri Dec 25, 2020 10:42 am
Forum: Ren'Py Questions and Announcements
Topic: Call Screen Refresh If Statements Always Evaluate To True
Replies: 4
Views: 373

Re: Call Screen Refresh If Statements Always Evaluate To True

Merry Xmas! Now I'm really curious to know what exactly is the case of use for delegating everything to screens. I mean, now the call seems redundant - all variables of a screen are automatically updated at interaction. The only idea I have is a "real time simulation" that happen inside a single int...
by gas
Fri Dec 25, 2020 9:58 am
Forum: Ren'Py Questions and Announcements
Topic: Having display time issues.
Replies: 7
Views: 1100

Re: Having display time issues.

It's Xmas! So, more than requested. init python: from datetime import datetime, timedelta def proceed(what): today =today +timedelta(minutes = what) timestring = today.strformat("%A %B %d %H:%M") default today = datetime(2020, 12, 25, 8, 30) default timestring = None label start: # initialize, to as...
by gas
Fri Dec 25, 2020 12:29 am
Forum: Ren'Py Questions and Announcements
Topic: Call Screen Refresh If Statements Always Evaluate To True
Replies: 4
Views: 373

Re: Call Screen Refresh If Statements Always Evaluate To True

I'll reply for the way you actually wrote such code. Is a bit complex, but practically speaking your IF are not evaluated as True (as the log 6 should hint you). They aren't evaluated at all. IF is a double pass operation. Push the request and wait for a return byte. As your screen do nothing, and h...