Search found 820 matches

by gas
Mon Dec 28, 2020 4:10 am
Forum: Ren'Py Questions and Announcements
Topic: Protect files from unpackers
Replies: 10
Views: 702

Re: Protect files from unpackers

In my opinion, honestly, it would be better, instead of raping your brains over a plan to protect God knows what, it would be better to take up additional chips that will decorate your project. I would take an example from the developers of the witcher, minecraft, this war of mine - yes, we do not ...
by gas
Mon Dec 28, 2020 12:49 am
Forum: Ren'Py Questions and Announcements
Topic: Need help with the code for mini game Battle
Replies: 6
Views: 298

Re: Need help with the code for mini game Battle

All right. 24hr starting... now :).
EDIT: PM sent.
by gas
Sun Dec 27, 2020 11:42 pm
Forum: Ren'Py Questions and Announcements
Topic: Need help with the code for mini game Battle
Replies: 6
Views: 298

Re: Need help with the code for mini game Battle

You should consider, for a better implementation and speeding up people workflow, to send the actual exported pictures you want to use. Not everyone can freely open and manipulate .psd.
by gas
Sun Dec 27, 2020 9:51 pm
Forum: Ren'Py Questions and Announcements
Topic: Python code item and Load/Save bug
Replies: 9
Views: 442

Re: Python code item and Load/Save bug

When you create objects, use a 'default' statement instead of the init space. default player = Player("Derp", 100, 50) This simple change make the objects parsed by the save system. That's true for whatever object (like list of items and so on) you're planning to use. And that's all. As for doubling...
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: 918

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: 298

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: 317

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: 364

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: 230

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: 274

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: 238

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: 274

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: 238

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: 918

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: 263

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"