Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is a prerelease, so you can test it and make sure your game works. APIs introduced in prereleases won't become stable until an actual release occurs.
I'm pleased to announce the release of Ren'Py 7.3.0, the first release of Ren'Py with support for running on the web platform, inside a web browser supporting HTML 5, Web Assembly, and WebGL. Right now, this support is in beta, as it's limited by the capabilities of the web platform itself, but it's suitable for making web demos of Ren'Py games.
In addition to that, this release adds many new features to Ren'Py. These include:
Many improvements to creator-defined statements, allowing the parsing of Ren'Py statements and block, the catching of errors, and the ability to execute a second function after Ren'Py in the body of a statement has finished.
Screen language improvements, like the ability to capture screen language displayables into a variable and to use a property to determine if a screen is sensitive to input.
Text improvements, with self-closing text tags and the ability to control the capitalization of interpolated text.
Mobile platforms now support non-rectangular focus masks, and 64-bit Android is supported in time for the Google Play deadline.
There is a new Turkish translation of the launcher and Spanish translation of the tutorial game, while several of the other translations have been updated.
Thare are also a number of other changes, so check out the changelog for all of what's new.
I look forward to seeing how the HTML 5 stuff works. I've been thinking about how it would be cool to have Ren'Py web apps lately.
Main Website
Includes information about and links to many of my current and past projects.
Major Game Projects
[Nightshade] Eldritch Academy, Eldritch University, Blooming Nightshade, Flowering Nightshade, Life as Designed
[Team Despair] Corpse Party D2 series
This month it will be my first anniversary creating games with Renpy and the engine is really great. I released my second game about two months ago and it is a RPG. Using simple coding and the screen language I could make action battles and a lot of progression systems.
My first game is a visual novel with a lot of minigames too and its reaching 1 million downloads in Google Play next month.
All thx to Renpy. I just wanted to thank you for all the hard work that makes our dream of being game developers possible.
Not sure what's up but I was messing around with creator defined statements and for whatever reason print commmands weren't printing to the console (shift+O). I was using print to debug and just nothing showed up. The print commands worked fine in 7.2.
I've released an update to the prerelease. There isn't really a lot new, but there are a number of bug fixes. One of the biggest is that Ren'Py's Android Keyboard support has been limited to only support languages that do not require completions. (So basically, western languages work, but Chinese/Japanese/Korean probably don't.) This matches newer versions of SDL2, and the fact that the SDL2 API can't represent these completions properly. This should fix longstanding problems with Android input.
philat>>> I'd have to see your statement to know what's wrong. There are some changes to when statements are parsed, and so it's possible you're getting caught by that. (Especially since statement parsing now takes place entirely before the console is loaded.) Do your prints show up in log.txt?
Supporting creators since 2004 (When was the last time you backed up your game?)
def parse_smartline(lex):
who = lex.simple_expression()
what = lex.rest()
print who, what
return (who, what)
It prints in the console with 7.2 but does not with 7.3. As far as I can tell, it doesn't show up in log.txt. As you point out, I suppose it may be because parsing happens earlier now.
ETA: On that note, moving the print statement to execute_smartline does print. Okay, I guess that's cleared up then. It's a bit of a bummer because I use printing as a makeshift debug/way to figure out by trial and error how Lexers objects work (since I'm just fumbling around in the dark on regex, honestly), but as long as it's not a bug.
I'm sorry, but an uncaught exception occurred.
While running game code:
File "game/adventure_dungeon.rpy", line 35, in script
with Dissolve(.25)
RuntimeError: maximum recursion depth exceeded while calling a Python object
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "game/adventure_dungeon.rpy", line 35, in script
with Dissolve(.25)
File "E:\Desktop\renpy-7.3.0-sdk\renpy\ast.py", line 1387, in execute
renpy.exports.with_statement(trans, paired)
File "E:\Desktop\renpy-7.3.0-sdk\renpy\exports.py", line 1592, in with_statement
return renpy.game.interface.do_with(trans, paired, clear=clear)
File "E:\Desktop\renpy-7.3.0-sdk\renpy\display\core.py", line 2250, in do_with
clear=clear)
File "E:\Desktop\renpy-7.3.0-sdk\renpy\display\core.py", line 2701, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "E:\Desktop\renpy-7.3.0-sdk\renpy\display\core.py", line 3193, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "E:\Desktop\renpy-7.3.0-sdk\renpy\display\core.py", line 2086, in draw_screen
renpy.display.screen.per_frame()
File "E:\Desktop\renpy-7.3.0-sdk\renpy\display\screen.py", line 1378, in per_frame
renpy.display.render.invalidate(s)
File "render.pyx", line 283, in renpy.display.render.invalidate
File "render.pyx", line 385, in renpy.display.render.redraw
......
......
......
RuntimeError: maximum recursion depth exceeded while calling a Python object
Windows-8-6.2.9200
Ren'Py 7.3.0.236
wonderland 1.0
Mon Jun 10 23:27:19 2019
I'm using user created displayable, so I think it causes this error. Running this program on 7.2.2 (also the previous night release I think) works fine.
nyaatrap wrote: ↑Mon Jun 10, 2019 10:33 am
...
I'm using user created displayable, so I think it causes this error. Running this program on 7.2.2 (also the previous night release I think) works fine.
This happens if any per_frame screen is displayed, for example Image load Log.
I duplicated this in GitHab.