This commit is contained in:
ckcz123 2020-10-18 22:54:34 +08:00
parent c9c2c5f043
commit 020a8996bf
5 changed files with 7 additions and 6 deletions

View File

@ -3431,8 +3431,8 @@ UnaryOperator_List
/*UnaryOperator_List ['Math.floor', 'Math.ceil', 'Math.round', 'Math.trunc', 'Math.abs', 'Math.sqrt', 'typeof']*/;
UtilOperator_List
: '大数字格式化'|'哈希值'|'base64编码'|'base64解码'|'不可SL的随机'|'可以SL的随机'|'表达式求值'|'深拷贝'|'日期格式化'|'时间格式化'|'获得cookie'|'字符串字节数'
/*UtilOperator_List ['core.formatBigNumber', 'core.hashCode', 'core.encodeBase64', 'core.decodeBase64', 'core.rand', 'core.rand2', 'core.calValue', 'core.clone', 'core.formatDate', 'core.formatTime', 'core.getCookie', 'core.strlen']*/;
: '大数字格式化'|'哈希值'|'base64编码'|'base64解码'|'不可SL的随机'|'可以SL的随机'|'深拷贝'|'日期格式化'|'时间格式化'|'获得cookie'|'字符串字节数'
/*UtilOperator_List ['core.formatBigNumber', 'core.hashCode', 'core.encodeBase64', 'core.decodeBase64', 'core.rand', 'core.rand2', 'core.clone', 'core.formatDate', 'core.formatTime', 'core.getCookie', 'core.strlen']*/;
Weather_List
: '无'|'雨'|'雪'|'雾'|'云'

View File

@ -788,7 +788,6 @@ editor_ui_wrapper = function (editor) {
html += "</p>";
html += "<p style='margin-left: 10px'><small>如果文件未在此列表显示,请检查文件名是否合法(只能由数字字母下划线横线和点组成),后缀名是否正确。</small></p>";
uievent.elements.extraBody.innerHTML = html;
if (hasAudio) new Awesomplete(".awesomplete");
});
}
@ -852,6 +851,7 @@ editor_ui_wrapper = function (editor) {
var _previewMaterialAnimate = function (span, content) {
var input = span.children[1];
input.value = content.se || "";
new Awesomplete(input);
// 创建dom
if (!uievent.values.dom) {

View File

@ -2288,7 +2288,10 @@ events.prototype._action_callSave = function (data, x, y, prefix) {
else {
var e = core.clone(core.status.event.data);
core.ui.closePanel();
var forbidSave = core.hasFlag('__forbidSave__');
core.removeFlag('__forbidSave__');
core.save();
if (forbidSave) core.setFlag('__forbidSave__', true);
core.status.event.interval = e;
}
}

View File

@ -2193,7 +2193,6 @@ maps.prototype._getAndRemoveBlock = function (x, y) {
////// 显示移动某块的动画,达到{“type”:”move”}的效果 //////
maps.prototype.moveBlock = function (x, y, steps, time, keep, callback) {
if (core.status.replay.speed == 24) time = 1;
if (keep == null) keep = true;
time = time || 500;
var blockArr = this._getAndRemoveBlock(x, y);
if (blockArr == null) {
@ -2283,7 +2282,6 @@ maps.prototype._moveBlock_moving = function (blockInfo, canvases, moveInfo) {
////// 显示跳跃某块的动画,达到{"type":"jump"}的效果 //////
maps.prototype.jumpBlock = function (sx, sy, ex, ey, time, keep, callback) {
time = time || 500;
if (keep == null) keep = true;
var blockArr = this._getAndRemoveBlock(sx, sy);
if (blockArr == null) {
if (callback) callback();

View File

@ -52,7 +52,7 @@ N可能影响接档等下一个版本再考虑
x2. 部分rm功能确定键触发很多作者可能会摆一些挡路的可通行事件但又希望可以像绿点一样穿透比如因为目标层/点有分歧而不能用绿点只能用红点的楼梯那么就需要勇士站在此点按下轻按键7或其他什么数字键来触发该事件
x2.1 斜向移动插件库的磁铁特效但blockly中的步伐口诀语法需要调整最简单的调整方法是1不许省略这样连续两个汉字就一定表示一个斜向了还不影响接档
x2.2 三行二列的自动元件、流体(草木茂盛处)、梯子(勇士始终脸朝上)、柜台的绘制,视频播放,
N2.3 动画多音效可先不修改动画编辑器和导出器给animate/json文件约定好语法并被drawAnimate/drawHeroAnimate执行即可
2.3 动画多音效可先不修改动画编辑器和导出器给animate/json文件约定好语法并被drawAnimate/drawHeroAnimate执行即可
x2.4 音频的变调变速和声道偏移、bgs目前只能由作者自行用插件实现和me播放时bgm暂时淡出
x2.5 另外建议提供bgm播放进度读写、多个bgm独立调节音量的API和事件
x2.6 以及一个bgm循环插件思路是事先约定每个bgm的循环起止点并行检查是否越过终点越过则跳转至起点。