Python 2D Tank MMO -- Collaboration

Python 2D Tank MMO -- Collaboration

Postby Ntech » 30 May 2019, 21:53

I'm working on a cross-platform, lightweight and opensource 2D Tank MMO -- TankistOnline. https://github.com/servusDei2018/TankistOnline

If anyone wants to help out, this is a great small-project. Thanks :)
Deo gratias, Ave Maria
User avatar
Ntech
 
Posts: 39
Joined: 30 May 2019, 20:40

Re: Python 2D Tank MMO -- Collaboration

Postby Julius » 31 May 2019, 19:46

Thanks for sharing, seems like a interesting idea.

Sorry for the slight delay in approving this post... I was travelling and didn't have access to internet. In face this might happen more often in the next 4 weeks or so.
User avatar
Julius
Community Moderator
 
Posts: 2574
Joined: 06 Dec 2009, 14:02

Re: Python 2D Tank MMO -- Collaboration

Postby dulsi » 01 Jun 2019, 05:02

I tried it will playSound set to False. It fails at "if bool(theme.is_playing()) == False:". I commented out that and the line below it. I can run it now.

It would be nice to include screen shot or at least some information about the state. Not at a playable state but that's ok. Did you create the tanks? They look good.
dulsi
 
Posts: 299
Joined: 18 Feb 2016, 15:24

Re: Python 2D Tank MMO -- Collaboration

Postby Ntech » 03 Jun 2019, 16:18

dulsi {l Wrote}:I tried it will playSound set to False. It fails at "if bool(theme.is_playing()) == False:". I commented out that and the line below it. I can run it now.

Thanks for pointing that out, I'll fix that right away.

dulsi {l Wrote}:It would be nice to include screen shot or at least some information about the state. Not at a playable state but that's ok. Did you create the tanks? They look good.

I got the blue tank from OpenGameArt, and edited it to make a red version.
Deo gratias, Ave Maria
User avatar
Ntech
 
Posts: 39
Joined: 30 May 2019, 20:40

Re: Python 2D Tank MMO -- Collaboration

Postby Ntech » 04 Jun 2019, 20:08

New fixes, Commit #13.

Added Window Icon, made game scrollable. Next week I'll implement the Server (finally!). As always, https://github.com/servusDei2018/TankistOnline
Deo gratias, Ave Maria
User avatar
Ntech
 
Posts: 39
Joined: 30 May 2019, 20:40

Re: Python 2D Tank MMO -- Collaboration

Postby drummyfish » 04 Jun 2019, 20:37

Sounds great, thank you for sharing :) Could you add a few screenshots here and/or in the README? Without them it's much more difficult to get attention for a project.
socialist anarcho-pacifist
Abolish all IP laws. Use CC0.
http://www.tastyfish.cz
User avatar
drummyfish
 
Posts: 210
Joined: 29 Jul 2018, 20:30
Location: Moravia

Re: Python 2D Tank MMO -- Collaboration

Postby Ntech » 04 Jun 2019, 22:12

Image
Screenshot of Commit #13.

Coming up: A server, background.
Deo gratias, Ave Maria
User avatar
Ntech
 
Posts: 39
Joined: 30 May 2019, 20:40

Re: Python 2D Tank MMO -- Collaboration

Postby palrogg » 19 Jul 2019, 17:48

Looks great!

I'd be glad to help a bit with the client code, although I already struggle to continue developing two game projects with friends. I also have some Ubuntu servers at hand, if you'd like me to host a test server for some time.

Are you sure you want to write the whole multiplayer network code? It could get nightmarish. There's some nice libre licensed multiplayer libraries, such as Lance and Colyseus (both are in NodeJS).

This isn’t a good multiplayer example, but I made a little "sandbox" multiplayer game two years ago using custom server code, which would be much, much easier to improve if I used Colyseus (code here, hosted there, I mainly used EndlessSky’s great sprites and sounds).

Also, Python 2’s end of life is in 5 months, are you sure about the server in Python 2.7? I struggled with NodeJS at first, but it’s great for web sockets.

I send you a pull request in a few minutes (booleans for movement requests and key press / release instead of on_text_motion :-) )
GitHub / LGPL platformer: Edgar the Explorer
User avatar
palrogg
 
Posts: 37
Joined: 13 Feb 2016, 14:26
Location: Geneva

Re: Python 2D Tank MMO -- Collaboration

Postby Ntech » 19 Jul 2019, 18:27

I'd be glad to help a bit with the client code, although I already struggle to continue developing two game projects with friends.

Sure, that's fine. Any help is great :)

I also have some Ubuntu servers at hand, if you'd like me to host a test server for some time.

That would be perfect! I planned to use repl.it (http://www.repl.it) to host a server, but getting all the data on/off of repl.it each time I update something would be harder than being able to download the data in a zipfile. Once the server is working properly, repl.it would work fine.

Are you sure you want to write the whole multiplayer network code?

I have some experience coding MUDs (a multiplayer text-game) so I think I could be able to pull something off for TankistOnline.

Thanks for the pull request, and yes, I'll be working on a update to the server which would make it 100% Python 3.
Deo gratias, Ave Maria
User avatar
Ntech
 
Posts: 39
Joined: 30 May 2019, 20:40

Re: Python 2D Tank MMO -- Collaboration

Postby palrogg » 20 Jul 2019, 10:41

Great! I PM you :-)
GitHub / LGPL platformer: Edgar the Explorer
User avatar
palrogg
 
Posts: 37
Joined: 13 Feb 2016, 14:26
Location: Geneva

Who is online

Users browsing this forum: No registered users and 1 guest