#need help once more

1 messages · Page 1 of 1 (latest)

errant birch
#

Can’t help you with everything

#

import pygame

Load the sprite image

sprite_image = pygame.image.load('sprite.png')

Create a new surface to draw the sprite on

sprite_surface = pygame.Surface((sprite_image.get_width(), sprite_image.get_height()))

Blit the sprite onto the surface

sprite_surface.blit(sprite_image, (0, 0))

#

You gotta learn yourself

#

But there’s something to start from 🙂

spice iris
#

bro again thank you

#

im sorry

narrow viper
#

Fwiw none of this has anything to do with pycharm. Pycharm is just an editor. You write code in it and it runs. Your question relates to Python and PyGame (it seems).

spice iris
#

ty

#

i didntknow