I added the code for replacing the boring rectangle with an image in the description! I'll be covering proper texture loading in ep. 4 most likely. Thanks for watching!
Very organized code and scripts, well done.👍You are one of the only people who does this, and you do it well my guy. Keep up this series please! It is so much fun.
These video's are amazing, I started coding my own game not so long ago and thats going quite well, however besides player movement, animations and collisions, i don't quite know how it all works. Your code is well structured and you explain everythink very nicely. Thank you so much, you are a big help ( :
Good video, just pointing out that due to the way the screen recording was cropped the top black square can’t be seen in the video. Enjoying the series so far 😊
Why did you created a entity inside of sprites, why not create a class entity, and the entity have inherit sprite.Sprite and now you can use Entity for basics like sprites, name, position etc? Because the way that you did, we need to repeat so much things, for example, you need to inherit sprites all classes that you gona create, and position and bla bla bla...
I added the code for replacing the boring rectangle with an image in the description! I'll be covering proper texture loading in ep. 4 most likely. Thanks for watching!
boys: wants to learn how to code
man: wants to play terraria for free 🗿🍷
Very organized code and scripts, well done.👍You are one of the only people who does this, and you do it well my guy. Keep up this series please! It is so much fun.
Amazing tutorial
You’re really good at explaining
These video's are amazing, I started coding my own game not so long ago and thats going quite well, however besides player movement, animations and collisions, i don't quite know how it all works. Your code is well structured and you explain everythink very nicely. Thank you so much, you are a big help ( :
Good video, just pointing out that due to the way the screen recording was cropped the top black square can’t be seen in the video. Enjoying the series so far 😊
Im glad you're enjoying the series! I noticed that but only after recording an editing everything haha
For all interested:
class Player(pygame.sprite.Sprite):
def __init__(self, groups, image=pygame.Surface((TILESIZE * 2, TILESIZE * 3)), position=(SCREENWIDTH//2, SCREENHEIGH//2)):
super().__init__(groups)
self.image = image
self.image.fill('green')
self.rect = self.image.get_rect(topleft=position)
THX BROOO
OMG, THX, it didnt work before, youre my guy
is it just me or is his code going of the screen
Why did you created a entity inside of sprites, why not create a class entity, and the entity have inherit sprite.Sprite and now you can use Entity for basics like sprites, name, position etc? Because the way that you did, we need to repeat so much things, for example, you need to inherit sprites all classes that you gona create, and position and bla bla bla...
im newbie, and just curious