Git Product home page Git Product logo

cppfishingcode's Introduction

纯C++ 捕鱼游戏

语言:C++
编辑器:VS2015
渲染:D2D
碰撞:obb和aabb

项目文件目录说明

img 放游戏所使用的图片文件夹
frame 放控制游戏场景相关的文件
instance 放游戏窗口进程 游戏循环 工具类 碰撞类的文件
render 放游戏渲染引擎的文件夹
trigger 放对一些消息进行映射的文件夹
后面会详细对游戏的各个流程进行详细说明
主要说明:
开发流程介绍
渲染类content.h的封装
显示对象DisplayObject.h的封装
精灵对象sprite.h的封装
场景类action.h的封装
计时器对象ticker.h的封装
窗口对象DemoApp.h的说明
消息映射和流程触发结构 createBefore.h
子弹对象bullet.h的封装
鱼类fish.h的封装
控制创建鱼类fishConfig.h的封装
编写场景0结构frame0.h
编写场景2结构frame2.h
编写场景1结构frame1.h
金币对象gold.h的封装

项目目录

项目目录截图

运行效果截图

项目运行效果截图

cppfishingcode's People

Contributors

yinhui1129754 avatar

Watchers

 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.