Found a total of 10000 related content
HTML5 code to implement the Rubik's Cube game
Article Introduction:The content shared with you in this article is about the code for implementing the Rubik's Cube game in HTML5. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.
2018-08-06
comment 0
9608
Implement the Snake game using 63 lines of HTML5 code
Article Introduction:This article mainly introduces the implementation of the Snake game using 63 lines of HTML5 code. It has certain reference value. Now I share it with you. Friends in need can refer to it.
2018-06-11
comment 0
2750
Detailed graphic explanations of 8 latest and cool HTML5 animation applications
Article Introduction:HTML5 has gradually matured, and more and more Web projects have used HTML5 technology, including CSS3. This article mainly shares some of the latest HTML5 animation applications. Most of them are cool, and some are more practical. Each animation provides source code download. 1. HTML5 Canvas implements drawing board graffiti animation application. This is an HTML5 network drawing board with basic graphics drawing functions. It is relatively simple and based on canvas, so it is very flexible. Online demo source code download 2. HTML5 wood stacking game The gameplay of this game is to stack wood, and...
2017-03-08
comment 0
2226
Code sharing for HTML5 first-person shooter game implementation
Article Introduction:In the game, while avoiding enemy attacks, 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:
2017-03-24
comment 0
2929
Sample code analysis of Html5 Canvas to implement Doudizhu game
Article Introduction:Now after reading about HTML5 and canvas related knowledge and the demo of Doudizhu, I tried to write a Doudizhu using the materials on the demo. The code was not refactored well. I welcome your advice.
2017-03-21
comment 1
4711
JavaScript and HTML5 programming game Flappy Bird simple version
Article Introduction:In the previous article, we shared with you how to write a pushing box game with JS and H5. This article mainly shares with you how to write a classic game: Flappy Bird simple version using js and H5 <canvas> tag. I hope it can help you.
2018-03-17
comment 0
2590
Detailed graphic and text explanation of the HTML5 web porting version of 'StarCraft' project launched by GitHub users
Article Introduction:As early as the era of dial-up Internet access, the game "Starcraft" attracted countless netizens to play online. However, a GitHub user named "Ryuta" successfully ported it to the Web. Of course, this is thanks to HTML5. The biggest advantage of the web version of the game is that it does not require the time-consuming installation required by traditional clients. Still, this port demonstrates basic control components, and you can enter combat and even see the game's global animations. Although this work is still in the demo stage for the time being, I believe there will be enthusiasts to further improve it. Down..
2017-03-07
comment 0
1985
Detailed introduction to code examples of html5 mini game production ideas
Article Introduction:Detailed introduction to html5 mini game production ideas Create canvas game loop Hello world Create player Keyboard control a: Use jQuery Hotkeys b: Move player Add more game elements Cannonball enemies Use image collision detection Sound introduction Do you want to use HTML5 Canvas to make a game? ? Follow this tutorial and you'll be on your way in no time. Reading this tutorial requires at least some familiarity with JavaScript. You can play the game first or read the article directly and download the game source code.
2017-03-20
comment 0
3464
JavaScript enhancement tutorial - cocosjs collision detection
Article Introduction:This article is the official HTML5 training tutorial of H5EDU organization. It mainly introduces: JavaScript enhancement tutorial - cocosjs collision detection. Briefly describe the collision detection principle of the game: First, specify a collision detection area for each game object, and then detect the two collision detection areas in real time in the Update method. Whether the areas of the two objects overlap, if so, then a collision occurs. Take a brief look at the code. This code is taken from the official code. Copy code 1 tools.CollisionHelper={ 2 ...
2016-12-05
comment 0
1236
How to use Vue to implement aircraft war game special effects
Article Introduction:How to use Vue to implement the special effects of the Airplane War game. Introduction: Airplane War is a classic game. In the game, we need to implement special effects such as the movement of aircraft, the generation of enemy aircraft, and the firing of bullets. This article will use the Vue framework to give specific code examples for implementing the special effects of the airplane battle game. Technology Stack When implementing the special effects of the airplane war game, we will use the following technology stack: Vue.js: JavaScript framework for building user interfaces; HTML5Canvas: HTML5 for drawing game screens
2023-09-20
comment 0
787
Complete HTML5 puzzle game code graphic introduction in 2 hours
Article Introduction:When I first learned lufylegend.js, I used lufylegend.js to develop the first HTML5 mini-game - a jigsaw puzzle. I also wrote a blog post to show off: the HTML5 mini-game "Intelligence Puzzle" was released to challenge your thinking. However, I was new to game development at the time and had little experience, so I did not study the algorithm and code flaws in the game. As a result, there were many bugs in the game, and it was even possible that the puzzles could not be restored after being disrupted. Recently, friends often ask about this game. They hope that I can correct the bugs in the code to make it easier for beginners to learn. By the way, I also plan to test my speed in writing such a small game, so...
2017-03-04
comment 0
10614
Use HTML5 to develop an android localized App game-GemPengpeng
Article Introduction:This time I will talk about how to use the lufylegend.js engine to create an HTML5 game and then convert it into an Android localized App application. The conversion process is actually very simple. The following is a step-by-step explanation. First, let’s develop a game similar to Duel. However, the gameplay of this game is original. Any similarity is purely coincidental. The game interface is as follows. Game operation: Swipe the screen up, down, left, and right to operate the gems to move in different directions. Game rules: When there are three identical gems adjacent to each other, they will be eliminated. The gems that have been eliminated once will become translucent. When all gems have been eliminated,
2017-03-01
comment 0
1959
Writing a push box game with JS and H5
Article Introduction:The push box game is a popular game many years ago (even now many people play it). The purpose of the game is very simple, that is, push all the boxes to the destination, and the game will be successful: it seems simple. The logic is actually quite difficult. I also relied on the help of others to complete it. Now I will introduce how to write the game using js and html5 (for convenience, we will replace the person with a pink circle):
2018-03-17
comment 0
2093
How to install win7 operating system on computer
Article Introduction:Among computer operating systems, WIN7 system is a very classic computer operating system, so how to install win7 system? The editor below will introduce in detail how to install the win7 system on your computer. 1. First download the Xiaoyu system and reinstall the system software on your desktop computer. 2. Select the win7 system and click "Install this system". 3. Then start downloading the image of the win7 system. 4. After downloading, deploy the environment, and then click Restart Now after completion. 5. After restarting the computer, the Windows Manager page will appear. We choose the second one. 6. Return to the computer pe interface to continue the installation. 7. After completion, restart the computer. 8. Finally come to the desktop and the system installation is completed. One-click installation of win7 system
2023-07-16
comment 0
1166
php-insertion sort
Article Introduction::This article mainly introduces php-insertion sort. Students who are interested in PHP tutorials can refer to it.
2016-08-08
comment 0
1023