在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:adngdb/fightly-game-engine开源软件地址:https://github.com/adngdb/fightly-game-engine开源编程语言:JavaScript 99.9%开源软件介绍:Fightly Game EngineA game engine for strategic, turn-based, web games. The goal is to be heavily modular, to allow a wide variety of turn-based games to be developed. Features
All you should have to do is find the right modules, and develop the front-end of your game. Current stateFightly is still in early development, most of the features are not ready. If you're interested, feel free to help! You can look at the open issues, read and comment the source code, send pull requests, or test the current version on your environment -- any help is appreciated! DevelopmentModulesAt the moment, modules use the $ cd fightly/modules/
$ npm install ServerYou will need Install the dependencies: $ cd fightly/server/
$ npm install Run the unit tests: $ ./runtests Run the server: $ node server.js ClientCreate a link to There is currently nothing to see in the client, except in the logs. Open your browser's console! CompiledRun the following command to compile fightly: $ cd fightly/client/
$ make That will create <script src="fightly/client/fightly.js" data-main="main.js"></script> In require(['fightly'], function (Fightly) {
var config = {};
var F = new Fightly(config);
F.init();
}); DevelopmentTo use the development version of fightly, simply link to requirejs.config({
baseUrl: 'fightly/client/src',
paths: {
'lib': '../lib',
'config': '../config',
'vendor': '../../vendor'
},
}); |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论