Ren'Py for the web browser

In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
Message
Author
User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the Web

#16 Post by Beuc »

This week's progress - https://www.patreon.com/posts/22648724

Downloadable version for game developers with instructions.
It would be nice if people tested it at various gaming hosts (newgrounds, etc.) :)

Fixed itch.io integration issues:
- fix issues with lost keyboard focus
- automatically download and play game.zip if no game is given in URL (instead of displaying the "Open local Game" button)
- only one index.html file otherwise itch.io selects the slower asmjs fallback by default
- smaller uploads: the asmjs/ fallback now can use the same game files (instead of requiring duplicates or .zip-unfriendly symlinks)
- updated https://beuc.itch.io/the-question-web accordingly

Pushed 2 more patches to standard Ren'Py (#1631, #1632)

Not web-related but I made a couple fixes to the French translation (#11624, #1625, #1630) and reported a minor info-leak (#1628)

User avatar
Andredron
Miko-Class Veteran
Posts: 700
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: Ren'Py for the Web

#17 Post by Andredron »

Beuc wrote: Sun Nov 11, 2018 10:22 am This week's progress - https://www.patreon.com/posts/22648724

Downloadable version for game developers with instructions.
It would be nice if people tested it at various gaming hosts (newgrounds, etc.) :)

Fixed itch.io integration issues:
- fix issues with lost keyboard focus
- automatically download and play game.zip if no game is given in URL (instead of displaying the "Open local Game" button)
- only one index.html file otherwise itch.io selects the slower asmjs fallback by default
- smaller uploads: the asmjs/ fallback now can use the same game files (instead of requiring duplicates or .zip-unfriendly symlinks)
- updated https://beuc.itch.io/the-question-web accordingly

Pushed 2 more patches to standard Ren'Py (#1631, #1632)

Not web-related but I made a couple fixes to the French translation (#11624, #1625, #1630) and reported a minor info-leak (#1628)
On the PC of the norms it started, only the sound appeared in 16 seconds, and the speed on the PC was 2mb / s


Russian itchi http://anivisual.net/stuff/1-1-2-0-0-7-0-0

failed to insert

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the Web

#18 Post by Beuc »

Hi Andredon,

So you ran a game and there was no graphics?
What game?

Also you tried to upload a renpyweb game at anivisual.net and it didn't work, is that right?
What was the rejection message?
I know, I have terrible English
Not as terrible as my Russian, haha. Hopefully we'll manage to understand each others :)

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the Web

#19 Post by Beuc »

Still more updates :)
https://www.patreon.com/posts/week-46-report-22785202


- Optimized start-up time by avoiding recompiling Python snippets from .rpyc files; you need to ship renpy/common/ in your game.zip file to leverage this. RenPyWeb now can run unmodified renpy/common/ files. Also the browser is more responsive during game loading.
- Better mobile support by optimizing memory on start-up (Firefox 63 runs reasonably well).
- Quit the game cleanly: no crash, and stop audio #1639; also found a bug in Ren'Py in the process #1642
- More code clean-up; optimized out unnecessary libraries SDL2_mixer and SDL2_ttf.
- SDL2: patch audio issue #4176 #63
- Emscripten: clarified cryptic error message in Emscripten and improved documentation #7516 #7523 #7524 #7526; reported bug when using pristine SDL2 #7525; upgraded to 1.38.19.
- Clarified Roadmap - feedback welcome.

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the web browser

#20 Post by Beuc »

Will you use RenPyWeb for the upcoming LudumDare 43? :)
https://www.patreon.com/posts/22923333

Bug fixes and clean-ups (details)
Upgrade to Ren'Py 7.1.3.1092
(Unconclusive) experiments with taming the popup blocker and with the Chrome audio lag
Experiment with faster, threads-based, alternate port: browser support becomes useable, but a lot of work is still needed in Emscripten.
I would need your support to progress on this faster port.

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the web browser

#21 Post by Beuc »

status_report-48.png
https://www.patreon.com/posts/23069802

Improved design:
- The game now adapts to the screen size
(from large desktops to medium laptops to tiny mobile phones)
- Cleaner status messages that auto-hide
All screen space for the game :)
I plan to add a square drop-down menu at the top-left to import/export savegames and logs in the future, let me know if you've got other design ideas.

Screenshots: typing 's' now automatically prompts a screenshot download!

Fixed "The_Question" demo whose latest updates uses fonts from the Ren'Py launcher #1656

