Ren'Py 8.0.0 and 7.5.0 Prereleased

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.
Message
Author
recreation
Regular
Posts: 52
Joined: Sun Jul 01, 2018 8:32 am
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Preleased

#31 Post by recreation »

I get this when I try to install either prerelease or nightly (7.5)
unnknown.png

User avatar
m_from_space
Miko-Class Veteran
Posts: 952
Joined: Sun Feb 21, 2021 3:36 am
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Preleased

#32 Post by m_from_space »

Maybe just don't use the update feature, but download a new version of Renpy directly and unpack it. Sometimes setting up a new base is always best. (Don't accidentally delete your project folders though!)

recreation
Regular
Posts: 52
Joined: Sun Jul 01, 2018 8:32 am
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Preleased

#33 Post by recreation »

m_from_space wrote: Mon Jun 13, 2022 1:24 pm Maybe just don't use the update feature, but download a new version of Renpy directly and unpack it. Sometimes setting up a new base is always best. (Don't accidentally delete your project folders though!)
Already did that, just wanted to let Tom know that there might be a problem.

RFB
Newbie
Posts: 5
Joined: Sun May 29, 2022 4:37 pm
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Preleased

#34 Post by RFB »

PyTom wrote: Sun May 29, 2022 9:27 pm RFB, can you break that out so I can see what's going on, and figure what the change was?
RFB wrote: Mon May 30, 2022 3:54 am Example code
Is there anything new on this? I tried it with the latest pre-release and still the same thing happens. It is clearly a problem with the gallery_navigation screen. Once I set the_gallery.navigation to False, it doesn't happen anymore (but of course I don't get the navigation).

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Prereleased

#35 Post by PyTom »

Ren'Py 8.0.0.22061907 / Ren'Py 7.5.0.22061907)

I've updated the prerelease to tackle a number of issues reported by creators, especially hard issues that could cuase compatibility problems. Some of the changes are:
  • An ordering issue when finding focus has been fixed.
  • On iOS, OpenGL is translated to Metal using the MetalANGLE translation layer. This should improve support and performance on recent Apple devices, and allows the iOS simulator to run Ren'Py apps on Apple Silicon macs.
  • Support for the Android lifecycle has been improved, with the game being saved after it disappears from the screen.
  • On most devices, Ren'Py will use a Pixel Buffer Object to upload textures to the GPU. In addition to a slight performance improvement, this fixes an alignment issue that was causing rare crashes on Android.
  • Support for Android IAP has been moved to its own gradle project, which is only built if at least one store is active. This should prevent games that do not have IAP showing as having IAP in the google store.
  • A problem downloading the itch.io butler has been fixed.
  • The renpy.input function now supports copy and paste.
  • The ATL function statement now determines if it should block or not by executing the function at least once at time 0, to see if any pause happens. If that returns a pause, the function will block for at least one frame.
Thanks to everyone that tested, and worked with me to find these issues (several of which were rare but longstanding).


Downloads of 8.0.0 can be found at:

https://www.renpy.org/release/8.0.0

Downloads of 7.5.0 can be found at:

https://www.renpy.org/release/7.5.0



RFB >>> Apologies, your issue fell through the cracks, I'll try to get to it ASAP.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

RFB
Newbie
Posts: 5
Joined: Sun May 29, 2022 4:37 pm
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Prereleased

#36 Post by RFB »

PyTom wrote: Sun Jun 19, 2022 12:40 pm RFB >>> Apologies, your issue fell through the cracks, I'll try to get to it ASAP.
No problem, I know the difficulties of software development and bug fixing. It's not a huge issue for me right now, as I can work around it, but it looks really strange to me and it might reveal a more serious issue, so I wanted to make sure someone at least takes a look at it.

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Preleased

#37 Post by Kia »

I'm testing 8.0.0 and found this:
AttributeError: module 'time' has no attribute 'clock'
when tried:

Code: Select all

init python:
    import random
    import time
    random.seed(time.clock())
Not sure if it's a difference in python 3 or renpy 8.

Now that I'm posting, I have few non-urgent requests if I may:
Please add the ability to type the first letter in the projects list to find them faster. I do lots of testing and have a big list, navigating can become cumbersome.
And, the ability to copy the game's name comes in handy every now and then, to google it and make sure it's typed correct.
Also, is there a github for the documentations? I like to help fixing typos or add code examples if possible.

User avatar
Ocelot
Lemma-Class Veteran
Posts: 2399
Joined: Tue Aug 23, 2016 10:35 am
Github: MiiNiPaa
Discord: MiiNiPaa#4384
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Preleased

#38 Post by Ocelot »

Kia wrote: Mon Jun 20, 2022 1:30 am I'm testing 8.0.0 and found this:
AttributeError: module 'time' has no attribute 'clock'
Not sure if it's a difference in python 3 or renpy 8.
time.clock() was deprecated in Python 3.3 and removed in Python 3.8. You can use time.perf_counter_ns() if you want a random seed (better randomness thatn other time.* functions, since they mostly return time in seconds)
< < insert Rick Cook quote here > >

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Preleased

#39 Post by Kia »

Ocelot wrote: Mon Jun 20, 2022 2:23 am time.clock() was deprecated in Python 3.3 and removed in Python 3.8. You can use time.perf_counter_ns() if you want a random seed (better randomness thatn other time.* functions, since they mostly return time in seconds)
Thank you ^^

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Prereleased

#40 Post by PyTom »

Ren'Py 8.0.0.22062104 / 7.5.0.22062104)

A few relatively minor changes.
  • When editable test is present, hitting ctrl doesn't enable skipping (This allows the various cursor motion and copy/paste keys to work without enabling skipping.
  • An error with the gallery navigation screen has been fixed.
  • Quitting from the error screen no longer tries to run the quit label.
  • Various documentation changes.
  • Fixing of an issue where an ATL pause 0 would be considered an infinite loop.
This feels very close, but I'd like more feedback that Ren'Py is working well.


Downloads of 8.0.0 can be found at:

https://www.renpy.org/release/8.0.0

Downloads of 7.5.0 can be found at:

https://www.renpy.org/release/7.5.0
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

envixer
Newbie
Posts: 23
Joined: Tue Jan 09, 2018 2:21 pm
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Prereleased

#41 Post by envixer »

Just did a little testing with the latest version and other than one python change (raise syntax), no issues. Gallery, video, audio, all seem stable.

Note, however, that I'm not one to use a lot of python or complex ATLs, so take my successful test with a pinch of salt :D

User avatar
PyTom
Ren'Py Creator
Posts: 16093
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Prereleased

#42 Post by PyTom »

envixer wrote: Sat Jun 25, 2022 11:48 am Just did a little testing with the latest version and other than one python change (raise syntax), no issues. Gallery, video, audio, all seem stable.

Note, however, that I'm not one to use a lot of python or complex ATLs, so take my successful test with a pinch of salt :D
Thanks for letting me know, positive results are very useful.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

RFB
Newbie
Posts: 5
Joined: Sun May 29, 2022 4:37 pm
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Prereleased

#43 Post by RFB »

I did not have any more issues either. And I'm using a fair bit of python, creator defined displayables and statements.

User avatar
Kia
Eileen-Class Veteran
Posts: 1040
Joined: Fri Aug 01, 2014 7:49 am
Deviantart: KiaAzad
Discord: Kia#6810
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Prereleased

#44 Post by Kia »

Tested around 150 old projects and test cases, I can't find any problem. Only noticed the small differences between python 2 and 3.
- Like how python 3 doesn't allow leading zeros in decimal integers.
- or float precision works a bit different and needs rounding.

Code: Select all

init python:
    def test_function():
        global test_value
        test_value += .02
        # test_value = round(test_value, 3)

default test_value = .05
label start:
    "[test_value]"
    $ test_value += .02
    "[test_value]"
    $ test_function()
    "[test_value]"
- and how dividing integers now return floats and must be converted back to in again

existentia
Newbie
Posts: 6
Joined: Fri Nov 09, 2012 5:53 am
Contact:

Re: Ren'Py 8.0.0 and 7.5.0 Prereleased

#45 Post by existentia »

Kia wrote: Tue Jun 28, 2022 12:58 am - and how dividing integers now return floats and must be converted back to in again
If you double the division sign ("//") you get integer division.

Post Reply

Who is online

Users browsing this forum: bonnie_641, Google [Bot]