Function description: While avoiding enemy attacks in the game, you need to collect three different keys, open the corresponding doors, and finally reach the destination. The game is also based on the self-developed HTML5 game framework cnGameJS. It is recommended to use Chrome browser to view. Effect preview: The arrow keys control movement, the space bar shoots, and the shift key opens the door. Implementation analysis: In the previous article "HTML5 Implementation of 3D Maze", the effect of the 3D scene was simulated through the radiation method, and this article adds more game elements based on the 3D effect to build a more complete first A one-person shooter. How to simulate the 3D scene effect has been described in detail above. This article mainly introduces how to realize the interactive part of the game. 1. What is the correspondence between the game elements on the map and the objects on the screen? First, each game element corresponds to two game objects. One game object is the object on the left map, and the other is the object on the right screen. For example, the location of an enemy, whether it is firing, and other information are represented by the map object on the left, and the display of the enemy on the screen is based on the map object on the left.
1. HTML5 Code sharing for the implementation of a one-person shooting game
# Introduction: In the game, while avoiding enemy attacks, you need to collect Three different keys, open the corresponding door, and finally reach the destination. The game is also based on the self-developed HTML5 game framework cnGameJS. It is recommended to use Chrome browser to view. Effect preview:
2. Detailed explanation of the horizontal shooting game based on HTML5
##Introduction: A horizontal shooting game based on HTML5, referencing the flash game "Double Agent". The left and right arrow keys control movement, the down arrow keys crouch, the up arrow keys jump, and the space bar shoots. Please turn off the input method before trying it.
3.
html5 game development-barrage + imitation lightning game demo
##Introduction: This game uses HTML5 canvas, and the browser needs to support HTML5 to run the game. This article explains in detail how to use HTML5 to develop a shooting game. Thunder and Lightning can be said to be a classic among shooting games. Let’s imitate it below.
4.
Java hunting and shooting game code based on Swing##Introduction: This article mainly introduces the hunting and shooting game code implemented in Java based on Swing, including complete game event processing and logical flow control. It has good reference value. Friends in need can refer to it
5. Regarding issues related to php doing game indexing
Introduction: Regarding issues related to php doing game indexing Using PHP to do game indexing Encountered the following problem. The game can be divided into the following types. By region: Mainland China, Hong Kong, Taiwan, Europe, America, Korea and Japan. By screen: 3D 2.5D 2D. By type: Role-playing FPS shooting music. Horizontal battle. The effect you want to achieve is: when selecting, 'Hong Kong and Taiwan' Finally, the selected conditions are: Hong Kong and Taiwan. The current URL is www.aaa.com/game.php?id=3&area=g following
##6. I would like to ask a question about game development
Introduction: I have a question about game development. Does anyone know what technology is used to develop most shooting online games? Thank you! Online game game development Share to
7. Ask a question about game development
Introduction: Ask a question about game development Question: Does anyone know what technology most shooting online games are developed with? Thank you! Online games Game development Share to:
8. Problems with game indexing I encountered the following problems when using PHP to index games. Games can be divided into the following types: by region: Mainland China, Hong Kong, Taiwan, Europe, the United States, South Korea and Japan; by screen: 3D 2.5D 2D; by type: role-playing FPS shooting music horizontal panel battle. The effect you want to achieve is: when selecting, 'Hong Kong and Taiwan' Finally, the selected conditions are: Hong Kong and Taiwan. The current URL is www.aaa.com/game.php?id=3&area=g following
9.I am going to implement a game similar to dota from scratch, how to start?
Introduction: CS sophomore student, halfway through the summer vacation and still haven’t written much code, decided on a whim Make a moba game and see. I have a foundation in C++ and python. I used python’s tkinter to write a barrage shooting game in my freshman year. When I first started working on it, I found that I didn’t have a clear understanding of the architecture of this relatively large game, and I had never done anything like half-3D image display like Dota. I'd like to ask if there are any veterans who have experience in this area who can give me some pointers? Reply content: If the subject is familiar with Python, you need to be familiar with open source.
10.Photoshop flip animation of shooting game
Introduction: In the example study of this section, we will create the flip animation effect of the shooting game
[Related Q&A recommendations] :javascript - What js technologies are used in mini games?
python - pygame How to solve the scaling problem?
The above is the detailed content of 10 recommended articles about shooting. For more information, please follow other related articles on the PHP Chinese website!