Giter VIP home page Giter VIP logo

nflash's Introduction

简介与初衷

当HTML5的新功能出现,尤其是canvas的绘图api出现之后,使得我们js也可以绘制和实现flash一样的动画和游戏,但是canvas并没有封装好对应的上层api供我们开发使用,只是提供简单的绘制api,所以我们在实现动画和游戏的时候必须自己开发,而flash一直是这方面的龙头老大,所以本框架模拟了flash的架构体系(本人一直从事flash开发)。

特点

Nflash 使用canvas实现了绘制图层、图层渲染、事件通知、动画封装、音频封装、图层碰撞检测 FlashAPI

  1. 基于框架实现简版捕鱼达人。
示例:http://127.0.0.1/fish.html
  1. 基于框架实现(移动端版本简版)打飞机游戏。
示例:http://127.0.0.1/skywar.html
  1. 金币点击运动。
示例:http://127.0.0.1/touch.html

node 启动项目(便于前端同学开发)

sudo node service.js

备注

本人会不断更具研究项目进行更新(363305175)。

nflash's People

Contributors

ningxiao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

weimingtom

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.