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: 65
Joined: Sat Sep 29, 2018 3:38 pm
Contact:

Re: Ren'Py for the web browser

#61 Post by Beuc » Sun May 05, 2019 1:40 pm

Image

https://www.patreon.com/posts/week-18-report-26617412

- Renpytom integrated RenPyWeb in the official Ren'Py launcher! Please test the current development SDK at http://nightly.renpy.org/current/

- Fix flickering in imagemap/imagebutton with alpha

- More investigation on networking, following user requests

- Request no minification for index.html so you can modify it more easily #8547

- Fix rebuild error #8546

- Minor build fixes

Suhaimizs
Newbie
Posts: 1
Joined: Thu May 09, 2019 12:03 pm
itch: Suhaimizs
Contact:

Re: Ren'Py for the web browser

#62 Post by Suhaimizs » Thu May 09, 2019 12:08 pm

Hi,

I love this. I am now using Ren'Py in schools but I am facing a problem because the visual novels I created sometimes need text input and when used on browsers through mobile devices, the keyboard doesn't automatically pop up so the input can't be keyed in and the game can't continue. Any workarounds? I tried the desktop mode but to no avail either. Could something be changed in the code perhaps?

An example:
https://suhaimizs.itch.io/ncdcc

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

Re: Ren'Py for the web browser

#63 Post by Beuc » Thu May 09, 2019 3:49 pm

Hi,

I had this in my TODO list and suspected this wouldn't work, thanks for testing and bringing it up :)
We need to have a look at how to make the virtual keyboard appear/disappear as needed on mobile browsers.
Meanwhile, a work-around would be to handle a virtual keyboard within Ren'Py (e.g. with a Screen of letters), or use pre-made choices.

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

Re: Ren'Py for the web browser

#64 Post by Beuc » Sun May 12, 2019 12:29 pm

https://www.patreon.com/posts/week-19-report-26803516

Add a "web" screen variant and remove "pc" (by Renpytom). I expect that we'll add back variants in the future depending on the detected web environment (pc/mobile, screen size...)

Document that ASMJS support was dropped along with the merge in Ren'Py, to focus on (newer) WebAssembly and avoid multiplying targets to test

Do not minify index.html so it can be customized more easily

Start investigating virtual keyboard for mobile browsers #80

Link some public RenPyWeb games (with a NSFW spoiler block) at the RenPyWeb homepage

User avatar
HeartbrokenDeveloper
Newbie
Posts: 4
Joined: Mon May 13, 2019 10:11 am
Completed: None
Projects: (An_Untitled_Project)
IRC Nick: Heartbroken Developer
itch: heartbrokendeveloper
Location: Somewhere Far Away
Contact:

Re: Ren'Py for the web browser

#65 Post by HeartbrokenDeveloper » Thu May 23, 2019 6:43 am

I tried it out (again). It was much faster than the last time (1-2 months ago)!

Thank you for making RenPyWeb! :D
<a href="https://heartbrokendeveloper.itch.io/">I will need a better introduction...</a>

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

Re: Ren'Py for the web browser

#66 Post by Beuc » Thu May 23, 2019 8:27 am

Great! Let me know when you publish a game with it :)

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

Re: Ren'Py for the web browser

#67 Post by Beuc » Sun May 26, 2019 10:04 am

https://www.patreon.com/posts/week-21-report-27139966

More of you are pushing Ren'Py games in the browsers, keep up the good work (and let's take Newgrounds by storm ;))

Upgrade to emscripten 1.38.32 #8650
Track and list more public RenPyWeb games
Translation improvements in Ren'Py #1827 #1834 #1837
Improvements and bugfixes on Ren'Py Translator ToolKit

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4026
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py for the web browser

#68 Post by jack_norton » Sun May 26, 2019 12:14 pm

How do I change the "loading" screen image ? I thought was the same image used for Android, but I changed it and didn't work. Thanks :)
follow me on Image Image Image Image
computer games

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

Re: Ren'Py for the web browser

#69 Post by Beuc » Sun May 26, 2019 2:22 pm

To avoid confusion I didn't use "android-presplash", instead I used the common "game/presplash.png" (or .jpg).
This is part of the manual instructions at renpy.beuc.net, probably we should start thinking of a dedicated section in the Ren'Py docs :).

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4026
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py for the web browser

#70 Post by jack_norton » Sun May 26, 2019 2:43 pm

Ah OK, maybe you could pick another name to use as image in root folder, like for Android. Like web-presplash or something :)
follow me on Image Image Image Image
computer games

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

Re: Ren'Py for the web browser

#71 Post by Beuc » Sun May 26, 2019 4:32 pm

"game/presplash.png" was already there in Ren'Py and also works on PC/Mac:
https://www.renpy.org/wiki/renpy/doc/co ... ader_Image
I'll ask PyTom what he thinks.

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4026
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py for the web browser

#72 Post by jack_norton » Mon May 27, 2019 7:37 am

Sounds good. BTW I tried to export my old RPG, I wanted to try with something more complex than a simple visual novel:
https://www.newgrounds.com/portal/view/731979
and I must say it's working really well. I played it for a bit, and seems good :)
follow me on Image Image Image Image
computer games

User avatar
HeartbrokenDeveloper
Newbie
Posts: 4
Joined: Mon May 13, 2019 10:11 am
Completed: None
Projects: (An_Untitled_Project)
IRC Nick: Heartbroken Developer
itch: heartbrokendeveloper
Location: Somewhere Far Away
Contact:

Re: Ren'Py for the web browser

#73 Post by HeartbrokenDeveloper » Mon May 27, 2019 8:41 am

Unfortunely it was still slow and the music wasn't continuos. But I hope it will be better.
<a href="https://heartbrokendeveloper.itch.io/">I will need a better introduction...</a>

User avatar
jack_norton
Lemma-Class Veteran
Posts: 4026
Joined: Mon Jul 21, 2008 5:41 pm
Completed: Too many! See my homepage
Projects: A lot! See www.winterwolves.com
Tumblr: winterwolvesgames
Contact:

Re: Ren'Py for the web browser

#74 Post by jack_norton » Mon May 27, 2019 8:58 am

Here with Firefox was running super-smooth! Not sure if depends also on the hardware.
follow me on Image Image Image Image
computer games

vyle
Newbie
Posts: 3
Joined: Sun Feb 04, 2018 11:57 am
Contact:

Re: Ren'Py for the web browser

#75 Post by vyle » Thu May 30, 2019 5:44 pm

Can anyone show me how to upload the Web game on Newsground or itch.io? I'm not good at programming. My built file have a Html file name Index (Firefox) but I cannot use it to upload on Newsground.

Post Reply

Who is online

Users browsing this forum: No registered users