Animate SE
This commit is contained in:
parent
4c4bf20dee
commit
b42da2f660
@ -108,6 +108,7 @@ loader.prototype.loadAnimates = function () {
|
|||||||
content = JSON.parse(content);
|
content = JSON.parse(content);
|
||||||
var data = {};
|
var data = {};
|
||||||
data.ratio = content.ratio;
|
data.ratio = content.ratio;
|
||||||
|
data.se = content.se;
|
||||||
data.images = [];
|
data.images = [];
|
||||||
data.images_rev = [];
|
data.images_rev = [];
|
||||||
content.bitmaps.forEach(function (t2) {
|
content.bitmaps.forEach(function (t2) {
|
||||||
|
|||||||
@ -974,6 +974,9 @@ maps.prototype.drawAnimate = function (name, x, y, callback) {
|
|||||||
var centerX = 32*x+16, centerY = 32*y+16;
|
var centerX = 32*x+16, centerY = 32*y+16;
|
||||||
var index=0;
|
var index=0;
|
||||||
|
|
||||||
|
// 播放音效
|
||||||
|
core.playSound(animate.se);
|
||||||
|
|
||||||
var draw = function (index) {
|
var draw = function (index) {
|
||||||
core.clearMap('animate', 0, 0, 416, 416);
|
core.clearMap('animate', 0, 0, 416, 416);
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -8,7 +8,7 @@ data_a1e2fb4a_e986_4524_b0da_9b7ba7c0874d =
|
|||||||
"bg.jpg"
|
"bg.jpg"
|
||||||
],
|
],
|
||||||
"animates" : [
|
"animates" : [
|
||||||
"hand", "sword", "zone",
|
"hand", "sword", "zone"
|
||||||
],
|
],
|
||||||
"bgms" : [
|
"bgms" : [
|
||||||
'bgm.mp3'
|
'bgm.mp3'
|
||||||
|
|||||||
BIN
常用工具/RM动画导出器.exe
BIN
常用工具/RM动画导出器.exe
Binary file not shown.
Loading…
Reference in New Issue
Block a user