Coder Social home page Coder Social logo

servusdei2018 / tankistonline Goto Github PK

View Code? Open in Web Editor NEW
8.0 5.0 6.0 3.63 MB

A Cross-Platform Lightweight 2D Tank Multiplayer Game in Python 2/3

License: GNU General Public License v3.0

Python 100.00%
python python-3 python27 mmo tank tank-game game game-development cross-platform lightweight help-wanted

tankistonline's Issues

Roadmap

Feel free to discuss the roadmap for Tankist right here.

Error in `on_draw()` when `playSound = False`

The procedure on_draw() doesn't account for playSound = False, thus, it tries to access the is_playing() method of an un-existant object.

@window.event
def on_draw():
	window.clear()
	
	player_sprite.draw()
	
	for enemy in enemies:
		
            enemy.draw()

	    if bool(theme.is_playing()) == False: #Problematic code
	    #assumes that theme exists
	
		theme.play()

Looping theme.mp3

Currently, the game's themesong is started by

		global theme
		
		theme = vlc.MediaPlayer("sfx/theme.mp3")
		theme.play()

but when the song finishes, it doesn't loop.

Feel free to push a fix to the beta branch.

True Client/Server Connectivity

When running Tankist in a true client/server configuration, the app becomes stuck infinitely loading.

Two issues must be rectified:

  1. The server configuration must be edited to make use of address '0.0.0.0' rather than '127.0.0.1', owing to the fact that 127 is the loopback address.

  2. The client listener must be able to find the server at this network address. No fix has been identified thus far.

Teamwork

This issue is for the coordination of efforts, as well as the discussion related to contributing to TankistOnline. Please discuss changes and their implementation here.

We are currently inviting everyone to feel free to contribute.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.