Introduction:

Everyone here big guy, you have played here a few games?

Childhood classic —

To write the actual combat game has accumulated to 30 a few oh ~ hey hey, push a wave before, the dog head. JPG.

Welcome everyone to get free games, open to play ~ source can directly find me to take drops!

Previous Pygame combat is as follows:Childhood Classic: Pac-Man for Python!! Perfect!

Python Python Python Python Python Python Python Python Python Python Wow ~

​​

I caught a glimpse of my dreamland addicted son! I’m so angry! Let’s see what Python games can do!

​​

Why is Tetris still the king of games in the world?

​​​The body of the

Hey hey! In front of a longer section of the article I wrote before the game sa! Let’s start now!

Big mushrooms, turtles, man-eating flowers, cactus, gold coins, water pipes… And clunky clunky clunky. Remember that familiar scene?

Dangdang when ~ today xiaobian take you to write a 100 percent reduction of the Super Mary small game – super interesting!

This article is based on the Pygame module written ha!

Because the code thought too much, whether to directly paste the code or directly step by step, I chose to directly on the code without hesitation:

Ang ~ anyway you all like to see the code directly sa, I don’t mention it! Lazy cancer terminal.

​​

Take casually posted pictures to show the code ha! Other you directly look for me to take free hair you!

The above code meaning, posted a little bit on the possibility of 1/20 of the code! Because you can go home and lie dead when you finish your article. Aha! Or go home to play games comfortable ~

The renderings are as follows:

After the opening code runs, the interface:

Single player mode/Double Player Mode Here is the selected single player, 3 lives per Mary Plumber. Of course, you can also set their own ha

Plumbers can move up, down, left, and right, the arrow keys, and then A is going up.

There are also bigger mushrooms, coins and so on, wait for yourself to explore oh ~ ha ha ha

conclusion

All right, look at this game interface is not suddenly back to childhood hahaha

Need a complete package of source code + material small partners remember the source code base see ha: # private xiaobian 06# free to receive the game project!

It is not easy to make, remember the three link oh ~ love you