Implementation of enemy aircraft class in pygame research

Several problems of enemy aircraft should be solved in fighter Games: 1. Self drawing and related attribute management (multiple types of fighters can be realized) 2. Self movement control (linear movement, left swing and right swing, S random change) 3. The effect of being hit and the HP of different types of enemy aircraft (it's boring to ...

Posted by nedpwolf on Sun, 02 Jan 2022 18:05:36 +0100

C language hand playing greedy snake version 1.0 (including interface, switchable music and three modes to play)

C language is almost at the end of learning. With the basis of grammar, I want to make a small game to show what I have learned. Learning from the blogs of some bloggers, I finally chose to use C language to fight greedy snakes. My original version of greedy snake has interface, switchable music and three level modes. Next, let's briefly exp ...

Posted by LordTyphon on Sun, 02 Jan 2022 15:56:40 +0100

[UE4 C + +] realize character attack

Effect display Using animated montage to realize character attack After pressing the left key, the character will attack: Random output attack animation. Create animated Montage Insert our animation into it: Right click and click the new montage section: Click Preview in the Sections section to divide it into multiple Sections: Pull ...

Posted by prueba123a on Thu, 30 Dec 2021 02:10:27 +0100

Starting from scratch

catalogue 1. Menu interface 2.game() function 2.1 defining arrays 2.2 initialize the chessboard 2.3 print the initialization chessboard and construct the chessboard pattern 2.4 players play chess and print the board PlayerMove(board,ROW,COL) 2.5 computer playing chess and printing ComputerMove(board,ROW,COL) 2.6 judgment of winning and ...

Posted by sebastiaandraaisma on Wed, 29 Dec 2021 07:07:12 +0100

Python game development, pygame module, python implementation of Gobang online game

preface This time, let's write a simple game that supports online combat and a Gobang game that supports LAN online combat. No more nonsense. Let's start happily~ Effect demonstration development tool Python version: 3.6 four Related modules: pygame module; PyQt5 module; And some Python built-in modules. Environment construction Ins ...

Posted by laduch on Wed, 29 Dec 2021 04:37:37 +0100

Simple minesweeping game [C language version]

1, Game Description First, open the game interface and a minesweeping area will appear. There are three minesweeping areas to choose from. The minesweeping difficulty of each minesweeping area increases in turn Primary: 81 blocks, 10 mines (the primary version of mine sweeping is implemented here) Intermediate: 256 squares, 40 mines Advanc ...

Posted by chord on Wed, 29 Dec 2021 03:07:50 +0100

[Pygame] plot stream recommendation: what kind of game plot can get everyone's favorite? (decisive battle against the top of the Forbidden City)

Foreword Hello! Hello, everyone. I'm chestnut. Plot is the core element of the game and one of the main sources of game immersion. No matter what type of game it is, whether it takes the plot as the main playing point or not, excellent plot can always make a game shine. I find 🎄 Which plot of the tiktok game is pretty funny recently, an ...

Posted by madonnazz on Wed, 29 Dec 2021 00:23:59 +0100

Snake game based on 51 MCU and OLED screen

This article is to use 51 single chip microcomputer and OLED screen to realize a simple Snake game The 51 single chip microcomputer used is Puzhong 51 series. The OLED screen belongs to zhongjingyuan electronics. The specific objects can be purchased in a treasure OLED module: About OLED module correlation function and its application h and ...

Posted by onlinegs on Sun, 26 Dec 2021 18:58:41 +0100

java game engine fxgl 04 animation

FXGL 04. Animation (lovely squid mother) In the previous article, we simply created a png format image display entity. Here we want to change the display mode of this entity and let a vivid squid mother appear in our game world! 1. Presentation process of entity We are not unfamiliar with such an entity creation process. If we need to use a ...

Posted by jil on Sat, 25 Dec 2021 20:56:04 +0100

Unity C# game development event message dispatcher details

it happened like this But the lovely and loving program, little sister yuan, came to play with me again. Originally a happy chat, it turned into a technical seminar. She said that recently, she knocked the code, entrusted various events, various observer modes, and her hands were numb. She asked me if I had a good way Can I rub it for y ...

Posted by wannalearnit on Fri, 24 Dec 2021 22:14:11 +0100