Project Flow
Market Research (feasibility analysis)--feasibility report demand analyst, account Manager
Demand Analysis-Demand specification project manager, demand analyst
Overview--Overview Design specification (er diagram, UML) project manager, project leader
Detailed design-Detailed design instructions (flowchart) database built, Periodic table (Gantt Chart) Office Project Visio project leader, developer
Encode-to-test (unit test) Submit SVN test Case developers
Test-and integration testing, black-and-white box testing, smoke test testers
-User Manual Project manager
--maintenance developers introduce a few main classes: frame: the definition of frames, the main description of the animation of a frame Animation: the definition of animation, mainly describes a coherent animation, composed of multiple frames Sprite: The definition of the wizard, mainly describes a complete entity, composed of multiple animations Timeprocess: Time management, completed by Requestanimationframe Person: a complete human definition, is the protagonist-man blockbase: Blocks of the base class, falling in the base class of obstacles, including some basic parameters and methods Normalblock: Ordinary block, inherit from Blockbase, the most basic block missblock,leftblock ... Other special functions of block Blockfactory: Block factory, production block of the file structure of the game: Wfn.js: Basic files, including animation definitions, public methods (both are relatively simple) Person.js: the definition of people block.js: the definition of various blocks of obstructions main . JS: Game main logic entrance file, processing the file structure of the main logic game: timeprocess: Mainly used for unified processing timer event, ensure that there is only one timer frame: frame definition, similar to the frame in Flash Animation: the definition of animation, An action requires multiple coherent frames to complete the sprite: the definition of the sprite, a complete individual, is required for multiple animations, such as left, right, etc.
HTML5 Game Development _ is a man on the next 100 floors