Skip to content

Punker-Corporation/pygame-animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

tiny animation i made

i declared a bunch of things in the first lines; then created the character usin x and y dots "torso_top_y = stick_y - 28", "torso_bottom_y = stick_y + 10" and connecting the dots; made the character move using "if stick_x < target_x:"; made a retangular poster centered on the stickman "poster_x = stick_x - (poster_width / 2)"; with a message inside it using "poster_text = poster_font.render(poster_message, True, (255, 255, 255))poster_text_rect = poster_text.get_rect(center=(int(poster_x + poster_width / 2), int(poster_y + poster_height / 2)));

About

animation using pygame library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages