img
3D模型学习萌新之路

本文介绍什么是3D模型,以及学习模型绘制所需要掌握的工具,衣料解算软件,贴图软件等介绍,并分析网络游戏模型及相关行业的发展。

img
protobuf 的编译,安装与python命令行配合使用_工具包

https://blog.csdn.net/a592733740/article/details/105351465 1.生成项目的目录:\lsw\cmake-3.14.0-win64-x64\bin\protobuf-build 2.生成protoc.exe位于:\lsw\cmake-3.14.0-win64-x64\bin\protobuf-build\Release\protoc.exe 3.proto文件位于\lsw\cmake-3.14.0-win64-x64\bin\protobuf-build\Release\from,生成目标目录位于:\lsw\cmake-3.14.0-win64-x64\bin\protobuf-build\Release\to 3.cmd进入protoc.exe所在目录,执行"protoc.exe -I=./from --java_out=./to ./from/SearchRequest.proto",即可生成协议文件位于to目录。

img
cmake-3.14.0-win64-x64+protobuf-all-3.7.0.zip

cmake-3.14.0-win64-x64+protobuf-all-3.7.0 根据《protobuf 的编译,安装与python命令行配合使用》https://blog.csdn.net/a592733740/article/details/105351465 1.生成项目的目录:\lsw\cmake-3.14.0-win64-x64\bin\protobuf-build 2.生成protoc.exe位于:\lsw\cmake-3.14.0-win64-x64\bin\protobuf-build\Release\protoc.exe 3.proto文件位于\lsw\cmake-3.14.0-win64-x64\bin\protobuf-build\Release\from,生成目标目录位于:\lsw\cmake-3.14.0-win64-x64\bin\protobuf-build\Release\to 3.cmd进入protoc.exe所在目录,执行"protoc.exe -I=./from --java_out=./to ./from/SearchRequest.proto",即可生成协议文件位于to目录。

img
c++STL 贪吃蛇.rar

vs 2019 环境 C++ 编写的 贪吃蛇小游戏,可记录最高分,上下左右基本玩法,难度可变化,初学者非常好的列子, 还可以扩展写法,实现更多功能.

img
GVCLib__1.12.2__1.7.zip

我的世界少女前线mod,支持1.12.2的版本,需要forge14.23.4.2705版本才能正常运行

img
HMGDollsFrontLine1.12.2.β.11.1.zip

我的世界少女前线mod,适配1.12.2的版本,需要forge14.23.4.2705版本才能正常运行

img
GameLogic.cpp

#include "Stdafx.h" #include "GameLogic3WithJoker.h" #include <list> #include <vector> #include <algorithm> #include <math.h> BYTE CGameLogic3WithJoker::GetCardType(const BYTE cbCardData[], BYTE cbCardCount, BYTE &cbLevel) { if(cbCardCount==0 || cbCardCount>MAX_HANDCARD_COUNT) { m_pITableFrame->WriteLog(_T("CGameLogic3NoJoker::GetCardType: Invalid cbCardCount = %d"), cbCardCount); return CT_ERROR; } if (1 == cbCardCount) return CT_SINGLE; BYTE cbSortCard[MAX_HANDCARD_COUNT] = {}; BYTE cbSortCount = cbCardCount; CopyMemory(cbSortCard, cbCardData, cbSortCount*sizeof(BYTE)); SortCardListDescend(cbSortCard, cbSortCount); TagCardDistribution cardsDistr; DistributeCards(cbSortCard, cbSortCount, cardsDistr, true); BYTE jokerCountS = cardsDistr.cbBlockCount[8]; BYTE jokerCountL = cardsDistr.cbBlockCount[9]; BYTE jokerCount = jokerCountS + jokerCountL; if(jokerCount>4 || jokerCountS>2 ||jokerCountL>2) return CT_ERROR; //连炸判断,不带财神 if (jokerCount == 0) { int cbBlockCount = 0; int cbLineCount = 0; for (int i = 3; i < 10; i++)//大于四即可4*3 { if (cardsDistr.cbBlockCount[i] != 0) { cbBlockCount += cardsDistr.cbBlockCount[i]; if (cbLineCount == 0) { cbLineCount = i + 1; } } } if (cbBlockCount >= 3 && cardsDistr.cbBlockCount[0] == 0 &&cardsDistr.cbBlockCount[1] == 0 && cardsDistr.cbBlockCount[2] == 0) { // if (IsSpecialStructureLink(cbCardData, cbCardCount)) // { // cbStarLevel = cblesscount + cbBlockCount;//X相Y连 // return CT_BOMB_LINK; // } if (IsBombSameLinkNoJoker(cbCardData, cbCardCount, cbBlockCount, cbLineCount)) { cbLevel = cbLineCount + cbBlockCount;//X相Y连 return CT_BOMBLINK; } } } //连炸判断,带财神 if ((jokerCount > 0) && (cbCardCount >= 12)) { int cbBlockCount = 0; int cbLineCount = 0; if (IsBombSameLinkWithJoker(cbCardData, cbCardCount, jokerCount, cbBlockCount, cbLineCount)) { cbLevel = cbLineCount + cbBlockCount; return CT_BOMBLINK; } } BYTE jokerBlockS = jokerCountS / 2; //财神对子 BYTE jokerBlockL = jokerCountL / 2; BYTE cbBlockCountTemp[10] = {}; CopyMemory(cbBlockCountTemp, cardsDistr.cbBlockCount, 10*sizeof(BYTE)); //除去对子财神 cbBlockCountTemp[1] -= jokerBlockL + jokerBlockS; //除去单张财神 if (jokerCountL == 1) cbBlockCountTemp[0] -= jokerCountL; if (jokerCountS == 1) cbBlockCountTemp[0] -= jokerCountS; BYTE iSameCount = 0; for (int i = 0; i < MAX_SAMEVALUE_COUNT; i++) { if (cbBlockCountTemp[i] > 0) iSameCount++; } //三张判断,不带财神 if ((cbCardCount == 3) && (cbBlockCountTemp[2] == 1) && (jokerCount == 0)) return CT_TRIPLE; //三张判断,带财神 if ((cbCardCount == 3) && (jokerCount > 0 && jokerCount < 3) && (cbBlockCountTemp[0] == 1 || cbBlockCountTemp[1] == 1)) //1张+2财神 || 2张+1财神 return CT_TRIPLE; //对子判断,不带财神 if ((cbCardCount == 2) && (cbBlockCountTemp[1] == 1 || jokerBlockL == 1 || jokerBlockS == 1)) //1对非王 || 1对小王 || 1对大王 return CT_PAIR; //对子判断,带财神 if ((cbCardCount == 2) && (jokerCount == 1) && (cbBlockCountTemp[0] == 1)) //单张个数 return CT_PAIR; //3王炸弹 if ((cbCardCount == 3) && (cbCardData[0] == 0x4F) && (cbCardData[2] == 0x4E)) { cbLevel = 6; return CT_3KING; } //天王炸弹 if ((cbCardCount == 4) && (cbCardData[0] == 0x4F) && (cbCardData[3] == 0x4E)) { cbLevel = 7;//4王炸弹最小7星级 return CT_4KING; } //炸弹类型,不带财神 if ((cbCardCount >= 4) && (cbCardCount <= 12)) { if((jokerCount==0) && (cbBlockCountTemp[cbCardCount-1]==1) && (iSameCount == 1)) { cbLevel = cbCardCount; if (cbLevel > 12) cbLevel = 12; return CT_BOMB; } } //炸弹类型,带财神, 对子或三张 + 财神 if ((cbCardCount >= 4) && (cbCardCount <= 12)) { if((cbCardCount - jokerCount - 1) < 8 && (jokerCount>0) && (cbBlockCountTemp[cbCardCount-jokerCount-1]==1) && (iSameCount == 1)) { cbLevel = cbCardCount; if (cbLevel > 12) cbLevel = 12; return CT_BOMB; } } //炸弹类型,带财神, 单张 + 财神 if ((cbCardCount >= 4) && (cbCardCount <= 12) && (jokerCount > 0) && (cbBlockCountTemp[0] == 1) && (iSameCount == 0)) { cbLevel = cbCardCount; if (cbLevel > 12) cbLevel = 12; return CT_BOMB; } //单顺类型,不带财神 if ((jokerCount == 0) && (cbCardCount >= 5) && cardsDistr.cbBlockCount[0] == cbCardCount) { if (IsStructureLink(cardsDistr.cbCardData[0], cbCardCount, 1)) return CT_SINGLELINK; } //单顺类型,带财神 if ((jokerCount > 0) && (cbCardCount >= 5)) { if (IsStructureLinkWithJoker(cbCardData, cbCardCount, 1, jokerCount)) return CT_SINGLELINK; } //双顺类型,不带财神 if ((jokerCount==0) && (cbCardCount>=6) && ((cardsDistr.cbBlockCount[1]*2) == cbCardCount)) { BYTE cbDoubleCount = cardsDistr.cbBlockCount[1] * 2; if (IsStructureLink(cardsDistr.cbCardData[1], cbDoubleCount, 2)) return CT_PAIRLINK; } //双顺类型,带财神 if ((jokerCount>0) && (cbCardCount>=6) && (cbCardCount%2==0)) { if (IsStructureLinkWithJoker(cbCardData, cbCardCount, 2, jokerCount)) return CT_PAIRLINK; } //三顺类型,不带财神 if ((jokerCount==0) && (cbCardCount>=9) && ((cardsDistr.cbBlockC

