adding numpy functionality?

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.
Post Reply
Message
Author
superduf
Newbie
Posts: 2
Joined: Fri Apr 10, 2015 5:03 am
Contact:

adding numpy functionality?

#1 Post by superduf »

I'm evaluating renpy for constructing a game environment that may require the functionality provided in numpy. I see after a bit of searching around the forums - and just trying 'import numpy' - that it isn't provided in the customised python included in the renpy distribution for mac (haven't tried other platforms). I suppose it's a rather inconvenient module to include (suggested here: http://lemmasoft.renai.us/forums/viewto ... mpy#p76210).

So I have to ask though - is it possible to add numpy via a framework like renpygame? Or would I need to build a custom version of renpy or somesuch?

Or maybe I've missed something - like simply adding a pathway (somewhere?) to a system-wide installation of numpy...?

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: adding numpy functionality?

#2 Post by PyTom »

You'd have to build a custom version of Ren'Py.
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

superduf
Newbie
Posts: 2
Joined: Fri Apr 10, 2015 5:03 am
Contact:

Re: adding numpy functionality?

#3 Post by superduf »

Ok - thanks for replying so quick! Good to know there _is_ a way...

Uhm...after a quick look at the source tarball, are there build instructions somewhere?

thanks!

User avatar
PyTom
Ren'Py Creator
Posts: 16096
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: adding numpy functionality?

#4 Post by PyTom »

You can see what we have on http://www.github.com/renpy/renpy . But honestly - building Ren'Py is really hard.
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

Post Reply

Who is online

Users browsing this forum: Google [Bot]