PyGame Tile Based Platformer Game Beginner Tutorial in Python - PART 1 | Creating the World

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • In this Python tutorial I code a Tile Based Platformer Game using the PyGame module. I'm going to cover the initial game setup and how to create the map
    Code & assets on my website: codingwithruss....
    Alternative link: github.com/rus...
    Code for level editor: github.com/rus...
    Note, sprites and sounds are open source:
    Sprites: kenney.nl/asse...
    Sounds: freesound.org/
    Check out my other PyGame tutorials:
    Space Invaders coding tutorial: • Pygame Space Invaders ...
    Flappy Bird coding tutorial: • PyGame Flappy Bird Beg...

КОМЕНТАРІ • 893

  • @CodingWithRuss
    @CodingWithRuss  3 роки тому +85

    Hi Folks, hope you found this tutorial useful. The code and images for the video are in the video description above.
    Let me know what you think! And don't forget to like and subscribe 😀

    • @greatfeeler4490
      @greatfeeler4490 3 роки тому +1

      Is this plarform game suitable for class12 final practical project please reply quickly it's urgent

    • @greatfeeler4490
      @greatfeeler4490 3 роки тому +1

      And how many part this have

    • @becauseimtobyfilms3559
      @becauseimtobyfilms3559 3 роки тому +1

      Thanks a lot but how would you implement a camera cause before when I made platforms manually I would just change positions, but it’s harder with this, if you you read this pls help

    • @becauseimtobyfilms3559
      @becauseimtobyfilms3559 3 роки тому

      Don’t worry after some playing around I got if you work

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому +3

      @@becauseimtobyfilms3559 Glad you got it working!

  • @soupnoodles
    @soupnoodles 3 роки тому +14

    It was a really good explanation, i really loved it, i hope you will keep making tutorials cause both your voice and explanation skills are epic!

  • @davidleaskhome
    @davidleaskhome 3 роки тому +69

    As a novice this is fantastic. I will dissect each video and learn the concepts at my own pace. You have a very clear, logical approach that is so helpful. Thank you for all your hard work. You have something special here!

  • @chillu420
    @chillu420 2 роки тому +1

    20:35 list in the description 🙂.Thanks for tutorial, it is the best.

    • @CodingWithRuss
      @CodingWithRuss  2 роки тому +1

      Oops! This video has been up for a year like this and I never noticed! Oh well, I've since added the github link to the code which has that list for people to copy :)

    • @chillu420
      @chillu420 2 роки тому

      @@CodingWithRuss ok thanks

  • @ZacLangston
    @ZacLangston 2 роки тому +1

    I am not able to make the backround show up and the sun how do i do that?

  • @amburger1984
    @amburger1984 3 роки тому +1

    thanks

  • @matteomammoliti6828
    @matteomammoliti6828 3 роки тому

    Hi a question. The level files (level0_data for example) with which program can I open them to modify them?
    And then another thing. I changed the resolution 800 * 800 only that you see everything cut out. How can I solve?

  • @ethanlong5784
    @ethanlong5784 2 роки тому

    could someone please tell me how he uses the level editor code in the game

  • @deemharbi7870
    @deemharbi7870 2 роки тому +1

    When I add a image, the window disappears. Please reply me because this problem has been going on for a year now، Sorry I use Google Translate because I am from Arab and my English is not good

  • @CodingWithRuss
    @CodingWithRuss  3 роки тому +7

    For those asking which editor I am using - it is called "Sublime Text"

  • @gabrielaxelsson6079
    @gabrielaxelsson6079 3 роки тому +20

    This is totally the best video on game coding I've ever come across. Explains everything in detail while providing will to do something alike in the future, keep it up!

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому

      Thank you, glad you find these tutorials useful!

    • @fuzoken7698
      @fuzoken7698 3 роки тому

      @@CodingWithRuss YOU ARE AWESOME!

  • @miner3d
    @miner3d 2 роки тому +2

    Your Videos are cool but I have a problem and idk what i have to do :ModuleNotFoundError: No module named 'pygame'

    • @CodingWithRuss
      @CodingWithRuss  2 роки тому +1

      Hi, you have to make sure you have pygame installed first. Check out pygame.org

  • @nightninja1219
    @nightninja1219 2 роки тому +2

    how do you put the picture into pygame which directory does it have to go in files i am using pycharm

  • @CodingWithRuss
    @CodingWithRuss  3 роки тому +26

    If you are having an error that says "FileNotFoundError: No such file or directory", make sure you have downloaded the assets (images & sounds) from the link in the description and put them into a folder called "img"

    • @hemantbisht5630
      @hemantbisht5630 3 роки тому +2

      That's ok but if you are creating a folder so it must be saved in a location like in the PC's, documents, but how do you set the location of images without any location like this

    • @rohithmatthewsgiji9206
      @rohithmatthewsgiji9206 3 роки тому +2

      Can you please help me, where do i put my folder cause i saved the pictures you uploaded in the links into a folder called img but it still says error

    • @pupulifewithmon
      @pupulifewithmon 3 роки тому +1

      @@rohithmatthewsgiji9206 me too same error

    • @muhammadfahrimuharram74
      @muhammadfahrimuharram74 3 роки тому

      @@rohithmatthewsgiji9206 make sure it is in the same directory as your current working directory, else it will not find it

    • @sahirbinsaud680
      @sahirbinsaud680 3 роки тому

      wich sofware you are using, plz tell

  • @tolqin982
    @tolqin982 2 роки тому +3

    is this sublime text ?

  • @codesudo
    @codesudo 3 роки тому +9

    Keeping grinding brother love from India ❤

  • @imakeangelscry
    @imakeangelscry 3 роки тому +17

    thanks for the 10/10 awesome tutorial. the only reason im passing computer science atm

  • @stressislazy
    @stressislazy Рік тому +2

    Also I'm making my own textures what do you recommend for the height and width? And whenever I do this code, the ground spawns at the top instead of around the whole screen.
    EDIT: I found my issue and fixed it!

  • @nishantbisht4296
    @nishantbisht4296 2 роки тому +1

    9:18
    : :
    just press "ctrl +D" to copy the content directly to next line :D

  • @bobyau8755
    @bobyau8755 3 роки тому +5

    where do you get the "sky" and "sun" image from? They are not in the folders I downloaded

  • @jaydeeppithmal307
    @jaydeeppithmal307 2 роки тому +1

    how to solve this quary
    Traceback (most recent call last):
    File "C:\Users\Admin\Downloads\Platformer-master\Part_13-Moving_Platform_Collision\platformer_tut13.py", line 408, in
    world = World(world_data)
    NameError: name 'world_data' is not defined
    in part_13

    • @CodingWithRuss
      @CodingWithRuss  2 роки тому +1

      Sounds like you've made a mistake somewhere. Check the video again and compare the code in the description to see what's gone wrong.

  •  3 роки тому +4

    I saved the sun and sky images, but I could not load them. Do I have to save the images in a specific folder? Thanks.

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому +2

      Yes, you should create a folder called "img" in the same location as your code. You will then put all the images and sounds into that folder

    • @sid_gamez8156
      @sid_gamez8156 3 роки тому +1

      @@CodingWithRuss where are the cloud and sun images?

  • @DoxxTheMathGeek
    @DoxxTheMathGeek 3 роки тому +2

    You uploud this Video on my Birthday

  • @rajbunsha8834
    @rajbunsha8834 3 роки тому +7

    It is a really helpful, good and perfect masterpiece good work keep it on.I guess your channel will go ahead

  • @minecrafter3-v7j
    @minecrafter3-v7j Місяць тому +1

    i will do this even do i dont know anything nabout pygame and i make 1000000 errors using it

  • @saichamarthy
    @saichamarthy 3 роки тому +1

    Sorry to bother you but I can not seem to have the tiles loaded in if you can please tell me what is wrong with my code I am around 17 min in the video and I used my own images here is my code:
    import pygame
    from pygame.locals import *
    pygame.init()
    # The screen vars and everthing screen
    screen_width = 1000
    screen_height = 800
    screen = pygame.display.set_mode((screen_width, screen_height))
    pygame.display.set_caption('A game?')
    #loading images
    back_img = pygame.image.load('img/background for platformer.png')
    #define main variables
    tile_size = 200
    class World :
    def __init__(self,data):
    self.tile_list = []
    #load more images
    stone_img = pygame.image.load('img/stone.png')
    row_count = 0
    for row in data:
    col_count = 0
    for tile in row:
    if tile == 1:
    img = pygame.transform.scale(stone_img,(tile_size,tile_size))
    img_rect = img.get_rect()
    img_rect.x = col_count * tile_size
    img_rect.y = row_count * tile_size
    tile = (img, img_rect)
    self.tile_list.append(tile)
    col_count +=1
    row_count +=1
    def draw(self):
    for tile in self.tile_list:
    screen.blit(tile[0],tile[1])
    world_data =[
    1,1,1,1,1,
    1,0,0,0,1,
    1,0,0,0,1,
    1,1,1,1,1
    ]
    world = World(world_data)
    #the main loop
    run = True
    while run:
    screen.blit(back_img,(0,0))
    world.draw()
    for event in pygame.event.get():
    if event.type == pygame.QUIT:
    run = False
    pygame.init()
    pygame.display.update()
    pygame.quit()

  • @presentgamer5838
    @presentgamer5838 3 роки тому +1

    Can use android in mobile the typing make easy

  • @Shy_Guy_5087
    @Shy_Guy_5087 3 роки тому +10

    Thanks a lot Russ you made my day by making a course worth 1000s available for free . Thanks a lot once again may god bless you and your channel get 1 M subs soon

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому +1

      Thanks for the kind words, I'm glad you found the tutorial helpful :)

  • @strumbi217
    @strumbi217 3 роки тому +1

    The tutorail is really good but for me
    planine_img = pygame.image.load("Za igricu/planine.jpg")
    Does not work. The name of the folder is "Za igricu" and the name of the picture in that folder is "planine.jpg" and it says that such a fail does not exist.
    Does someone knows what's the problem?

    • @QX3R01
      @QX3R01 3 роки тому

      Space in the folder name. Replace the space with a _

    • @strumbi217
      @strumbi217 3 роки тому

      @@QX3R01 It still does not work

  • @jijumukundan6917
    @jijumukundan6917 3 роки тому +1

    Actually I have a problem... My pygame window becomes black

    • @MikMok
      @MikMok 3 роки тому

      Exactly whats happening to me. Are you using replit.com too? Cuz maybe thats the problem

  • @senukaweerasinghe7052
    @senukaweerasinghe7052 2 роки тому +1

    sprites link is not work

  • @JaySunPlays
    @JaySunPlays 2 роки тому +1

    Amazing vid, just how do you actually put in the image files? I'm a bit confused how you format it.

    • @JaySunPlays
      @JaySunPlays 2 роки тому +1

      Never mind I figured it out.

  • @THERIFZ
    @THERIFZ 3 роки тому +1

    run = False
    ^
    IndentationError: expected an indented block
    how to fix it?

    • @chxostech
      @chxostech 3 роки тому

      idk
      not sure

    • @smritiroy6526
      @smritiroy6526 3 роки тому +1

      Make sure it is like this:-
      if event.type == pygame.QUIT:
      running = False
      the indentation matters it's basically like when the action happens i.e. quit it will stop running which is decided by the indentation.

    • @THERIFZ
      @THERIFZ 3 роки тому

      @@smritiroy6526 okeyyy thanks bro

    • @THERIFZ
      @THERIFZ 3 роки тому

      @@smritiroy6526 but i have another problem with world=(world(worl_data)
      Indentation eror

    • @sahirbinsaud680
      @sahirbinsaud680 3 роки тому

      ing, plz tell

  • @7ammar7
    @7ammar7 2 роки тому +1

    Hi Russ I love Ur vids
    Hey I made ur game using the Tutorial u make
    Its on FaceBook

  • @rlspino
    @rlspino 3 роки тому +2

    Do you have a discord account or any server so that I can ask some questions?

  • @lincolnstibbs3382
    @lincolnstibbs3382 3 роки тому +1

    What python on you using I’m trying it on 3.7 idle and it’s not working

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому

      I used sublime text editor. Not sure the version of python at the time but it is 3.x so you should be able to run it

  • @marwantamer6121
    @marwantamer6121 3 роки тому +12

    always amazing videos youtube algorithms ignores them

  • @mr.marciniak6982
    @mr.marciniak6982 3 роки тому +1

    I got lost add the images part lmao. How to I import images on my pycharm

  • @mayanksethia4209
    @mayanksethia4209 3 роки тому +1

    hi.can i make this game on PYTHON IDLE ??

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому

      I'd recommend using a decent IDE. I use sublime text editor which you can try for free

  • @yatharthyadav4351
    @yatharthyadav4351 3 роки тому +1

    X = 'Thank u so much'
    I = 0
    While I =< 1:
    print(X)

  • @santhoshp4269
    @santhoshp4269 Рік тому +1

    Can someone please tell me if I can follow this tutorial even if I know nothing about Pygame? I'm pretty decent in Python but that's about the only thing I know 👀

    • @CodingWithRuss
      @CodingWithRuss  Рік тому +1

      It's a beginner friendly tutorial and I explain everything step by step in it so if you are already familiar with python then this should be fine. :)

    • @santhoshp4269
      @santhoshp4269 Рік тому

      @@CodingWithRuss Ahhh I'm glad to hear that :D Thanks a lot of replying man, I'll be sure to check out your playlist!

  • @AaronJosephAlbert
    @AaronJosephAlbert 2 роки тому +2

    I knew it would be a great tutorial from the beginning, thanks a lot😀😃😃😄😁👍👏👏👍

  • @davysabbe3341
    @davysabbe3341 3 роки тому +11

    Very good tutorial! Just finished the first part and everything is explained very well and at a good pace! Looking forward to the following parts

  • @kpacccavchik
    @kpacccavchik 3 роки тому +1

    i type code in pycharm and it show me next wrong:
    unused import statement 'from pygame.locals import *' :2
    .
    but generally code readable
    thanks for your awesome guides!

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому

      Thank you! That's fine, I import them in the first video but they are used later on, so this message will disappear :)

  • @UpperLevelHero
    @UpperLevelHero Місяць тому

    Your video is very good. Please help me with something. My screen is showing the height and width as very large. How can I reduce it
    😭😭😭😭😭😭😭😭😭

  • @CodingWithRuss
    @CodingWithRuss  3 роки тому +6

    Part 2 - "Creating the player" now uploaded: ua-cam.com/video/W_JRd3ntyBg/v-deo.html

  • @andrewnketsiah2224
    @andrewnketsiah2224 3 роки тому +3

    Can you make a video about how to animate sprite sheets?

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому

      Hi, I've just uploaded the 3rd video for this platformer, which shows how to do animation: ua-cam.com/video/gaGh-zlkrtE/v-deo.html

  • @liltrollham13
    @liltrollham13 3 роки тому +2

    How do I implement the pack into my pycharm?

  • @kannappankannappan4279
    @kannappankannappan4279 Рік тому +1

    Hi bro...Thank you so much. I finished my project successfully with 10 levels because of you. And I need one more help from you. I don't know how to convert my file to .exe file???please bro help me

    • @CodingWithRuss
      @CodingWithRuss  Рік тому +1

      Hi, yes sure, I have a video on that here: ua-cam.com/video/2X9rxzZbYqg/v-deo.html

    • @kannappankannappan4279
      @kannappankannappan4279 Рік тому +2

      Thank you Russ...You are a Teacher. You don't know how its helped me. Now I converted .py file to .exe file. An amazing video. Once again Thank you Man!!!🤩🤝🙏

    • @CodingWithRuss
      @CodingWithRuss  Рік тому +1

      @@kannappankannappan4279 No problem :)

  • @askaas
    @askaas 2 роки тому

    Pls can you tell me the best editor to use for games

  • @ITNSHARE
    @ITNSHARE 3 роки тому +3

    Bro you should be getting way more subscribers from this!!! So i'll subscribe

  • @fuzoken7698
    @fuzoken7698 3 роки тому +2

    because of this video now i know how to add pictures in python THANK YOU!

  • @WhatsNextFam
    @WhatsNextFam Рік тому

    so ive got the sky and sun downloaded into the img file and its all running smoothly now but because screen height and width wasnt at 1000 cause it was to big for my screen the sky img isnt fitting correctly. is their anyway i can somehow zoom out of the image on my window? i cant get all four clouds to be inside my window screen.. someone please help

  • @NibloTheAlien
    @NibloTheAlien 3 роки тому

    I KEEP GETTING NO SUCH FIILE OR DIRECTORYY ERROR WHEN I TRY AND ADD IMAGES, shit is so stupid

  • @bubblegum8467
    @bubblegum8467 2 роки тому

    Traceback (most recent call last):
    File "C:\Users\\OneDrive\Documents\python\Platformer.py", line 32, in
    for row in data:
    NameError: name 'data' is not defined
    help please, I copied everything exactly

  • @joserodellastudela7265
    @joserodellastudela7265 2 роки тому

    Cool, but prefer Unix system V and BSD, for example freebsd with C/C++ and pascal.
    Cool demoscene.

  • @sonitigga1910
    @sonitigga1910 2 роки тому +1

    can you tell me what width and height should i keep for my 15.6 Hd displlay pc pls

    • @CodingWithRuss
      @CodingWithRuss  2 роки тому

      It depends on your screen resolution. You could try 800 x 800. But you have to adjust the size of the other items to match.

    • @sonitigga1910
      @sonitigga1910 2 роки тому

      @Coding With Russ thank you to are very genuine and kind. I am currently working on the shooter that you made. I am a complete
      Noob in coding if u don't mind will u help me please.

  • @joserodellastudela7265
    @joserodellastudela7265 2 роки тому

    Have 46 years but 19 years make game how this.
    Prefer freebsd Unix and openbsd, and aix, all with C/C++.
    More 24 computers in my laboratory.

  • @Natertanker27
    @Natertanker27 Місяць тому

    For the path do I put the full path or just what is after the user name? When I put the full path or the part after the user it gives an error and the window just opens and closes quickly.

  • @dilemmaedits
    @dilemmaedits 3 роки тому +1

    My images and screen width and screen height is over the screen
    I have big screen pc
    I do not know what is the error

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому +1

      I made this game a bit too big. You can make it smaller by changing the screen_width and screen_height variables, then adjusting tile_size so it equal to screen_width / 20.

    • @dilemmaedits
      @dilemmaedits 3 роки тому

      @@CodingWithRuss I got it.
      Thanks for replying 😁😁

  • @dualsort7028
    @dualsort7028 3 роки тому +1

    Bro im facing a problem with 17th line its ,sun_img = pygame.image.load('img/sun.png')
    FileNotFoundError: No such file or directory.
    And i also downloaded the sun.png... please help me

    • @willallen9942
      @willallen9942 3 роки тому

      Make sure the sun.png and the program are in the same file. If it still doesn't work, try deleting the img/ part. Mine is just ("sun.png") and it works fine.

  • @Sam-cz7ck
    @Sam-cz7ck 3 роки тому +3

    This video is awesome!! Thank you for the awesome explanation 😊

  • @Alexander-oh8ry
    @Alexander-oh8ry 3 роки тому

    My personal Tip is: Don´t make games in Python, this tutorial seems to be good, but python sucks for this stuff. Try scratch, GameMaker, Unity, Godot, depending on your level and preferences

  • @joserodellastudela7265
    @joserodellastudela7265 2 роки тому

    Xbill was make programmer in C/C++, have someone code python.
    Whois of Unix need perl.
    Ummm

  • @NotNagruf
    @NotNagruf Рік тому

    I did everything the same but it says ModuleNotFoundError: No module named 'pygame'

  • @noirthmpsn
    @noirthmpsn 10 місяців тому

    Hey! great video. Any idea why my screen is longer (height) than my settings? My png display isnt filling the black space. help please 😅

  • @Yahya-wx3ke
    @Yahya-wx3ke 3 роки тому

    bro what's the size of your background image? mine is 100 x 100 mm but still the full image isn't coming..

  • @davidmakanju2238
    @davidmakanju2238 2 роки тому

    I'm using Visual Studio Code for this. Will it still work? My screen isn't appearing when I run the file so I'm just wondering

  • @aska6607
    @aska6607 3 роки тому +1

    sun_img = pygame.image.load('img/sun.png')
    it is not running . There is a mistake maybe!

    • @zapor7209
      @zapor7209 3 роки тому

      do you understand why?

    • @aska6607
      @aska6607 3 роки тому

      @@zapor7209 I don't know, maybe it's about python 3 or else

    • @aska6607
      @aska6607 3 роки тому

      ​@@zapor7209 ohh i already forgot it.Sorry but can you find the correct answer yourself?

  • @patricklai4604
    @patricklai4604 3 роки тому +1

    May I ask how to add the files given by you to my project? I tried opening the file in PyCharm but unsuccessful. Thanks!

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому

      I haven't used pycharm much, I use sublime text editor but it should work in the same way. Save the files on your pc and run the code

  • @umasankari9101
    @umasankari9101 Рік тому +1

    i have a problem where can i get those character

    • @CodingWithRuss
      @CodingWithRuss  Рік тому

      The code and assets are linked in the video description

  • @aycoded7840
    @aycoded7840 2 роки тому

    I don't like how he basically said to stop copying part way through the episode, but then starts the next one acting as if you have copied it already.
    Also, just ignore the magic function? Not going to explain what it does or how it works? I mean, if they are going to explain it later, I still think they should give a reassurance and explain that they will explain it later.
    Other than that, the first half was good.

  • @coxinha3321
    @coxinha3321 2 роки тому +1

    thank you very very very much, you help me a lot

  • @mrvenkatd
    @mrvenkatd 2 роки тому

    can u help me past this error
    TypeError: draw() missing 1 required positional argument: 'self'

  • @JaySunPlays
    @JaySunPlays 2 роки тому +1

    I do have another question, how do you adjust the sizes to fit the page?

    • @BrawlGenius
      @BrawlGenius 2 роки тому

      i think it depends on your screen width and height, and you can adjust the 'tile_size' variable to align it with the dimensions of your game. Another method to do this is to use some simple math. Im not sure if this works when screen width and height are different values but here is what i did:
      1. multiply screen width by height(for me it was 460 x 460 = 211,600)
      2. divide your result by the number of tiles.(in my case i have 16 tiles so 211,600/16 = 13,225)
      3. take the sqaure root of your number and assign it to the 'tile_size' variable(in my case the sqrt of 13225 is 115 so tile_size = 115)
      hopefully this helps to align the grid with your screen

  • @twitchwodocat_1492
    @twitchwodocat_1492 Рік тому

    HEY Russ, i cant open the assets link. And where can I dowland the blocks and stuff like that?

  • @baibars5191
    @baibars5191 3 роки тому

    🙄😖🥺🥺🥺🥺i cannot get it its tough
    how did you learn coding plz tell

  • @blazingbeast3214
    @blazingbeast3214 2 роки тому

    Maybe it's just me but he's going too Fast, just wanted to say and it's really hard for me to understand.

  • @aurastick1
    @aurastick1 3 роки тому

    You sound like Griffpatch... you wouldn't who that is :|

  • @AyanJain-w8k
    @AyanJain-w8k Рік тому +2

    W tutorial

  • @manthilaranatunga5142
    @manthilaranatunga5142 3 роки тому +4

    This was a really good tutorial. I'm just getting into OOP and this was very helpful.

  • @Reviksedy
    @Reviksedy 3 роки тому +3

    god thank you i found this vid

  • @edewe2007
    @edewe2007 2 роки тому

    HI,I can't find the image for this .Can someone please tell me how after I download the zip file

  • @B3a5t0
    @B3a5t0 3 роки тому +1

    can u please tell me that is this python software

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому

      Yea its python using the pygame module. I code using sublime text editor in these videos

  • @enderblueminecraft5578
    @enderblueminecraft5578 3 роки тому +2

    You are seriously underrated. You need to get 1 million subs by now!!!

  • @giorgiramishvili9958
    @giorgiramishvili9958 2 роки тому

    i don't get the part where you do sky_img and bg_img I did it and when I tried It Appeared for a second and then disappeared

  • @mepara3658
    @mepara3658 2 роки тому

    hey, so great tutorial, but could someone tell me what is it saying at the end of the lines in def draw_grid(): the time is 7:13

  • @sanjayjeevan143
    @sanjayjeevan143 2 роки тому +1

    U r osm..❤️❤️❤️bro U make a Lots OG games..For.Giving Us best Experience

  • @smasherking2522
    @smasherking2522 3 роки тому +1

    how do u run this, means what shotcut key you use to run the game or run the cmmand plz anyne tell

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому

      Did you figure it out? on sublime text editor the shortcut is ctrl+B. if you are using a different editor you need to look up how to run the code

    • @smasherking2522
      @smasherking2522 3 роки тому

      @@CodingWithRuss i press that but no game screen comes

  • @xyzxyz6095
    @xyzxyz6095 Рік тому +1

    Awesome. Thank you for sharing this with the rest of the world. Be Blessed. Salutations from France.

  • @NotMrKlapu
    @NotMrKlapu 3 роки тому

    i did the whole code but the problem was that the game window opened was black and lefted straight away

  • @ossamaaydar4290
    @ossamaaydar4290 3 роки тому

    Je n'ai pas vu quand il a été créé if self.map == 'world' and self.player.feet.colliderect(self.enter_house_rect):
    self.switch_house()
    self.map = 'house'

  • @JesusGines-ne5eq
    @JesusGines-ne5eq 4 місяці тому

    the sun.img not found in the assets folder can you help me with this

  • @animapanda200
    @animapanda200 2 роки тому

    Please help it is saying no image found in work directory of my game location

  • @rubberduck9038
    @rubberduck9038 2 роки тому

    Whenever i write the loop to keep it running it just comes up with problems and does not work

  • @eaglemation213
    @eaglemation213 3 роки тому +1

    not working the sun and sky don't work

    • @peterramstedt6260
      @peterramstedt6260 3 роки тому +2

      it will if you import it from your asset folder (not the same folder as shown in the video as yoou probably have a different path to the images? try something like ('./assets/sun.png') if you use a folder called assets

  • @YowzaZH
    @YowzaZH 3 роки тому

    Hey, that game over sound is from brawl of the objects

  • @jyothikandlagunta2888
    @jyothikandlagunta2888 2 роки тому

    I don't have Sublime text 3. What would I use?

  • @GutsIsTheGoat_
    @GutsIsTheGoat_ Рік тому

    when i try to run after i set the images it gives me an error whit something that says like its not in the dictionary or something like that do u know how to fix it?

  • @rudranilagiri4571
    @rudranilagiri4571 3 роки тому +2

    Hello, Your videos are amazing I have been watching for 1 and a half year now. Though I had a problem when I was doing this at part 13 and finished whenever I tried to run it, it wouldn't recognize the images, it was saying that they didn't exist.

    • @CodingWithRuss
      @CodingWithRuss  3 роки тому +1

      Hi, thank you! It means the images are not where it things they are. So make sure you download them all and put the correct file location into the code

    • @rudranilagiri4571
      @rudranilagiri4571 3 роки тому +1

      @@CodingWithRuss Could you please explain more about that, and please tell me where to put them, because I moved them to a specific folder on the desktop where I saved all my code and it still wouldn't work. please help!

    • @basharmina2345
      @basharmina2345 3 роки тому +1

      @@rudranilagiri4571 Did you solve the problem?because I am having the same problem

    • @technobladed1
      @technobladed1 3 роки тому

      I've go the same problem too