lovelycathyt / hexflow Goto Github PK
View Code? Open in Web Editor NEW一个试图缝合 minecract(mc), factorio(fto), 戴森球计划(dsp) 等同类游戏的工厂模拟游戏项目
一个试图缝合 minecract(mc), factorio(fto), 戴森球计划(dsp) 等同类游戏的工厂模拟游戏项目
相连的两个格子, 如果是同种地形, 则应在连接处使用连续的纹理; 如果是不同种地形, 则应在连接处使用各自的边缘纹理.
基本思路是在划分为 6 个三角形的 Mesh 上, 对每个三角形的连接情形, 可以划分为16种组合. 在生成纹理坐标时, 就能根据连接状态选择要使用的纹理区域.
当存在 cExportDecorator 时(比如项目里用的 "API_DEF"), 应该组合成:
API_DEF int foo();
而不是
int API_DEF foo();
当返回类型含星号时会出现 C2059 编译错误.
目前没 UI, 开局自动读取默认地图, 然后随便丢个 GetKeyDown 或者临时按钮来触发保存
解决这些问题最直观的方法就是分开头文件和源文件.
(代价是生成器要多一堆重复代码了)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.