Тэги:
#tech_with_tim #pygame_tutorial #pygame_space_invaders #pygame_space_invaders_tutorial #python_pygame #python_pygame_tutorial #python_space_invadersКомментарии:
How do we add a background music
ОтветитьHi my code seems to encounter an error with the velocity in enemy.move(enemy_vel) is there anyone who can help
Ответитьi need help. the enemies are shooting before they appear on screen, what do i do?
Ответитьi have a problem in moving the red square up down and right in the beginning,, can anyone help?
Ответитьthank you so much my brother Tech With Tim i'm using this for my final project
ОтветитьGreat content! I was wondering how can I add some sound effects as well!?
Thanks so much for this amazing tutorial!
“For i in range (wave length)” what is I? Is it just a place holder or is “i” a convention?
ОтветитьHave to be a master of debugging with the power of the Sharingan to get it to work. Respect if you got it to work in the end!
ОтветитьThankyou sir loved this one
Ответитьcan someone help me find the source code?
Ответитьwindow.blit(self.ship_img, (self.x, self.y))
TypeError: argument 1 must be pygame.Surface, not None
helppp
in _init_
self.mask = pygame.mask.from_surface(self.ship_img)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument 1 must be pygame.surface.Surface, not str
I do not know why this is wrong can someone help
this was great, i actullay understand most of this :D, maybe you go a little fast for me, but i just have to slow down the speed of the vid! Great job!
ОтветитьI don't really understand why there were Laser methods within the Ship class instead of all of them being in the Laser Class
ОтветитьThank you for this amazing tutorial
Ответитьits broken now it cant find the files
Ответитьin line 39 when i am trying to call main function , the balck window is opening but it does not close ?? plz give me any solution
ОтветитьWhen I press shoot while aligned with an enemy, the enemy just disappears instead of doing so after colliding with my laser, in fact my laser doesn't even show up. Does anyone know why that happens?
ОтветитьTypeError: function missing required argument 'size' (pos 2) i got this error can someone help me solve TY
Ответитьi cant move the ship so which key i should use to move the ship
ОтветитьThanks!
ОтветитьJust finished your beginners oygame tutorial. Was so badly hoping you would have a tutorial for this (I feel this is the next step to that video) and obviously you pulled through! Dunno how I would have felt following a tutorial from somebody else. You are an Amazing tutor
ОтветитьWhere we need to do this
Ответитьm
Ответитьdoes anybody know how to add background music to the game and maybe even sound effects
ОтветитьAwesome tutorial man!
ОтветитьThank you so much for this tutorial. Your projects are really helping me practice skills and get more confident.
Ответитьcan you try doing the asteroids game
Ответитьinstructions unclear, gave my cat a borito
Ответитьi made the r button for reset or run = False
ОтветитьHello
Ответитьdoes anyone else have the problem if you put the cooldown = 10 and you spray bullets that you get an error message after a while ask chat gpt great guy fixed my problems :)
ОтветитьTiny tweak might be NOT to immediately remove enemy ship after you hit it (either with laser or player ship) because that removes also the enemy's laser beams and that is not how the space fight looks like in real life. That means that invisible ship cannot shoot, crash into player or score points.
ОтветитьSomething I am having trouble with is even before the enemies come on screen on mine it's like a waterfall of lasers coming at me, whereas on his version they don't shoot until they come on screen; I'm wondering if anyone knows why that would be happening? I'm getting back into python and following some more tutorials because I love these game tutorials. They give you a good wide area of knowledge and examples.
ОтветитьI can't do it because I don't know how to put it into my program (which I am using Thonny), can you reply and give me some feedback? It would really mean a lot to me!
Ответитьi wuvv u my pookie wookie i also goon to u my pepe is blue
ОтветитьAwesome, Tim! Kudos! Greetings from Brazil!
ОтветитьMy enemies just spawn and disappears what do i do😢
Ответитьmake it easier
Ответитьi used chatgpt dont use chatgpt it destroys innoccent code
Ответитьsome errors are not errors
ОтветитьCan anyone tell me, why would i make a game in pygame when i can use the game engine?
ОтветитьI prefervmy coding standards much shorter and it looks like space invaders
ОтветитьHow did you create the assets?
ОтветитьThis is one of the best pygame tutorials online because he tells you what each step does
Ответить