Some little dude wants that star for his collection or something like that. An experiment written in Python using Pygame in a typical side scrolling, platforming style. I added in switches to make the game feel more dynamic but past that I pretty much free-styled this with no real purpose(I guess this could be compared to an artist's doodling). Although there's nothing unique here it still stands to demonstrate uses of Pygame.
The map is generated using a text file that gives a two-digit code for each 16x16 space. Each unique code identifies a different type of block.
There is code here at Github and video here at Youtube.
Computer programming is an artform with a world of opportunity in terms of innovation and design. With computer programs we can communicate, save memories, be entertained, work efficiently, create fiction with as much depth of meaning as the literary classics and generally make the world a more awesome place.
Showing posts with label program. Show all posts
Showing posts with label program. Show all posts
Wednesday, September 11, 2013
Tuesday, August 27, 2013
Pygame Box Bounce Animation
So I've written this little animation/simulation thing with Pygame for Python with a bouncing ball and breaking boxes. The ball follows the law of reflection when it hits surfaces, meaning that the angle at which it hits a surface will be the same as the angle at which it bounces away. When the ball bounces off a box the box disappears.
I put the code here on GitHub and a video here on Youtube.
I put the code here on GitHub and a video here on Youtube.
Subscribe to:
Posts (Atom)