Is it possible to make a Ren'py game "Online"?

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
Gustavs14
Regular
Posts: 44
Joined: Mon Apr 03, 2017 2:06 pm
Contact:

Is it possible to make a Ren'py game "Online"?

#1 Post by Gustavs14 » Tue Apr 04, 2017 2:09 pm

I'm thinking along the lines of making an "online" tournament, with diffirent winning/losing brackets etc.

You would be able to sign up for it online and "compete" against others and get some prizes or something, for example.

If any additional info is needed, then I'll respond, but I hope you get my idea. Is Ren'py engine possible of doing something like this?

Thanks!

User avatar
Saltome
Veteran
Posts: 232
Joined: Sun Oct 26, 2014 1:07 pm
Deviantart: saltome
Contact:

Re: Is it possible to make a Ren'py game "Online"?

#2 Post by Saltome » Tue Apr 04, 2017 2:21 pm

Well, renpy does support both multithreading, and sockets. Encryption too, I think. So yes, it should be possible.
But unless you are making a visual novel mmo(Which is still an unfulfilled niche.), you might wanna pick a more specialized approach.
Deviant Art: Image

Gustavs14
Regular
Posts: 44
Joined: Mon Apr 03, 2017 2:06 pm
Contact:

Re: Is it possible to make a Ren'py game "Online"?

#3 Post by Gustavs14 » Tue Apr 04, 2017 3:19 pm

Saltome wrote:Well, renpy does support both multithreading, and sockets. Encryption too, I think. So yes, it should be possible.
But unless you are making a visual novel mmo(Which is still an unfulfilled niche.), you might wanna pick a more specialized approach.
No idea how most of that works currently, but that's good to know, I guess!

And I have no intentions of making an "MMO", just an educational game where you can compete with others in a tournament to test your skills against an opponent etc, basically, I'm trying to make something that will help people "study" more efficiently with different means other than school work, and I think this type of experiment could be really interesting and work if people can compete against each other for their skills etc. There will be lessons where to learn all the stuff, different things etc.

Think it could work? :P

User avatar
pinto minto
Regular
Posts: 31
Joined: Sun Aug 07, 2016 3:48 pm
Projects: Skeletons of a Demon
Location: USA
Contact:

Re: Is it possible to make a Ren'py game "Online"?

#4 Post by pinto minto » Tue Apr 04, 2017 4:43 pm

I'm a newb when it comes to renpy, but I do remember of one or two people taking up on the challenge of making an online game with renpy, so yeah I think it is possible...

User avatar
xavimat
Eileen-Class Veteran
Posts: 1433
Joined: Sat Feb 25, 2012 8:45 pm
Completed: Yeshua, Jesus Life, Cops&Robbers
Projects: Fear&Love, unknown
Organization: Pilgrim Creations
Github: xavi-mat
itch: xavimat
Location: Italy
Contact:

Re: Is it possible to make a Ren'py game "Online"?

#5 Post by xavimat » Tue Apr 04, 2017 6:52 pm

Take a look at Cops&Robbers (in my signature). It's not the same think you want, but it uses a web server to share info between two players that 'compete' to get to the end of the game. The info is not shared in real time though, but with some seconds of delay, so no p2p combat but an actual challenge between them.

I'm currently making (with renpy) a learning program/(pseudo)game that uses this approach too, to learn ancient Greek.
I'm imitating the style of duolingo.com a web+app to learn modern languages with a gamified approach. (Take a look at it, it's great and have an exp points system to 'compete' with your friends)

Internally, I'm using ulrllib2.urlopen in Ren'Py to connect with a page in internet. And php+SQL in the webpage to add/retrieve the data to/from the database.

So, the answer to your question is yes it's possible with Ren'Py. That said, the other question is 'is Renpy the best option to do this?' I can't say, I'm not a pro. I'm using it for reasons (the visual engine is already there), surely there are other platforms to do that (I guess).
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Cops&Robbers A two-player experiment
Fear&Love Why can’t we simply express our feelings? Why am I afraid to say ‘I love you’?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

User avatar
Imperf3kt
Lemma-Class Veteran
Posts: 2767
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: Is it possible to make a Ren'py game "Online"?

#6 Post by Imperf3kt » Wed Apr 05, 2017 6:46 pm

I was looking into this myself for the purposes of an educational tool.

Good to see its possible and even that xavimat has a working example!
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

Twitter

Post Reply

Who is online

Users browsing this forum: Bing [Bot]