A silly question
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.
A silly question
Did anyone tries to make a co-op game, or multi-player game? What do we need for such thing?
I could only find examples in Unity...
Thx for any apply and sorry for disturbing
I could only find examples in Unity...
Thx for any apply and sorry for disturbing
- CalixtheGreat
- Regular
- Posts: 72
- Joined: Thu Jun 08, 2017 12:00 am
- Projects: Zephyr Breeze Investigations
- itch: calixthegreat
- Location: Philippines
- Contact:
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: A silly question
It is possible, but not in real-time.
A few such games already exist.
A few such games already exist.
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
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- Donmai
- Eileen-Class Veteran
- Posts: 1960
- Joined: Sun Jun 10, 2012 1:45 am
- Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question, To The Girl With Sunflowers
- Projects: Slumberland
- Location: Brazil
- Contact:
Re: A silly question
xavimat created a two-player game: viewtopic.php?f=11&t=41697
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)
TOIRE NO HANAKO (A Story About Fear)
Re: A silly question
Yeah in Ren'py, if you don't already know how it'd theoretically work, then chances are slim that you'll be able to do it. I have very basically understanding of networking and I don't even know where I'd start!
One approach would require a server, you'll probably need to build an API for your client software to talk to, as well as the server side codes. Then you'll need to get your game to talk to your server - I'm not sure if Ren'py or pygame has the library to do this, but I think you'll need a websocket to enable server > client updates (don't quote me on this, my knowledge is iffy).
Another approach I guess would be peer to peer, and I don't know anything about that at all and I'd imagine it's much more complicated!
One approach would require a server, you'll probably need to build an API for your client software to talk to, as well as the server side codes. Then you'll need to get your game to talk to your server - I'm not sure if Ren'py or pygame has the library to do this, but I think you'll need a websocket to enable server > client updates (don't quote me on this, my knowledge is iffy).
Another approach I guess would be peer to peer, and I don't know anything about that at all and I'd imagine it's much more complicated!
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: A silly question
Neither Ren'Py nor PyGame has the required library. You'll need a Python Library but I can't remember exactly which one or how to set it up.
Check the forums and the linked game thread (Cops & Robbers was it?) for some more info.
Check the forums and the linked game thread (Cops & Robbers was it?) for some more info.
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
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: A silly question
That's a great idea. It has been flying in my head for a year (I found some discussion here in the forums, MMOVN search.php?keywords=mmovn )
I tried something like that with Cops&Robbers (see my signature).
I'm currently developing another program with renpy (like a Duolingo for ancient Greek), and uses also this approach. Some explanations about how it works here: viewtopic.php?f=8&t=47568#p474591
Basically, renpy can use ullib2.urlopen to send/receive data from a mysql database via a php file in a server.
I tried something like that with Cops&Robbers (see my signature).
I'm currently developing another program with renpy (like a Duolingo for ancient Greek), and uses also this approach. Some explanations about how it works here: viewtopic.php?f=8&t=47568#p474591
Basically, renpy can use ullib2.urlopen to send/receive data from a mysql database via a php file in a server.
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
- Remix
- Eileen-Class Veteran
- Posts: 1628
- Joined: Tue May 30, 2017 6:10 am
- Completed: None... yet (as I'm still looking for an artist)
- Projects: An un-named anime based trainer game
- Contact:
Re: A silly question
SSL and TLS support was added in 6.99.14... so the underlying ability is there, just not much in documentation as far as I can tell.
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
- xavimat
- Eileen-Class Veteran
- Posts: 1461
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
- Discord: xavimat
- Contact:
Re: A silly question
There is a patreon post by PyTom that explains how to do it, but it uses the requests and certify library, not present in python 2 (included in the example). https://www.patreon.com/posts/news-from-your-15636026
My example uses the older libraries included in pyhton 2.
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Majestic-12 [Bot], snotwurm