All Projects → wilhantian → BadGame

wilhantian / BadGame

Licence: other
《BadGame 烂游戏》--使用cocos2d-x开发的一款横版卷轴类游戏

Programming Languages

C++
36643 projects - #6 most used programming language
Objective-C++
1391 projects
CMake
9771 projects

Labels

Projects that are alternatives of or similar to BadGame

arkaflow
Cross-platform mobile game on Android and iOS developed using Cocos2d-x C++.
Stars: ✭ 30 (-67.74%)
Mutual labels:  cocos2d-x
colyseus-cocos2d-x
⚔️ Colyseus Multiplayer SDK for Cocos2d-x
Stars: ✭ 14 (-84.95%)
Mutual labels:  cocos2d-x
LuaSTG-x
LuaSTG-x is a multi-platform game engine.
Stars: ✭ 53 (-43.01%)
Mutual labels:  cocos2d-x
doudizhu
🃏一款基于Cocos2dx开发的单机斗地主手游
Stars: ✭ 39 (-58.06%)
Mutual labels:  cocos2d-x
cocos-lua
cocos-lua manages the lifecycle of c++ object based on lua gc, and support more cocos2dx v4 api.
Stars: ✭ 119 (+27.96%)
Mutual labels:  cocos2d-x
ChineseOfficialMahjongHelper
国标麻将小助手——包含算番器、线下实麻计分器、番种详细说明、牌理等
Stars: ✭ 82 (-11.83%)
Mutual labels:  cocos2d-x
cocos2d-bgfx
cocos2d-x-lite use bgfx as the rendering backend
Stars: ✭ 54 (-41.94%)
Mutual labels:  cocos2d-x
PlaneGame
飞机大战源码(豪华版)
Stars: ✭ 89 (-4.3%)
Mutual labels:  cocos2d-x
TextureUnPacker
This is reverse engineering of Texture Packer used in LibGdx Projects.
Stars: ✭ 36 (-61.29%)
Mutual labels:  cocos2d-x
ee-x
Cross-platform library for Cocos2d-x and Unity
Stars: ✭ 13 (-86.02%)
Mutual labels:  cocos2d-x
cocos2d-x-imgui
ImGui for cocos2d-x, with lua binding
Stars: ✭ 24 (-74.19%)
Mutual labels:  cocos2d-x
vigilante
🦇 2D pixel-art side-scrolling single-player ARPG
Stars: ✭ 63 (-32.26%)
Mutual labels:  cocos2d-x
luban
你的最佳游戏配置解决方案 {excel, csv, xls, xlsx, json, bson, xml, yaml, lua, unity scriptableobject} => {json, bson, xml, lua, yaml, protobuf(pb), msgpack, flatbuffers, erlang, custom template} data + {c++, java, c#, go(golang), lua, javascript(js), typescript(ts), erlang, rust, gdscript, protobuf schema, flatbuffers schema, custom template} code。
Stars: ✭ 1,660 (+1684.95%)
Mutual labels:  cocos2d-x
godot-action-animation-framework
create animation easy in Godot with GDAction
Stars: ✭ 43 (-53.76%)
Mutual labels:  cocos2d-x
Cocos2d X
Cocos2d-x is a suite of open-source, cross-platform, game-development tools used by millions of developers all over the world.
Stars: ✭ 15,713 (+16795.7%)
Mutual labels:  cocos2d-x

BadGame 《烂游戏》

by WilhanTian email [email protected]

本游戏使用cocos2d-x 3.2 Final版本开发。 为了节省git同步时间,我只保留了Classes文件夹和Res资源文件夹。

最开始打算直接使用cocos2d-x3.X内部封装好的物理精灵,不过两个物体碰撞会出现互相嵌入的现象, 想了好久也没有头绪怎样解决~ 然后我就毅然决然的使用了Box2d物理引擎,将2d-x中的Sprite和Box2D的 刚体进行封装。 另外我也将Box2d的碰撞事件进行了分发回调,从而大大减少了耦合度。

p.s. 本人职业学生,代码稚嫩、和各种不标准的地方,还请大家见谅! and p.s. 所有BadGame的图片资源大多都来自共享的资源,所以我没有资格把它们据为己有。故任何人都可以复制,修改,重新发表,甚至以自己的名义发表,我都不会追究,但你在做以上事情的时候必须保证内容的完整性。最后,任何人不能以这些源码与资源的任何部分,谋取任何形式的报酬。

主要类说明:

ConfigData 单例 通过此类获取各种配置信息
DynamicData 单例 动态数据类
GameManager 单例 游戏管理器 用来驱动游戏和物理引擎 封装事件的分发在此实现
GameObject 游戏对象 /这个不用解释了吧?/
JINTools JNI相关的东西 大部分是静态方法 这个JINTools的名字当时写错了...应该是JNITools...哈哈!
LifeObject 具有生命的对象
MapAnalysis 游戏地图解析类 就是专门用来解析地图的,我是用TiledMap做的游戏地图编辑器~~
PhysicsSprite 物理精灵 将Sprite和box2d进行了二次封装
StaticData 静态数据类 废弃了...
StaticDataEx 静态数据类
TextData 专门保存字符串数据的

image image image image

好乎-好玩的不亦乐乎 498工具盒子

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].