Coder Social home page Coder Social logo

gamecode's Introduction

微信小程序

// Baiduface 小程序

├─arts                      //效果图
├─pages
|  ├─base64                 //将图片转换为base64编码
│  ├─face                   //调用百度AI人脸检测与属性分析
│  │  └─assets              //百度api返回的json示例
│  ├─index
│  └─logs
|─utils
|   ├─src
|   |  └─upng-js           //png编码开源库https://github.com/photopea/UPNG.js/
|   ├── api.js             //接口host
│   └── util.js            //工具类
├── app.js                 //全局js配置文件
├── app.json               //全局配置json文件
├── app.wxss               //全局wxss文件
└── project.config.json    //工具配置(个性化配置)

微信小游戏

// Airplane

./js
├── base                                   // 定义游戏开发基础类
│   ├── animatoin.js                       // 帧动画的简易实现
│   ├── pool.js                            // 对象池的简易实现
│   └── sprite.js                          // 游戏基本元素精灵类
├── libs
│   ├── symbol.js                          // ES6 Symbol简易兼容
│   └── weapp-adapter.js                   // 小游戏适配器
├── npc
│   └── enemy.js                           // 敌机类
├── player
│   ├── bullet.js                          // 子弹类
│   └── index.js                           // 玩家类
├── runtime
│   ├── background.js                      // 背景类
│   ├── gameinfo.js                        // 用于展示分数和结算界面
│   └── music.js                           // 全局音效管理器
├── databus.js                             // 管控游戏状态
└── main.js                                // 游戏入口主函数

百度AI开放平台之人脸检测与属性分析 (扫码体验)

接口文档

演示效果

扫码体验

经典飞机打战 (扫码体验)

演示效果

扫码体验

贪吃蛇 (扫码体验)

演示效果

扫码体验

gamecode's People

Contributors

xmaihh avatar

Stargazers

 avatar  avatar Jinlong avatar David avatar Anoxia.Liu avatar  avatar  avatar

Watchers

James Cloos avatar

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.