img
html5简单的飞机大战源码.zip

炒鸡好玩的游戏,飞机大战啊,有简单,一般,困难和开挂啊。每个程度飞机的速度就不同,飞机出现的次数也不同。

img
cocos2dx-2.2.6网盘下载.zip

链接:https://pan.baidu.com/s/1OUAcwHgN-XMqrAsHLQFLzg

img
PPHelper-share_pconline.ipa

pp助手ios版

img
java swing实现的坦克大战

此代码是有java swing框架写的坦克大战简单小游戏,为Java新手参考学习,希望能有所帮助。开发环境: 操作系统:Windows7 编程平台:MyEclipse 2014、JDK1.7

img
基于Unity中API的Perlin噪声图制作

Unity自带的一个API叫Mathf.PerlinNoise,使用它能很方便的制作出噪声图。使用方法为,在Tools中找到该脚本对应按钮,点击即可进行噪声图制作

img
俄罗斯方块C++代码.cpp

俄罗斯方块 代码:c++ 总行数:1290 总长度:36284 操作方法: ↑:旋转 ↓:速降 →:右移 ←:左移 空格键:开始/暂停

img
AssetBundle.xmind

自己整理的一下AB的知识!包含了Ab的一些基础信息和加载方式之间的差别,压缩格式等等!!!!自己整理的一下AB的知识!

img
Flash软件- FLCS6(32&64).zip

Flash软件-FLCS6压缩包,安装方便,成功率100

img
3d max烟雾弹.max

3d max烟雾弹.max

img
Photon Rally Tutorial 1.1.0.unitypackage

unity多人赛车游戏项目源码Photon Rally Tutorial v1.1.0 Requires Unity 5.2.2 PUN Rally is a complete base project for a multiplayer combat racing game using Photon, the most popular network platform for Unity. The project includes all sources and a 30+ pages illustrated tutorial book (PDF) explaining its use of realistic physics, dead-reckoning, checkpoint-based positions, power-ups, weapons and several other important features of multiplayer games, such as lobby control, car-selection and server-synced race-start. FEATURES Realistic physics based on standard colliders, wheel-colliders and rigidbody. Detailed suspension movement. Real-time race synchronization over the internet using PUN (Photon Unity Network). Dead-reckoning techniques to smoothly deal with latency. (new) Complete weapon system (with ammo, network sync and multiple weapons) (new) Extensible power-ups system with sample increase, decrease speed and weapon ammo reloads Server-synced start and grid spawns. Checkpoint-based race management (positions, laps, finish, etc). Custom car selection (prefabs based) for connected players. The project is a foundation for a multiplayer racing game, but also serves as a comprehensive introduction to several multiplayer concepts with Photon: Dealing with lobbies, rooms creation and joining. Managing player connection and disconnection (both in menus and races). Using custom player properties. Remote Procedure Calls (RPCs). Server-based time/clock (for race start). The PhotonView component. Custom network synchronization of GameObjects. PUNBehavior and Photon.MonoBehavior classes.

img
Unity游戏框架FrameWork

一套游戏框架,直接现成的游戏框架,可以借鉴在项目中,或者用于学习游戏框架。

img
2D游戏特效美术资源.zip

2D游戏特效美术资源,是一整套美术特效资源,你值得拥有! 传统吉祥图案祥云连续【最全超炫魔法阵素材】福利 游戏美术资料素材 光效素材 68套技能特效 动画序列帧图PNG 760P 游戏特效资源 美术素材 精美技能特效光效序列连帧图PNG 100套

img
Corgi Engine - 2D + 2.5D Platformer 4.0

这是Corgi Engine - 2D + 2.5D Platformer 4.0的源码,可以直接运行。是学习2D和2.5D游戏的好源码,值得支持。