Skip to content

This demo is based on TypeScript created by Egret Engine. It includes the initialization of gems, the elimination of the gems and counting of the gems including the animation of these functions. When the counts of gems achieve a specific number, the gems in the map would increase and go to the next level of the game. I completed the basic logic …

Notifications You must be signed in to change notification settings

yiwen001/Match-4-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Match-4-Game

This demo is based on TypeScript created by Egret Engine. It includes the initialization of gems, the elimination of the gems and counting of the gems including the animation of these functions. When the counts of gems achieve a specific number, the gems in the map would increase and go to the next level of the game. The basic logic of the game is based on iterative algorithm and object-oriented programming. And I used the Tween function in egret to create the animation of the game demo.

Explanation

  • Resources: All the Images/Special effect files/
  • Src\Main: Initialization
  • Src\map: Operations on map including the falling animation/detection of gems need to be eliminated
  • Src\Gem: Get the color/position/mark or not information of each gem
  • Src\Bomb: Bomb special effects

Preview

image

About

This demo is based on TypeScript created by Egret Engine. It includes the initialization of gems, the elimination of the gems and counting of the gems including the animation of these functions. When the counts of gems achieve a specific number, the gems in the map would increase and go to the next level of the game. I completed the basic logic …

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published