Python Online Game Tutorial #1 – Creating a Client Using Sockets

42
5



This python online game tutorial series will show you how to create a scale-able multiplayer game with python using sockets/networking and pygame. This video will show how to create a basic client and in the next videos will code a server and connect our clients to it.

Source Code:

How to Install Pygame:

Pycharm Download:

**************************************************************
WEBSITE:

proXPN VPN:
Use the Code “SAVE6144” For 50% Off!

One-Time Donations:

Support the Channel:

Podcast:

Twitter:

Join my discord server:
**************************************************************

Please leave a LIKE and SUBSCRIBE for more content!

Tags:
– Tech With Tim
– Pygame
– Online game tutorial
– Python online game tutorial
– Python Tutorials

Nguồn: https://bdshub.net

Xem thêm bài viết khác: https://bdshub.net/game/

42 COMMENTS

  1. i have a problem. When try running this script, it says me this " if keys[pygame.K_DOWN]:

    ^

    IndentationError: unindent does not match any outer indentation level" any ideeas? im on python 3.8

  2. Help !! I always get an error when i code import pygame, i am in a hurry and need this for my school project. I basically tried to install python and it apparently installed the 32 bit version. Is this why im getting an error ?

    Collecting pygame

    Using cached https://files.pythonhosted.org/packages/0f/9c/78626be04e193c0624842090fe5555b3805c050dfaa81c8094d6441db2be/pygame-1.9.6.tar.gz

    Complete output from command python setup.py egg_info:

    WARNING, No "Setup" File Exists, Running "buildconfig/config.py"

    Using WINDOWS configuration…

    Download prebuilts to "prebuilt_downloads" and copy to "./prebuilt-x86"? [Y/n]Traceback (most recent call last):

    File "<string>", line 1, in <module>

    File "C:UsersbarisAppDataLocalTemppycharm-packagingpygamesetup.py", line 194, in <module>

    buildconfig.config.main(AUTO_CONFIG)

    File "C:UsersbarisAppDataLocalTemppycharm-packagingpygamebuildconfigconfig.py", line 210, in main

    deps = CFG.main(**kwds)

    File "C:UsersbarisAppDataLocalTemppycharm-packagingpygamebuildconfigconfig_win.py", line 576, in main

    and download_win_prebuilt.ask(**download_kwargs):

    File "C:UsersbarisAppDataLocalTemppycharm-packagingpygamebuildconfigdownload_win_prebuilt.py", line 302, in ask

    reply = raw_input(

    EOFError: EOF when reading a line

    —————————————-

    Command "python setup.py egg_info" failed with error code 1 in C:UsersbarisAppDataLocalTemppycharm-packagingpygame

  3. hy tim whwn i m running the code , virtuaiization of client gets opening and disabled in few secs it was not giving output can u plz share ur views regarding it…plzzz

  4. Hey Tim, thanks a lot for making this series, it helped me a lot!!
    Could you please make a tutorial on how to do the same with twisted please.
    Thank you !!

  5. I shouldn't be as excited as I that I was the 10,000th viewer of this video lol. Also, great tutorial, you helped me a lot!

  6. can you pls show, how to make this run on a real server? i saw u have filezilla. i only can find videos for local host servers.

  7. Please! I need help, I'm using pyCharm and I downloaded pyGame through terminal but when I type import pygame it says import pygame ModuleNotFoundError: No module named 'pygame'

LEAVE A REPLY

Please enter your comment!
Please enter your name here