Home  >  Article  >  Web Front-end  >  6 recommended articles about game development

6 recommended articles about game development

零下一度
零下一度Original
2017-06-14 14:20:071885browse

In the first two articles, the development of RPG has realized adding maps and adding game characters. This article will realize the scroll scrolling of the map and the realization of character dialogue. The effect is as follows. Map scrolling. Regarding the scrolling principle of the map, you can refer to the figure below and follow The above picture illustrates that to implement map scrolling, you only need to draw the upcoming map (yellow part in the picture) first, and then scroll the map. After the map is scrolled, remove the part outside the screen (green part in the picture) first. To add a variable to control whether the map scrolls//Map scrolling var mapmove = false; Then, when the character moves, determine whether the map needs to be scrolled /*** Whether the map scrolls **/ Character.prototype.checkMap = function (dir){ var self = this; mapmove = false; //If not a hero

1. html5 Game Development-Zero Basic Development of RPG Games-Open Source Lecture (3)-Scroll & Dialogue Implementation

6 recommended articles about game development

Introduction: In the first two articles, RPG development has implemented adding maps and adding game characters. This article will implement map scrolling and character dialogue. Implementation, the effect is as follows. If you want to know the content of the first two articles, please click on the link below: html5 game development - zero-based development of RPG games - open source lecture (1) http://blog./lufy_legend/article/details/7063316html5 game development - zero Basic Development of RPG Games - Open Source Lecture (2) - Let's Run Hero http://blog

2. Use ActionScript-like syntax to write html5 - Part 3 , Mouse events and game character movement

6 recommended articles about game development

##Introduction: Part 3, Mouse events and game character movement Imitating ActionScript syntax to write html5 - Part 3, mouse events and game character movement

3. Photoshop teaches you how to quickly create game character posters

6 recommended articles about game development

Introduction: Today I will teach you how to use Photoshop to quickly create game character posters. The tutorial is not complicated and easy to learn. I like it. Friends can come and learn together

4. html5 Game Development-Zero Basic Development of RPG Games-Open Source Lecture (2)-Run Hero

Introduction: In the previous article, we have explained in detail how to add a map and add a game character. Now let's add control events to make this little hero move.

5. html5 Game Development-Zero Basic Development of RPG Games-Open Source Lecture (1)

6 recommended articles about game development

Introduction: This article will explain how to develop an RPG game from a zero-based perspective. In the game world, we can see various maps, various game characters, characters walking on the map, having conversations, etc. Whether it is a map or a character, it is actually the processing and display of pictures, displaying different pictures. to the screen...,.

6. js game character running up, down, left and right effect code sharing_javascript skills

Introduction: This article mainly This article introduces the effect of js game characters running up, down, left, and right. It is recommended to everyone. Friends who need it can refer to it.

The above is the detailed content of 6 recommended articles about game development. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn