jaxwilko/wn-game-plugin
Composer 安装命令:
composer require jaxwilko/wn-game-plugin
包简介
README 文档
README
JaxWilko.Game
A Winter CMS plugin that provides a multiplayer game engine running in PHP for 2D sprite based games using HTML5 Canvas and WebSockets.
Features
- Browser based
- Multiplayer
- Quests
- Items
- Inventory
- Level Editor
- Scriptable Entities
- Scriptable Triggers
- Scriptable Item Objects
- Scriptable Inventory Objects
- Scriptable Sprites
- Teleporters (local & cross level)
- Entity AI (multiple modes)
Requirements
php >= 8.2ext-posixext-pcntlext-sockets
Install
composer require jaxwilko/wn-game-plugin php artisan migrate php artisan mix:install php artisan mix:compile -f -p jaxwilko.game php artisan game:publish
For a detailed installation guide including server configuration and level editing, see: Getting Started.
Running
To run the game server with the demo level, execute:
php artisan game:serve -f -m demo
The game server can be started via the backend control panel or via the CLI (in both fg and daemonized modes). See the help page for details:
php artisan game:serve -h
Demo
If you would like to run a local demo, check out this repo.
Why?
I thought it would be funny and nobody stopped me, for more see development notes.
Thanks
|
Luke Towers Putting up with my rambling, testing and reviewing |
Robert Alexa Listening to me complain about pathing logic |
Josh Gaby Patching Ratchet for php8 |
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-05
