Skip to content

hoangdesu/Bouncing-DVD-logo-Pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Bouncing DVD logo - Pygame

90s fun

A little ride back to the 90s. Ah good ol' time! Didn't we all wait for the logo to hit the corners? Best feeling ever!!

I have seen some implementations on the internet using Pygame, but none of them has the color change when the logo bounces off wall. So I decided to create my version as a fun, mini project to teach my students Pygame's basic object movements.

You can change either foreground or background color, the code is set to foreground color change by default. In main.py, simply set the variable option to 1 for foreground or 2 for background color change.

Foreground color change (YES IT HITS THE CORNER!)

DVD logo - foreground

Background color change

DVD logo - background

Connect with me

If this little piece of code brought you back some good memories, drop me a star ⭐️ !

About

Logo hitting the corner == best feeling ever!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages