What version of Python is Ren'py written in?
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 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.
-
Friendbot2000
- Regular
- Posts: 161
- Joined: Tue Feb 15, 2011 8:00 pm
- Projects: Mutagen : Journey to Haven's Landing
- Contact:
What version of Python is Ren'py written in?
I finally have time to resume making games again, but I was wondering if Ren'py is compatible with Python 3.0 code. Can I create modules of 3.0 code or will they not play nice with Ren'Py?
Visit my game development group's Facebook page : Timekeeper Games
Mutagen : Journey to Haven's Landing Facebook Page
Follow our Twitter feed too : TK Games
Mutagen : Journey to Haven's Landing Facebook Page
Follow our Twitter feed too : TK Games
- KimiYoriBaka
- Miko-Class Veteran
- Posts: 636
- Joined: Thu May 14, 2009 8:15 pm
- Projects: Castle of Arhannia
- Contact:
Re: What version of Python is Ren'py written in?
from what I can find in the documentation, it seems that 6.11 and later are base on python 2.6, while the earlier versions were 2.3
I don't know how many changes there are between 2.6 and 3.0, but if 3.0 is backward compatible then you might be able to just include 3.0 with your code and have it work that way. my knowledge of the subject isn't too deep though, so I might be wrong...
I don't know how many changes there are between 2.6 and 3.0, but if 3.0 is backward compatible then you might be able to just include 3.0 with your code and have it work that way. my knowledge of the subject isn't too deep though, so I might be wrong...
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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: What version of Python is Ren'py written in?
Right now, the Windows, Linux, and Mac versions of Ren'Py use Python 2.6. The Android version uses 2.7, and I use 2.7 for day to day development - at some point, I'll be upgrading everything to 2.7.
3.0 is still a ways out. Pygame doesn't support it yet.
That being said, for most Ren'Py specific stuff, the differences don't matter all that greatly.
3.0 is still a ways out. Pygame doesn't support it yet.
That being said, for most Ren'Py specific stuff, the differences don't matter all that greatly.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
-
Friendbot2000
- Regular
- Posts: 161
- Joined: Tue Feb 15, 2011 8:00 pm
- Projects: Mutagen : Journey to Haven's Landing
- Contact:
Re: What version of Python is Ren'py written in?
Who exactly is supporting and developing Pygame?
From what their site says Pygame is compatible with 3.0 minus a few modules.
This was an entry on the pygame.org faq:
"Only the scrap, _movie, surfarray for Numeric, and threads modules have not been ported. The Pygame alternative, pgreloaded (Pygame Reloaded), also supports Python 3.
The installation packages, however, are incompatible with Python 3.x, so you will have to copy - paste files from 2.x to 3.x ."
Are these modules omnipresent in Ren'Py?
PyTom, if I was to download some modules/frameworks from the main Python site/community, would they be compatible with Ren'py? My current game plans will be stretching Ren'Py and Python quite a bit and I need to know what I CAN do with Ren'Py and what I CAN'T do. Overall, I think this is the perfect engine for my game once I figure out how to make my own framework for it.
From what their site says Pygame is compatible with 3.0 minus a few modules.
This was an entry on the pygame.org faq:
"Only the scrap, _movie, surfarray for Numeric, and threads modules have not been ported. The Pygame alternative, pgreloaded (Pygame Reloaded), also supports Python 3.
The installation packages, however, are incompatible with Python 3.x, so you will have to copy - paste files from 2.x to 3.x ."
Are these modules omnipresent in Ren'Py?
PyTom, if I was to download some modules/frameworks from the main Python site/community, would they be compatible with Ren'py? My current game plans will be stretching Ren'Py and Python quite a bit and I need to know what I CAN do with Ren'Py and what I CAN'T do. Overall, I think this is the perfect engine for my game once I figure out how to make my own framework for it.
Visit my game development group's Facebook page : Timekeeper Games
Mutagen : Journey to Haven's Landing Facebook Page
Follow our Twitter feed too : TK Games
Mutagen : Journey to Haven's Landing Facebook Page
Follow our Twitter feed too : TK Games
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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: What version of Python is Ren'py written in?
Oh, I hadn't realized that pygame was now supporting Python 3. Interesting.
The thing to realize is that Ren'Py is its own environment. Some Python modules will work, and some won't - it depends on what the module does and how it does it.
The thing to realize is that Ren'Py is its own environment. Some Python modules will work, and some won't - it depends on what the module does and how it does it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
-
Friendbot2000
- Regular
- Posts: 161
- Joined: Tue Feb 15, 2011 8:00 pm
- Projects: Mutagen : Journey to Haven's Landing
- Contact:
Re: What version of Python is Ren'py written in?
Ah I see. So if I really wanted a gauranteed compatible module it would be best to tailor it towards Ren'py's environment.
Thanks for the info PyTom
Thanks for the info PyTom
Visit my game development group's Facebook page : Timekeeper Games
Mutagen : Journey to Haven's Landing Facebook Page
Follow our Twitter feed too : TK Games
Mutagen : Journey to Haven's Landing Facebook Page
Follow our Twitter feed too : TK Games
-
Friendbot2000
- Regular
- Posts: 161
- Joined: Tue Feb 15, 2011 8:00 pm
- Projects: Mutagen : Journey to Haven's Landing
- Contact:
Re: What version of Python is Ren'py written in?
I have another question PyTom. Are the bindings/libraries for DirectX and OpenGL included with the RenPy Distro or do I have to download Python tailored bindings and add them to the distro files?
Visit my game development group's Facebook page : Timekeeper Games
Mutagen : Journey to Haven's Landing Facebook Page
Follow our Twitter feed too : TK Games
Mutagen : Journey to Haven's Landing Facebook Page
Follow our Twitter feed too : TK Games
- PyTom
- Ren'Py Creator
- Posts: 15893
- 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: What version of Python is Ren'py written in?
They're included, but you have to run setup.py in the module directory to build them.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
-
Friendbot2000
- Regular
- Posts: 161
- Joined: Tue Feb 15, 2011 8:00 pm
- Projects: Mutagen : Journey to Haven's Landing
- Contact:
Re: What version of Python is Ren'py written in?
Ah I see, thanks again.
Visit my game development group's Facebook page : Timekeeper Games
Mutagen : Journey to Haven's Landing Facebook Page
Follow our Twitter feed too : TK Games
Mutagen : Journey to Haven's Landing Facebook Page
Follow our Twitter feed too : TK Games
Who is online
Users browsing this forum: Majestic-12 [Bot]