Git Product home page Git Product logo

paracraft's Introduction

Paracraft Client/Server App

Paracraft can be started in Client mode or Server mode. Clieng mode is a 3d application. Server mode can be run under linux without any GUI. The source code is inside git submodules.

Install Guide

Install NPLRuntime first and then clone this respository and run ./start.sh or ./paracraft.bat for win32 3D client.

git clone --recursive https://github.com/LiXizhi/paracraft.git
cd paracraft
./start.sh

package dependencies: (already included in git submodules)

Start Paracraft Client

Start by running paracraft.bat, or from NPLRuntime using following command line parameters.

npl mc="true" loadpackage="npl_packages/paracraft/" bootstrapper="script/apps/Aries/main_loop.lua"

To install and debug buildin system mod, please also run npl_packages/ParacraftBuildinMod/InstallPackages.bat

Start Pure Server

Starting a pure server with the default port with ./start.sh. It is recommended that you launch the server app in your docker container. One can also start pure server with any world like worlds/DesignHouse/test and ip/port. See below.

npl world="worlds/DesignHouse/test" ip="0.0.0.0" port="6001" loadpackage="npl_packages/paracraft/"

One can also run from any folder like /opt/server_001/ with the dev param. Please note the world directory must always be relative to dev folder or current working directory.

npl world="worlds/DesignHouse/test" port="6001" loadpackage="npl_packages/paracraft/" dev="/opt/server_001/"

Command Line Parameters

  • world: the world directory that this server serves. ==Note: the world must have a default home point set.==
  • ip: default to "0.0.0.0", which is all ip addresses. If you are inside a docker, "127.0.0.1" is a better choice.
  • port: default to 6001
  • autosave: How many minutes to automatically save the world. If not specified, the world is never saved, and your changes may be lost.
  • servermode: default to true.
  • loadpackage: this should always be "npl_packages/paracraft/". Make sure you have latest version checked out from our git, in addition to "npl_packages/main/"
  • dev: the development directory. The logics is intrinsic to NPLRuntime. The world directory is searched in dev folder first and then in current working directory.

Here is an example with all parameters:

npl servermode="true" autosave="10" world="worlds/DesignHouse/test" port="6001" loadpackage="npl_packages/paracraft/" dev="/opt/server_001/"

paracraft's People

Contributors

kkvskkkk avatar lixizhi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

paracraft's Issues

旋转帧第一帧的问题

【旋转帧】旋转帧第一帧直接按K进行K帧(默认最初状态),之后在别的位置加旋转帧的话,会直接替代第一帧,中间不会有过度动作。

联机:移动方块bug

版本:0.7.244
联机时,非主机玩家 选中大片方块快速移动时,会在移动路径上造成方块“残影”,详见下图
image

【联机】优化联机带宽

20个人在线集中在几个房间内普通建造的时候,服务器带宽峰值在3M左右,估算1000人在线时,最高带宽需150M左右;
能否优化同步带来的带宽?

[建议]希望联机模式实现entity的命令同步

目前遇到的命令主要是【move】,当触发这条命令时,会将房主移动到命令指定的地点。
希望使【/move @】命令能够支持到加入房间的玩家,比如根据进入房间用户的前后顺序给予的编号,或是米米号,用户名等等
同样的还有【/facing】和【/lookat】、【/anim】、【/walk】
这几个可能都会在联机中用到

静态水和动态水存在色差

如题,在半空中查看时,可见两种水之间有色差。使用replace好像无法在两种水之间进行转换
总之这块地方很难修复到完美如初的状态
image

滚动条控件

滚动条,鼠标点击下图位置滚动条标识拖动后,在滚动条区域外放开鼠标,实际未解除选中状态,鼠标再移动到滚动条其他位置,标识会跟着移动
image

F3info里的坐标信息消失

版本:0.7.243
按F3打开信息栏,里面mouse 和 relative to 两排坐标信息不见。
并且按相应快捷键,复制的是空字符串,如下图
image
image

方块显示延迟

在游戏里面边走边放置或者消除方块,渲染会有延迟。
方块已经敲掉了,但是显示是还在。

【建议】增加3DsMax模型导出

怎么说Paracraft到底只是一个游戏 不适合用来做大面积的渲染
建议可以把建筑导出成模型可以转入C4D或者是AE做后期处理。

鼠标卡死

image
非红色边框内的所有方向
鼠标左右长按就会卡死
只要不是按钮都这样

联机地形显示不出

版本:0.7.243
新建地图开启联机之后 随意向一个方向走,会出现如图状况
方块显示不出来,但是方块是存在的,如下图
image
image
image

有关动画信息逻辑设定的改进设想

现阶段我们的角色骨骼保持不变的情况下能不能统一调用一套动画信息。每次导出模型只需要导出蒙皮好的。共用一套动画。目前每次导出角色包含动画的容量是3M,不包含动画的是900多KB。
当动画角色进一步增加时,不仅会产生大量重复无用的数据,也会出现部分角色动作产生问题

水面层级问题

从水面的视角看,鼠标over到水中的entity上,模型会消失。如下图
image

Upload images to wiki

One can drag and drop images here, and then copy the url to your wiki page
你可以拖动想上传的图片到这里,或者将截图直接粘贴(Ctrl+V)到这里, 然后复制超链接到WIKI页面即可

More info see here

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.