Technology (SDL2) bug fixes #64 #65 #66

As always check https://renpy.beuc.net/ for the live demo and dev kit :)

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the web browser

#22 Post by Beuc »

This week's report
https://www.patreon.com/posts/23221000

- Bug reporting fest:
-- Ren'Py: suggest alleviating screen size constraints esp. for mobile platforms #1661
-- Ren'Py: fix for static modules #1660
-- Ren'Py: minor lint #1662
-- SDL2: fix for duplicate touch events accepted at last #64
-- Emscripten: investigated and reproduced Chromium crash report with large (>110MB) files #7630
-- Emscripten: suggest fix for the itch.io keyword bug #7631
- Upgrade to Emscripten 1.38.21

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the web browser

#23 Post by Beuc »

This week's report - in case anybody cares?
https://www.patreon.com/posts/23367103
status_report-50.png
status_report-50.png (28.37 KiB) Viewed 2037 times
- New context (pop-up) menu:
-- Saves import/export using ZIP format
-- Access to Ren'Py log (useful for debugging and performance analysis)
- Bugs reports and follow-ups:
-- Chromium: crash with large files #7630 / #913861
-- Emscripten: investigate random crashes: emterpreter+fpcast discussion + made more Python functions asynchronous
-- Emscripten: root-cause of the itch.io/iframe focus issue #7631
-- Ren'Py screen size constraints #1661
-- Ren'Py: suggest full-screen toggle rather than destroy/recreate window #1665
-- Ren'Py: persistent data sync #1631

Shout-out @renpytom for pledging from the start :)

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 3785
Joined: Mon Dec 14, 2015 5:05 am
itch: Imperf3kt
Location: Your monitor
Contact:

Re: Ren'Py for the web browser

#24 Post by Imperf3kt »

I'm following your progress, it looks like it's going well. Good work.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Current project: GGD Mentor

Twitter

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the web browser

#25 Post by Beuc »

Thanks for the motivational :)

User avatar
trooper6
Lemma-Class Veteran
Posts: 3712
Joined: Sat Jul 09, 2011 10:33 pm
Projects: A Close Shave
Location: Medford, MA
Contact:

Re: Ren'Py for the web browser

#26 Post by trooper6 »

I also think the work you are doing is pretty awesome! Keep up the good work!
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Check out My Clock Cookbook Recipe: http://lemmasoft.renai.us/forums/viewto ... 51&t=21978

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the web browser

#27 Post by Beuc »

Haha, good to hear :)

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the web browser

#28 Post by Beuc »

This week's report
https://www.patreon.com/posts/23639032

- Start cleaning-up the chaosbuild system, especially the Python port
- Discuss how to use asynchronous features more cleanly (no patch) at emscripten-discuss
- Fix browser detection #1675
- With more such clean-up I hope to properly include this in Ren'Py

By the way, RenPyWeb is usable right now (or so I think ;)).
What would you need to start using it?

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the web browser

#29 Post by Beuc »

A couple week's reports
https://www.patreon.com/posts/week-3-report-24105639
https://www.patreon.com/posts/week-4-report-24267676


- Follow-up on Chromium crash with large files #913861
- Doc fixes #1685 #1689

- Difficult upgrade to Emscripten 1.38.25:
-- Investigate Emscripten/SDL2 gamepad-related breakage #7840
-- Investigate Emscripten/SDL2port/SDL_AddTimer breakage #67
-- More breakages for my other GNU FreeDink project XD
- Fix Chrome crash with large files, improve .zip extraction speed and memory usage #7630
- Push for Emterpreter (async) support in SDL2 #70 discussion
- Investigate video support:
-- Document (roadmap) the need for 2 levels of video support: fullscreen w/ hardware acceleration, displayable w/o hardware acceleration
-- Failed experiments, in the current Ren'Py, hard to sync the separate audio and video processing without threading
-- Hardware video detection slight inconsistency #1698
-- Doc improvement for videos #1697

User avatar
Beuc
Regular
Posts: 85
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the web browser

#30 Post by Beuc »

This week's report
https://www.patreon.com/posts/24434815

- Publish consolidated source at the official Ren'Py GitHub: github.com/renpy/renpyweb
- python-emscripten fixes beuc.net/python-emscripten/python
- Emscripten documentation and streamlining

Post Reply

Who is online

Users browsing this forum: No registered users