lvjincheng 3 lat temu
commit
94b69e46eb
100 zmienionych plików z 3285 dodań i 0 usunięć
  1. 1 0
      DumplingServer/.gitignore
  2. 35 0
      DumplingServer/Linux部署说明.md
  3. 57 0
      DumplingServer/game/player.go
  4. 21 0
      DumplingServer/game/protocol.go
  5. 199 0
      DumplingServer/game/room.go
  6. 103 0
      DumplingServer/game/server.go
  7. 47 0
      DumplingServer/game/utils.go
  8. 27 0
      DumplingServer/go.mod
  9. 61 0
      DumplingServer/go.sum
  10. 17 0
      DumplingServer/logs/log.json
  11. 34 0
      DumplingServer/main.go
  12. 5 0
      README.md
  13. 7 0
      assets/Animations.meta
  14. 7 0
      assets/Animations/Matching.meta
  15. 385 0
      assets/Animations/Matching/bubble.anim
  16. 5 0
      assets/Animations/Matching/bubble.anim.meta
  17. 111 0
      assets/Animations/Matching/dot.anim
  18. 5 0
      assets/Animations/Matching/dot.anim.meta
  19. 84 0
      assets/Animations/Matching/matching.anim
  20. 5 0
      assets/Animations/Matching/matching.anim.meta
  21. 43 0
      assets/Animations/Matching/shootingStar.anim
  22. 5 0
      assets/Animations/Matching/shootingStar.anim.meta
  23. 279 0
      assets/Animations/Matching/test.anim
  24. 5 0
      assets/Animations/Matching/test.anim.meta
  25. 48 0
      assets/Animations/Saw.anim
  26. 5 0
      assets/Animations/Saw.anim.meta
  27. 7 0
      assets/Audios.meta
  28. BIN
      assets/Audios/Attack.mp3
  29. 6 0
      assets/Audios/Attack.mp3.meta
  30. BIN
      assets/Audios/BG.mp3
  31. 6 0
      assets/Audios/BG.mp3.meta
  32. BIN
      assets/Audios/Bu.mp3
  33. 6 0
      assets/Audios/Bu.mp3.meta
  34. 7 0
      assets/Audios/Pairing.meta
  35. BIN
      assets/Audios/Pairing/MatchSuccess.mp3
  36. 6 0
      assets/Audios/Pairing/MatchSuccess.mp3.meta
  37. BIN
      assets/Audios/Win.mp3
  38. 6 0
      assets/Audios/Win.mp3.meta
  39. 7 0
      assets/DragonBones.meta
  40. 7 0
      assets/DragonBones/BigSaw.meta
  41. 1 0
      assets/DragonBones/BigSaw/BigSaw_ske.json
  42. 3 0
      assets/DragonBones/BigSaw/BigSaw_ske.json.meta
  43. 1 0
      assets/DragonBones/BigSaw/BigSaw_tex.json
  44. 7 0
      assets/DragonBones/BigSaw/BigSaw_tex.json.meta
  45. BIN
      assets/DragonBones/BigSaw/BigSaw_tex.png
  46. 34 0
      assets/DragonBones/BigSaw/BigSaw_tex.png.meta
  47. 7 0
      assets/DragonBones/Blood.meta
  48. 1 0
      assets/DragonBones/Blood/Blood_ske.json
  49. 6 0
      assets/DragonBones/Blood/Blood_ske.json.meta
  50. 1 0
      assets/DragonBones/Blood/Blood_tex.json
  51. 7 0
      assets/DragonBones/Blood/Blood_tex.json.meta
  52. BIN
      assets/DragonBones/Blood/Blood_tex.png
  53. 34 0
      assets/DragonBones/Blood/Blood_tex.png.meta
  54. 7 0
      assets/DragonBones/FireBlue.meta
  55. 1 0
      assets/DragonBones/FireBlue/Fire_ske.json
  56. 6 0
      assets/DragonBones/FireBlue/Fire_ske.json.meta
  57. 1 0
      assets/DragonBones/FireBlue/Fire_tex.json
  58. 7 0
      assets/DragonBones/FireBlue/Fire_tex.json.meta
  59. BIN
      assets/DragonBones/FireBlue/Fire_tex.png
  60. 34 0
      assets/DragonBones/FireBlue/Fire_tex.png.meta
  61. 7 0
      assets/DragonBones/FireRed.meta
  62. 1 0
      assets/DragonBones/FireRed/Fire_ske.json
  63. 6 0
      assets/DragonBones/FireRed/Fire_ske.json.meta
  64. 1 0
      assets/DragonBones/FireRed/Fire_tex.json
  65. 7 0
      assets/DragonBones/FireRed/Fire_tex.json.meta
  66. BIN
      assets/DragonBones/FireRed/Fire_tex.png
  67. 34 0
      assets/DragonBones/FireRed/Fire_tex.png.meta
  68. 7 0
      assets/DragonBones/Saw.meta
  69. 1 0
      assets/DragonBones/Saw/Saw_ske.json
  70. 6 0
      assets/DragonBones/Saw/Saw_ske.json.meta
  71. 1 0
      assets/DragonBones/Saw/Saw_tex.json
  72. 7 0
      assets/DragonBones/Saw/Saw_tex.json.meta
  73. BIN
      assets/DragonBones/Saw/Saw_tex.png
  74. 34 0
      assets/DragonBones/Saw/Saw_tex.png.meta
  75. 7 0
      assets/DragonBones/TrackLeft.meta
  76. 0 0
      assets/DragonBones/TrackLeft/TrackLeft_ske.json
  77. 3 0
      assets/DragonBones/TrackLeft/TrackLeft_ske.json.meta
  78. 1 0
      assets/DragonBones/TrackLeft/TrackLeft_tex.json
  79. 7 0
      assets/DragonBones/TrackLeft/TrackLeft_tex.json.meta
  80. BIN
      assets/DragonBones/TrackLeft/TrackLeft_tex.png
  81. 34 0
      assets/DragonBones/TrackLeft/TrackLeft_tex.png.meta
  82. 7 0
      assets/DragonBones/TrackRight.meta
  83. 0 0
      assets/DragonBones/TrackRight/TrackRight_ske.json
  84. 3 0
      assets/DragonBones/TrackRight/TrackRight_ske.json.meta
  85. 1 0
      assets/DragonBones/TrackRight/TrackRight_tex.json
  86. 7 0
      assets/DragonBones/TrackRight/TrackRight_tex.json.meta
  87. BIN
      assets/DragonBones/TrackRight/TrackRight_tex.png
  88. 34 0
      assets/DragonBones/TrackRight/TrackRight_tex.png.meta
  89. 7 0
      assets/DragonBones/boy.meta
  90. 0 0
      assets/DragonBones/boy/boy_ske.json
  91. 3 0
      assets/DragonBones/boy/boy_ske.json.meta
  92. 0 0
      assets/DragonBones/boy/boy_tex.json
  93. 3 0
      assets/DragonBones/boy/boy_tex.json.meta
  94. BIN
      assets/DragonBones/boy/boy_tex.png
  95. 34 0
      assets/DragonBones/boy/boy_tex.png.meta
  96. 7 0
      assets/Prefabs.meta
  97. 127 0
      assets/Prefabs/Blood.prefab
  98. 8 0
      assets/Prefabs/Blood.prefab.meta
  99. 1055 0
      assets/Prefabs/Boy.prefab
  100. 8 0
      assets/Prefabs/Boy.prefab.meta

+ 1 - 0
DumplingServer/.gitignore

@@ -0,0 +1 @@
+/*.log

+ 35 - 0
DumplingServer/Linux部署说明.md

@@ -0,0 +1,35 @@
+1. 安装Go环境
+
+去官网下载安装包 https://golang.google.cn/dl/
+
+把下载好的安装包放到Linux服务器并用以下命令解压
+```
+tar -C /usr/local -xzf go1.17.7.linux-amd64.tar.gz
+```
+
+2. 部署项目
+
+把DumplingServer目录放Linux服务器,在该目录下按顺序执行以下命令
+
+- 通过命令行临时设置环境变量(即关闭命令行后会失效)
+```
+export PATH=$PATH:/usr/local/go/bin
+export GO111MODULE=on
+export GOPROXY=https://goproxy.cn
+```
+- 运行项目
+```
+nohup go run main.go
+```
+
+3. 配置Nginx方向代理
+```
+location /DumplingServer {
+    proxy_pass http://127.0.0.1:11815/DumplingServer;
+
+    # 主要websocket代理配置, $http_upgrade是指http协议头部Upgrade的值. 
+    proxy_http_version 1.1;
+    proxy_set_header Upgrade $http_upgrade;
+    proxy_set_header Connection "upgrade";
+}
+```

+ 57 - 0
DumplingServer/game/player.go

@@ -0,0 +1,57 @@
+package game
+
+import (
+	"github.com/gorilla/websocket"
+)
+
+//玩家
+type Player struct {
+	Conn    *websocket.Conn
+	IsValid bool
+	//当前所在的房间
+	Room *Room
+	//用户信息(需要客户端上传)
+	userInfo interface{}
+}
+
+func (player *Player) OnLoad() {
+	player.IsValid = true
+}
+
+func (player *Player) OnDestroy() {
+	player.IsValid = false
+	//断开连接时,玩家就要离开房间
+	if player.Room != nil {
+		player.Room.Leave(player)
+	}
+}
+
+//RPC接口-请求进入房间
+func (player *Player) RequestEnterRoom(userInfo interface{}) {
+	player.userInfo = userInfo
+	if player.Room == nil {
+		MatchAndEnterRoom(player)
+	}
+}
+
+//RPC接口-上传数据帧
+func (player *Player) UploadFrames(frames []interface{}) {
+	if player.Room != nil {
+		player.Room.CacheFrames(frames)
+	}
+}
+
+//通知客户端-匹配完成
+func (player *Player) Notify_onMatchComplete(id int, playerInfos map[int]interface{}, uuid_ string, timestamp_ int64) {
+	SendPackFunction(player.Conn, "onMatchComplete", id, playerInfos, uuid_, timestamp_)
+}
+
+//通知客户端-游戏开始
+func (player *Player) Notify_onGameStart() {
+	SendPackFunction(player.Conn, "onGameStart")
+}
+
+//通知客户端-下发帧同步数据
+func (player *Player) Notify_onFrameSync(frames []interface{}) {
+	SendPackFunction(player.Conn, "onFrameSync", frames)
+}

+ 21 - 0
DumplingServer/game/protocol.go

@@ -0,0 +1,21 @@
+package game
+
+//同步帧-玩家离开房间
+type SyncFrame_PlayerLeave struct {
+	Type     int `json:"t"`
+	PlayerId int `json:"pi"`
+}
+
+func NewSyncFrame_PlayerLeave(playerId int) SyncFrame_PlayerLeave {
+	return SyncFrame_PlayerLeave{Type: 100, PlayerId: playerId}
+}
+
+//同步帧-玩家离开房间
+type SyncFrame_DeltaTime struct {
+	Type      int   `json:"t"`
+	DeltaTime int64 `json:"dt"`
+}
+
+func NewSyncFrame_DeltaTime(deltaTime int64) SyncFrame_DeltaTime {
+	return SyncFrame_DeltaTime{Type: 101, DeltaTime: deltaTime}
+}

+ 199 - 0
DumplingServer/game/room.go

@@ -0,0 +1,199 @@
+package game
+
+import (
+	"sync"
+	"time"
+
+	"github.com/wonderivan/logger"
+)
+
+//房间
+type Room struct {
+	Lock sync.Mutex
+	ID   int
+	//玩家列表
+	PlayerList []*Player
+	//游戏开始时,会给房间中的各个玩家定义一个ID
+	PlayerIds map[*Player]int
+	//玩家上传的帧数据,发送出去后需要清空
+	Frames []interface{}
+	//是否有效,设置为false后,会被协程销毁
+	IsValid bool
+	//是否处于匹配阶段
+	Matching bool
+	//最多容纳几个玩家
+	MaxPlayerCount int
+}
+
+var roomListLock sync.Mutex
+var roomList []*Room
+
+//玩家匹配并进入一个房间
+func MatchAndEnterRoom(player *Player) {
+	roomListLock.Lock()
+	defer roomListLock.Unlock()
+	//看能否进入已有的房间
+	for _, v := range roomList {
+		if v.enter(player, true) {
+			return
+		}
+	}
+	//不能就进入新建的房间
+	addNewRoom(false).enter(player, true)
+}
+
+//新增一个房间(创建房间)
+func addNewRoom(lock bool) *Room {
+	if lock {
+		roomListLock.Lock()
+		defer roomListLock.Unlock()
+	}
+	room := &Room{ID: GetUuidInt("Room"), IsValid: true, Matching: true, MaxPlayerCount: 4}
+	roomList = append(roomList, room)
+	logger.Info("Room ID", room.ID, "Created")
+	go room.autoCheckCompleteMatchingAndStartGame()
+	return room
+}
+
+//移除一个房间(销毁房间)
+func removeRoom(room *Room) {
+	roomListLock.Lock()
+	defer roomListLock.Unlock()
+	for k, v := range roomList {
+		if v == room {
+			roomList = append(roomList[:k], roomList[k+1:]...)
+			logger.Info("Room ID", room.ID, "Removed")
+			break
+		}
+	}
+}
+
+//让玩家进入
+func (room *Room) enter(player *Player, onlyEnterWhenMatching bool) bool {
+	room.Lock.Lock()
+	defer room.Lock.Unlock()
+	if onlyEnterWhenMatching && !room.Matching {
+		return false
+	}
+	if len(room.PlayerList) < room.MaxPlayerCount {
+		room.PlayerList = append(room.PlayerList, player)
+		player.Room = room
+		logger.Info("Room ID", room.ID, "A Player Enter, Total Member Count", len(room.PlayerList))
+		if room.Matching && len(room.PlayerList) == room.MaxPlayerCount {
+			room.Matching = false
+		}
+		return true
+	}
+	return false
+}
+
+//让玩家离开
+func (room *Room) Leave(player *Player) {
+	room.Lock.Lock()
+	defer room.Lock.Unlock()
+	for k, v := range room.PlayerList {
+		if v == player {
+			room.PlayerList = append(room.PlayerList[:k], room.PlayerList[k+1:]...)
+			player.Room = nil
+			if room.PlayerIds != nil {
+				playerId := room.PlayerIds[player]
+				delete(room.PlayerIds, player)
+				room.Frames = append(room.Frames, NewSyncFrame_PlayerLeave(playerId))
+			}
+			logger.Info("Room ID", room.ID, "A Player Leave, Total Member Count", len(room.PlayerList))
+			break
+		}
+	}
+	if len(room.PlayerList) == 0 {
+		room.IsValid = false
+		removeRoom(room)
+	}
+}
+
+//自动结束匹配(需要协程开启)
+func (room *Room) autoCheckCompleteMatchingAndStartGame() {
+	//循环等待匹配结束
+	checkStartTime := time.Now().UnixMilli()
+	checkInterval := time.Duration(100) * time.Millisecond
+	for room.Matching {
+		time.Sleep(checkInterval)
+		//房间最多匹配几秒
+		if time.Now().UnixMilli()-checkStartTime >= 6000 {
+			room.Lock.Lock()
+			room.Matching = false
+			room.Lock.Unlock()
+		}
+	}
+	//结束匹配
+	room.completeMatching()
+	//延迟2秒
+	time.Sleep(time.Duration(2) * time.Second)
+	//通知玩家开始游戏
+	room.startGame()
+	//开启自动帧同步
+	go room.autoFrameSync()
+}
+
+//完成匹配
+func (room *Room) completeMatching() {
+	room.Lock.Lock()
+	defer room.Lock.Unlock()
+	//记录玩家数据
+	playerInfos := make(map[int]interface{})
+	room.PlayerIds = make(map[*Player]int)
+	for k, v := range room.PlayerList {
+		room.PlayerIds[v] = k
+		playerInfos[k] = v.userInfo
+	}
+	uuid := NewUUID()
+	timestamp := time.Now().UnixMilli()
+	for k, v := range room.PlayerList {
+		v.Notify_onMatchComplete(k, playerInfos, uuid, timestamp)
+	}
+	logger.Info("Room ID", room.ID, "Matching Completed")
+}
+
+//开始游戏
+func (room *Room) startGame() {
+	room.Lock.Lock()
+	defer room.Lock.Unlock()
+	for _, v := range room.PlayerList {
+		v.Notify_onGameStart()
+	}
+	logger.Info("Room ID", room.ID, "Game Start")
+}
+
+//自动帧同步(需要协程开启)
+func (room *Room) autoFrameSync() {
+	loopInterval := time.Duration(33) * time.Millisecond
+	logger.Info("Room ID", room.ID, "Frame Sync Start")
+	lastHandleTime := time.Now().UnixMilli()
+	currentHandleTime := lastHandleTime
+	for room.IsValid {
+		time.Sleep(loopInterval)
+		currentHandleTime = time.Now().UnixMilli()
+		room.Frames = append(room.Frames, NewSyncFrame_DeltaTime(currentHandleTime-lastHandleTime))
+		lastHandleTime = currentHandleTime
+		room.sendFrames()
+	}
+	logger.Info("Room ID", room.ID, "Frame Sync Stop")
+}
+
+//向房间内所有玩家发送同步帧
+func (room *Room) sendFrames() {
+	room.Lock.Lock()
+	defer room.Lock.Unlock()
+	if len(room.Frames) > 0 {
+		for _, v := range room.PlayerList {
+			v.Notify_onFrameSync(room.Frames)
+		}
+		room.Frames = nil
+	}
+}
+
+//缓存玩家上传的帧数据
+func (room *Room) CacheFrames(frames []interface{}) {
+	room.Lock.Lock()
+	defer room.Lock.Unlock()
+	room.Frames = append(room.Frames, frames...)
+}

+ 103 - 0
DumplingServer/game/server.go

@@ -0,0 +1,103 @@
+package game
+
+import (
+	"encoding/json"
+	"net/http"
+	"reflect"
+	"strconv"
+	"strings"
+
+	"github.com/gin-gonic/gin"
+	"github.com/gorilla/websocket"
+)
+
+//数据包-用于前后端的RPC调用
+type dataPack struct {
+	Type int32         `json:"type"`
+	Func string        `json:"func"`
+	Args []interface{} `json:"args"`
+}
+
+//CheckOrigin防止跨站点的请求伪造
+var upGrader = websocket.Upgrader{
+	CheckOrigin: func(r *http.Request) bool {
+		//直接通过,因为目前还没必要做检测
+		return true
+	},
+}
+
+//Socket处理器
+func socketHandler(c *gin.Context) {
+	ws, err := upGrader.Upgrade(c.Writer, c.Request, nil)
+	if err != nil {
+		return
+	}
+	se := createEntity(ws)
+	defer invokeFunc(se, "OnDestroy")
+	defer ws.Close()
+	invokeFunc(se, "OnLoad")
+	for {
+		_, message, err := ws.ReadMessage()
+		if err != nil {
+			break
+		}
+		dp := dataPack{}
+		json.Unmarshal(message, &dp)
+		invokeFuncByDataPack(se, &dp)
+	}
+}
+
+//定义函数-创建Socket实体
+type CreateEntity func(conn *websocket.Conn) interface{}
+
+//自定义函数-创建Socket实体
+var createEntity CreateEntity
+
+//开启服务监听
+func StartServer(port int, path string, createEntityFunc CreateEntity) {
+	createEntity = createEntityFunc
+	r := gin.Default()
+	r.GET(path, socketHandler)
+	r.Run(":" + strconv.Itoa(port))
+}
+
+//向客户端发送数据包
+func SendPackFunction(ws *websocket.Conn, func_ string, args ...interface{}) {
+	dp := dataPack{Func: func_, Args: args, Type: 1}
+	ws.WriteJSON(&dp)
+}
+
+//通过反射调用函数
+func invokeFunc(obj interface{}, func_ string, args ...interface{}) {
+	ctx := reflect.ValueOf(obj)
+	if strings.Contains(func_, ".") {
+		func_Split := strings.Split(func_, ".")
+		ctx = ctx.FieldByName(func_Split[0])
+		func_ = func_Split[1]
+	}
+	method := ctx.MethodByName(func_)
+	if !method.IsValid() {
+		return
+	}
+	argsLen := len(args)
+	argsList := make([]reflect.Value, argsLen)
+	for i := 0; i < argsLen; i++ {
+		argsList[i] = reflect.ValueOf(args[i])
+	}
+	method.Call(argsList)
+}
+
+//检测开关-在远程调用前是否进行合法检测
+var CheckServiceFuncMapBeforInvoke = false
+
+//为了防止非法远程调用,只允许调用Map中记录的方法
+var ServiceFuncMap = make(map[string]bool)
+
+//根据客户端传来的RPC数据包调用指定的函数
+func invokeFuncByDataPack(obj interface{}, dp *dataPack) {
+	if dp.Type == 1 {
+		if !CheckServiceFuncMapBeforInvoke || ServiceFuncMap[dp.Func] {
+			invokeFunc(obj, dp.Func, dp.Args...)
+		}
+	}
+}

+ 47 - 0
DumplingServer/game/utils.go

@@ -0,0 +1,47 @@
+package game
+
+import (
+	"fmt"
+	"runtime"
+	"strconv"
+	"strings"
+	"sync"
+
+	"github.com/gofrs/uuid"
+)
+
+//获取线程ID
+func GoID() int {
+	var buf [64]byte
+	n := runtime.Stack(buf[:], false)
+	idField := strings.Fields(strings.TrimPrefix(string(buf[:n]), "goroutine "))[0]
+	id, err := strconv.Atoi(idField)
+	if err != nil {
+		panic(fmt.Sprintf("cannot get goroutine id: %v", err))
+	}
+	return id
+}
+
+var uuidIntMap = make(map[string]int)
+var uuidIntMapLock sync.Mutex
+
+//获取int型的自增id(范围1~2111111111)
+func GetUuidInt(key string) int {
+	uuidIntMapLock.Lock()
+	defer uuidIntMapLock.Unlock()
+	id := uuidIntMap[key] + 1
+	if id > 2111111111 {
+		id = 1
+	}
+	uuidIntMap[key] = id
+	return id
+}
+
+func NewUUID() string {
+	uidStr := ""
+	uid, err := uuid.NewV1()
+	if err == nil {
+		uidStr = strings.ReplaceAll(uid.String(), "-", "")
+	}
+	return uidStr
+}

+ 27 - 0
DumplingServer/go.mod

@@ -0,0 +1,27 @@
+module DumplingServer
+
+go 1.17
+
+require github.com/wonderivan/logger v1.0.0
+
+require (
+	github.com/gin-contrib/sse v0.1.0 // indirect
+	github.com/gin-gonic/gin v1.7.7 // indirect
+	github.com/go-playground/locales v0.13.0 // indirect
+	github.com/go-playground/universal-translator v0.17.0 // indirect
+	github.com/go-playground/validator/v10 v10.4.1 // indirect
+	github.com/gofrs/uuid v4.0.0+incompatible // indirect
+	github.com/golang/protobuf v1.3.3 // indirect
+	github.com/gomodule/redigo v1.8.4 // indirect
+	github.com/googollee/go-socket.io v1.6.1 // indirect
+	github.com/gorilla/websocket v1.4.2 // indirect
+	github.com/json-iterator/go v1.1.9 // indirect
+	github.com/leodido/go-urn v1.2.0 // indirect
+	github.com/mattn/go-isatty v0.0.12 // indirect
+	github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
+	github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect
+	github.com/ugorji/go/codec v1.1.7 // indirect
+	golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 // indirect
+	golang.org/x/sys v0.0.0-20200116001909-b77594299b42 // indirect
+	gopkg.in/yaml.v2 v2.2.8 // indirect
+)

+ 61 - 0
DumplingServer/go.sum

@@ -0,0 +1,61 @@
+github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
+github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
+github.com/gin-gonic/gin v1.7.7 h1:3DoBmSbJbZAWqXJC3SLjAPfutPJJRN1U5pALB7EeTTs=
+github.com/gin-gonic/gin v1.7.7/go.mod h1:axIBovoeJpVj8S3BwE0uPMTeReE4+AfFtqpqaZ1qq1U=
+github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
+github.com/go-playground/locales v0.13.0 h1:HyWk6mgj5qFqCT5fjGBuRArbVDfE4hi8+e8ceBS/t7Q=
+github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8=
+github.com/go-playground/universal-translator v0.17.0 h1:icxd5fm+REJzpZx7ZfpaD876Lmtgy7VtROAbHHXk8no=
+github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA=
+github.com/go-playground/validator/v10 v10.4.1 h1:pH2c5ADXtd66mxoE0Zm9SUhxE20r7aM3F26W0hOn+GE=
+github.com/go-playground/validator/v10 v10.4.1/go.mod h1:nlOn6nFhuKACm19sB/8EGNn9GlaMV7XkbRSipzJ0Ii4=
+github.com/gofrs/uuid v4.0.0+incompatible h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw=
+github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
+github.com/golang/protobuf v1.3.3 h1:gyjaxf+svBWX08ZjK86iN9geUJF0H6gp2IRKX6Nf6/I=
+github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw=
+github.com/gomodule/redigo v1.8.4 h1:Z5JUg94HMTR1XpwBaSH4vq3+PNSIykBLxMdglbw10gg=
+github.com/gomodule/redigo v1.8.4/go.mod h1:P9dn9mFrCBvWhGE1wpxx6fgq7BAeLBk+UUUzlpkBYO0=
+github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
+github.com/googollee/go-socket.io v1.6.1 h1:qSaB0rqZOIbHLs94BkZ/Uwgd6+x/GzkdNtc2IEt8Psc=
+github.com/googollee/go-socket.io v1.6.1/go.mod h1:0vGP8/dXR9SZUMMD4+xxaGo/lohOw3YWMh2WRiWeKxg=
+github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
+github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
+github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns=
+github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
+github.com/leodido/go-urn v1.2.0 h1:hpXL4XnriNwQ/ABnpepYM/1vCLWNDfUNts8dX3xTG6Y=
+github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
+github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=
+github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
+github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc=
+github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 h1:Esafd1046DLDQ0W1YjYsBW+p8U2u7vzgW2SQVmlNazg=
+github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
+github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
+github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
+github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
+github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
+github.com/ugorji/go v1.1.7 h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo=
+github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
+github.com/ugorji/go/codec v1.1.7 h1:2SvQaVZ1ouYrrKKwoSk2pzd4A9evlKJb9oTL+OaLUSs=
+github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
+github.com/wonderivan/logger v1.0.0 h1:Z6Nz+3SNcizolx3ARH11axdD4DXjFpb2J+ziGUVlv/U=
+github.com/wonderivan/logger v1.0.0/go.mod h1:NObMfQ3WOLKfYEZuGeZQfuQfSPE5+QNgRddVMzsAT/k=
+golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
+golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9 h1:psW17arqaxU48Z5kZ0CQnkZWQJsqcURM6tKiBApRjXI=
+golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
+golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
+golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/sys v0.0.0-20200116001909-b77594299b42 h1:vEOn+mP2zCOVzKckCZy6YsCtDblrpj/w7B9nxGNELpg=
+golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
+golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
+golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
+gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
+gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
+gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=

+ 17 - 0
DumplingServer/logs/log.json

@@ -0,0 +1,17 @@
+{
+    "TimeFormat": "2006-01-02 15:04:05",
+    "Console": {
+        "level": "TRAC",
+        "color": true
+    },
+    "File": {
+        "filename": "app.log",
+        "level": "TRAC",
+        "daily": true,
+        "maxlines": 1000000,
+        "maxsize": 1,
+        "maxdays": -1,
+        "append": true,
+        "permit": "0660"
+    }
+}

+ 34 - 0
DumplingServer/main.go

@@ -0,0 +1,34 @@
+package main
+
+import (
+	"DumplingServer/game"
+
+	"github.com/gorilla/websocket"
+	"github.com/wonderivan/logger"
+)
+
+//主函数入口
+func main() {
+	initLogger()
+	initAPI()
+	startServer()
+}
+
+//配置日志
+func initLogger() {
+	logger.SetLogger("./logs/log.json")
+}
+
+//设置只允许调用哪些API
+func initAPI() {
+	game.CheckServiceFuncMapBeforInvoke = true
+	game.ServiceFuncMap["RequestEnterRoom"] = true
+	game.ServiceFuncMap["UploadFrames"] = true
+}
+
+//开启服务监听
+func startServer() {
+	game.StartServer(11815, "/DumplingServer", func(conn *websocket.Conn) interface{} {
+		return &game.Player{Conn: conn}
+	})
+}

+ 5 - 0
README.md

@@ -0,0 +1,5 @@
+# Dumpling
+Cocos Creator 2.2.2
+
+## 修改服务器地址
+在文件SocketPlayer.ts中修改。

+ 7 - 0
assets/Animations.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "c0469564-64d4-49a1-9039-aff7a5fa1130",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

+ 7 - 0
assets/Animations/Matching.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "b3f48b02-de0e-4b3a-889a-8166c116e4f2",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

+ 385 - 0
assets/Animations/Matching/bubble.anim

@@ -0,0 +1,385 @@
+{
+  "__type__": "cc.AnimationClip",
+  "_name": "bubble",
+  "_objFlags": 0,
+  "_native": "",
+  "_duration": 5.016666666666667,
+  "sample": 60,
+  "speed": 3,
+  "wrapMode": 2,
+  "curveData": {
+    "comps": {
+      "cc.Sprite": {
+        "spriteFrame": [
+          {
+            "frame": 0,
+            "value": {
+              "__uuid__": "aa8342b8-1f07-497b-8983-78cd428c6268"
+            }
+          },
+          {
+            "frame": 0.08333333333333333,
+            "value": {
+              "__uuid__": "12fb674b-2ff1-48a1-84b0-23a7002d00ce"
+            }
+          },
+          {
+            "frame": 0.16666666666666666,
+            "value": {
+              "__uuid__": "bbab860c-8f33-4a4d-b4b5-172c5bbf22a9"
+            }
+          },
+          {
+            "frame": 0.25,
+            "value": {
+              "__uuid__": "ea419db9-f672-4f43-bf59-170ee671736c"
+            }
+          },
+          {
+            "frame": 0.3333333333333333,
+            "value": {
+              "__uuid__": "7d330fc7-1e78-4c30-9f1e-2ef73baa8c0d"
+            }
+          },
+          {
+            "frame": 0.4166666666666667,
+            "value": {
+              "__uuid__": "afe18ddf-c6fd-473c-b8d0-bb05babe0025"
+            }
+          },
+          {
+            "frame": 0.5,
+            "value": {
+              "__uuid__": "5a8e82c2-073a-4ad7-bd42-3634f76650a1"
+            }
+          },
+          {
+            "frame": 0.5833333333333334,
+            "value": {
+              "__uuid__": "29294db3-0005-41a7-9371-2bd826ed9742"
+            }
+          },
+          {
+            "frame": 0.6666666666666666,
+            "value": {
+              "__uuid__": "fffbc2cd-31a0-4813-bf88-30ab2fa9ed90"
+            }
+          },
+          {
+            "frame": 0.75,
+            "value": {
+              "__uuid__": "f107d392-5ed6-4d18-821a-cbba64ffc55d"
+            }
+          },
+          {
+            "frame": 0.8333333333333334,
+            "value": {
+              "__uuid__": "19e4fcf7-2d8a-401c-b3fc-bbdf2e152bb5"
+            }
+          },
+          {
+            "frame": 0.9166666666666666,
+            "value": {
+              "__uuid__": "27a87ed5-b244-4d9a-a669-cfbe03519d03"
+            }
+          },
+          {
+            "frame": 1,
+            "value": {
+              "__uuid__": "458b964e-439a-43be-9077-31cfcfa7a62e"
+            }
+          },
+          {
+            "frame": 1.0833333333333333,
+            "value": {
+              "__uuid__": "99787e05-ad2b-447f-b1fe-afb4b7b85b70"
+            }
+          },
+          {
+            "frame": 1.1666666666666667,
+            "value": {
+              "__uuid__": "16d5bb07-f8ce-46b9-ade8-1f1dfc5af53c"
+            }
+          },
+          {
+            "frame": 1.25,
+            "value": {
+              "__uuid__": "fcbf7bc1-1f9b-443d-822c-76a73611aa3e"
+            }
+          },
+          {
+            "frame": 1.3333333333333333,
+            "value": {
+              "__uuid__": "442a94cf-92ae-4856-b1b9-546d37575a0e"
+            }
+          },
+          {
+            "frame": 1.4166666666666667,
+            "value": {
+              "__uuid__": "3f838a12-9801-4f59-9897-d017378499f7"
+            }
+          },
+          {
+            "frame": 1.5,
+            "value": {
+              "__uuid__": "8572ddac-c665-410f-851c-f5f55e093c23"
+            }
+          },
+          {
+            "frame": 1.5833333333333333,
+            "value": {
+              "__uuid__": "6edb2523-6437-42e7-88dd-4f32dcef5902"
+            }
+          },
+          {
+            "frame": 1.6666666666666667,
+            "value": {
+              "__uuid__": "57dd6253-9393-489c-971f-a3bcaf7605bc"
+            }
+          },
+          {
+            "frame": 1.75,
+            "value": {
+              "__uuid__": "70269fd1-c7c5-43e0-a7c1-264ccb0a9e5d"
+            }
+          },
+          {
+            "frame": 1.8333333333333333,
+            "value": {
+              "__uuid__": "eb8a76a2-0519-464f-91b0-9f7b9356b941"
+            }
+          },
+          {
+            "frame": 1.9166666666666667,
+            "value": {
+              "__uuid__": "9b93b5a7-2058-4cd0-8112-4a3050a69932"
+            }
+          },
+          {
+            "frame": 2,
+            "value": {
+              "__uuid__": "7190f777-be44-4e2b-9cf5-635a6de5d223"
+            }
+          },
+          {
+            "frame": 2.0833333333333335,
+            "value": {
+              "__uuid__": "8a74afb3-17d0-4923-9b9b-ca9795ec5aa6"
+            }
+          },
+          {
+            "frame": 2.1666666666666665,
+            "value": {
+              "__uuid__": "50aa6c22-feac-4bbe-9abf-bb9f512c8ab8"
+            }
+          },
+          {
+            "frame": 2.25,
+            "value": {
+              "__uuid__": "ed8eb13a-dacc-4a35-af51-249d6b7a3e5c"
+            }
+          },
+          {
+            "frame": 2.3333333333333335,
+            "value": {
+              "__uuid__": "6d205b23-d084-4785-aa0e-39788d0b17b2"
+            }
+          },
+          {
+            "frame": 2.4166666666666665,
+            "value": {
+              "__uuid__": "0c3cb9df-9112-49ad-b77d-9d33a507be38"
+            }
+          },
+          {
+            "frame": 2.5,
+            "value": {
+              "__uuid__": "2be95c9a-7920-423f-8e2c-cfcbd15435a3"
+            }
+          },
+          {
+            "frame": 2.5833333333333335,
+            "value": {
+              "__uuid__": "221c1674-b7fa-4004-ac34-220475267c32"
+            }
+          },
+          {
+            "frame": 2.6666666666666665,
+            "value": {
+              "__uuid__": "bd7c6a1a-94f0-40e4-a197-9dda5fad22e5"
+            }
+          },
+          {
+            "frame": 2.75,
+            "value": {
+              "__uuid__": "6a7a30f6-1719-483a-a075-c31105b6b419"
+            }
+          },
+          {
+            "frame": 2.8333333333333335,
+            "value": {
+              "__uuid__": "ac698444-a773-49e1-b041-fe0d465d8943"
+            }
+          },
+          {
+            "frame": 2.9166666666666665,
+            "value": {
+              "__uuid__": "3220f622-4565-4141-8a72-5ab1eeecce61"
+            }
+          },
+          {
+            "frame": 3,
+            "value": {
+              "__uuid__": "ec905783-3f92-4de5-b8fe-50961f659bee"
+            }
+          },
+          {
+            "frame": 3.0833333333333335,
+            "value": {
+              "__uuid__": "e904f13e-29d2-4897-af1d-4795f643ffba"
+            }
+          },
+          {
+            "frame": 3.1666666666666665,
+            "value": {
+              "__uuid__": "9568a9b4-db3a-42d5-9233-529e2f0f9327"
+            }
+          },
+          {
+            "frame": 3.25,
+            "value": {
+              "__uuid__": "988555dd-f50a-4b66-b224-f97faf20fb63"
+            }
+          },
+          {
+            "frame": 3.3333333333333335,
+            "value": {
+              "__uuid__": "5325e301-29fa-482b-b81f-a6b08607df87"
+            }
+          },
+          {
+            "frame": 3.4166666666666665,
+            "value": {
+              "__uuid__": "09fc9c4e-3683-4aaf-a6bd-2fdaf960820f"
+            }
+          },
+          {
+            "frame": 3.5,
+            "value": {
+              "__uuid__": "0f979b1e-1f43-4d2b-b698-432d09bfc877"
+            }
+          },
+          {
+            "frame": 3.5833333333333335,
+            "value": {
+              "__uuid__": "5a0c2040-457b-43b8-a597-63dc46c4220f"
+            }
+          },
+          {
+            "frame": 3.6666666666666665,
+            "value": {
+              "__uuid__": "82c41d8a-bc2b-451f-9fce-3a52c1c45fef"
+            }
+          },
+          {
+            "frame": 3.75,
+            "value": {
+              "__uuid__": "7e3e2013-c4c8-4fc3-aa59-361c8e2359f2"
+            }
+          },
+          {
+            "frame": 3.8333333333333335,
+            "value": {
+              "__uuid__": "5d2edc25-28f2-402c-90d9-584045908e68"
+            }
+          },
+          {
+            "frame": 3.9166666666666665,
+            "value": {
+              "__uuid__": "4df36432-2fe8-4871-adb1-6004d3957de3"
+            }
+          },
+          {
+            "frame": 4,
+            "value": {
+              "__uuid__": "e52d5c81-3c69-46ba-aa18-a66d6d016524"
+            }
+          },
+          {
+            "frame": 4.083333333333333,
+            "value": {
+              "__uuid__": "9871247c-cb2b-4a26-a209-8ea28480ed0b"
+            }
+          },
+          {
+            "frame": 4.166666666666667,
+            "value": {
+              "__uuid__": "fee9f846-2a91-435f-8fca-3ca454332b06"
+            }
+          },
+          {
+            "frame": 4.25,
+            "value": {
+              "__uuid__": "e76a5327-6653-417f-aa97-7aee828dc10e"
+            }
+          },
+          {
+            "frame": 4.333333333333333,
+            "value": {
+              "__uuid__": "953fd1cb-5e2d-461f-bb6a-0fd9b46a870a"
+            }
+          },
+          {
+            "frame": 4.416666666666667,
+            "value": {
+              "__uuid__": "5f435daf-b2e7-40a0-9f9c-2b301f1eb57c"
+            }
+          },
+          {
+            "frame": 4.5,
+            "value": {
+              "__uuid__": "aa8342b8-1f07-497b-8983-78cd428c6268"
+            }
+          },
+          {
+            "frame": 4.583333333333333,
+            "value": {
+              "__uuid__": "28469033-6c76-4e19-b3b2-3b75d2039a4b"
+            }
+          },
+          {
+            "frame": 4.666666666666667,
+            "value": {
+              "__uuid__": "9e426e13-62ca-46d9-b83e-b5d98f968e94"
+            }
+          },
+          {
+            "frame": 4.75,
+            "value": {
+              "__uuid__": "baa26f77-3d83-451e-99b4-f64b24333cdd"
+            }
+          },
+          {
+            "frame": 4.833333333333333,
+            "value": {
+              "__uuid__": "358d21c7-4341-4dc9-81f2-c61939bbe4d2"
+            }
+          },
+          {
+            "frame": 4.916666666666667,
+            "value": {
+              "__uuid__": "ac6223ad-78a9-4e28-8955-ab57c78b68b1"
+            }
+          },
+          {
+            "frame": 5,
+            "value": {
+              "__uuid__": "24cd083d-004f-4177-86eb-a564554be1d0"
+            }
+          }
+        ]
+      }
+    }
+  },
+  "events": []
+}

+ 5 - 0
assets/Animations/Matching/bubble.anim.meta

@@ -0,0 +1,5 @@
+{
+  "ver": "2.1.0",
+  "uuid": "a4dc8dd1-0db5-441d-bf17-3dedf5c84a43",
+  "subMetas": {}
+}

+ 111 - 0
assets/Animations/Matching/dot.anim

@@ -0,0 +1,111 @@
+{
+  "__type__": "cc.AnimationClip",
+  "_name": "dot",
+  "_objFlags": 0,
+  "_native": "",
+  "_duration": 3.0166666666666666,
+  "sample": 60,
+  "speed": 1,
+  "wrapMode": 2,
+  "curveData": {
+    "paths": {
+      "LoadingLeftDot": {
+        "comps": {
+          "cc.Sprite": {
+            "spriteFrame": [
+              {
+                "frame": 0,
+                "value": {
+                  "__uuid__": "d57e9fdf-2fbf-4d31-8170-06e8ec564c79"
+                }
+              },
+              {
+                "frame": 1,
+                "value": {
+                  "__uuid__": "6afe5901-8c94-41f1-b2a1-4d7329f77c32"
+                }
+              },
+              {
+                "frame": 2,
+                "value": {
+                  "__uuid__": "0b9e2cd7-8c98-4c4a-bce6-98ee4e4389b5"
+                }
+              },
+              {
+                "frame": 3,
+                "value": {
+                  "__uuid__": "d57e9fdf-2fbf-4d31-8170-06e8ec564c79"
+                }
+              }
+            ]
+          }
+        }
+      },
+      "LoadingMiddleDot": {
+        "comps": {
+          "cc.Sprite": {
+            "spriteFrame": [
+              {
+                "frame": 0,
+                "value": {
+                  "__uuid__": "6afe5901-8c94-41f1-b2a1-4d7329f77c32"
+                }
+              },
+              {
+                "frame": 1,
+                "value": {
+                  "__uuid__": "0b9e2cd7-8c98-4c4a-bce6-98ee4e4389b5"
+                }
+              },
+              {
+                "frame": 2,
+                "value": {
+                  "__uuid__": "d57e9fdf-2fbf-4d31-8170-06e8ec564c79"
+                }
+              },
+              {
+                "frame": 3,
+                "value": {
+                  "__uuid__": "6afe5901-8c94-41f1-b2a1-4d7329f77c32"
+                }
+              }
+            ]
+          }
+        }
+      },
+      "LoadingRightDot": {
+        "comps": {
+          "cc.Sprite": {
+            "spriteFrame": [
+              {
+                "frame": 0,
+                "value": {
+                  "__uuid__": "0b9e2cd7-8c98-4c4a-bce6-98ee4e4389b5"
+                }
+              },
+              {
+                "frame": 1,
+                "value": {
+                  "__uuid__": "d57e9fdf-2fbf-4d31-8170-06e8ec564c79"
+                }
+              },
+              {
+                "frame": 2,
+                "value": {
+                  "__uuid__": "6afe5901-8c94-41f1-b2a1-4d7329f77c32"
+                }
+              },
+              {
+                "frame": 3,
+                "value": {
+                  "__uuid__": "0b9e2cd7-8c98-4c4a-bce6-98ee4e4389b5"
+                }
+              }
+            ]
+          }
+        }
+      }
+    }
+  },
+  "events": []
+}

+ 5 - 0
assets/Animations/Matching/dot.anim.meta

@@ -0,0 +1,5 @@
+{
+  "ver": "2.1.0",
+  "uuid": "e6eaf390-c69a-4c3b-9b04-a9a1edcb79da",
+  "subMetas": {}
+}

+ 84 - 0
assets/Animations/Matching/matching.anim

@@ -0,0 +1,84 @@
+{
+  "__type__": "cc.AnimationClip",
+  "_name": "matching",
+  "_objFlags": 0,
+  "_native": "",
+  "_duration": 4,
+  "sample": 60,
+  "speed": 1,
+  "wrapMode": 2,
+  "curveData": {
+    "paths": {
+      "Player2": {
+        "comps": {},
+        "props": {
+          "y": [
+            {
+              "frame": 0,
+              "value": 42.118
+            },
+            {
+              "frame": 1,
+              "value": -5.86
+            },
+            {
+              "frame": 3,
+              "value": 82.794
+            },
+            {
+              "frame": 4,
+              "value": 43.16
+            }
+          ]
+        }
+      },
+      "Player3": {
+        "comps": {},
+        "props": {
+          "y": [
+            {
+              "frame": 0,
+              "value": -134.619
+            },
+            {
+              "frame": 1.0166666666666666,
+              "value": -97.666
+            },
+            {
+              "frame": 3,
+              "value": -180.194
+            },
+            {
+              "frame": 4,
+              "value": -133.387
+            }
+          ]
+        }
+      },
+      "Player4": {
+        "comps": {},
+        "props": {
+          "y": [
+            {
+              "frame": 0,
+              "value": -254.711
+            },
+            {
+              "frame": 1,
+              "value": -325.992
+            },
+            {
+              "frame": 3.0166666666666666,
+              "value": -199.433
+            },
+            {
+              "frame": 4,
+              "value": -252.845
+            }
+          ]
+        }
+      }
+    }
+  },
+  "events": []
+}

+ 5 - 0
assets/Animations/Matching/matching.anim.meta

@@ -0,0 +1,5 @@
+{
+  "ver": "2.1.0",
+  "uuid": "c254bb52-dbc5-4958-a799-3c5b560354d5",
+  "subMetas": {}
+}

+ 43 - 0
assets/Animations/Matching/shootingStar.anim

@@ -0,0 +1,43 @@
+{
+  "__type__": "cc.AnimationClip",
+  "_name": "shootingStar",
+  "_objFlags": 0,
+  "_native": "",
+  "_duration": 0.16666666666666666,
+  "sample": 60,
+  "speed": 0.3,
+  "wrapMode": 1,
+  "curveData": {
+    "paths": {
+      "UpMeteor": {
+        "props": {
+          "x": [
+            {
+              "frame": 0,
+              "value": -557
+            },
+            {
+              "frame": 0.16666666666666666,
+              "value": 161.399
+            }
+          ]
+        }
+      },
+      "DownMeteor": {
+        "props": {
+          "x": [
+            {
+              "frame": 0,
+              "value": 567
+            },
+            {
+              "frame": 0.16666666666666666,
+              "value": -156.826
+            }
+          ]
+        }
+      }
+    }
+  },
+  "events": []
+}

+ 5 - 0
assets/Animations/Matching/shootingStar.anim.meta

@@ -0,0 +1,5 @@
+{
+  "ver": "2.1.0",
+  "uuid": "febfffa0-2a4b-4e78-9658-28b91e50c997",
+  "subMetas": {}
+}

+ 279 - 0
assets/Animations/Matching/test.anim

@@ -0,0 +1,279 @@
+{
+  "__type__": "cc.AnimationClip",
+  "_name": "test",
+  "_objFlags": 0,
+  "_native": "",
+  "_duration": 1,
+  "sample": 60,
+  "speed": 0.5,
+  "wrapMode": 2,
+  "curveData": {
+    "paths": {
+      "paopao-animation_0": {
+        "props": {
+          "scale": [
+            {
+              "frame": 0,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 2,
+                "y": 2
+              }
+            },
+            {
+              "frame": 0.016666666666666666,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 0,
+                "y": 0
+              }
+            },
+            {
+              "frame": 0.5,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 1,
+                "y": 1
+              }
+            },
+            {
+              "frame": 1,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 2,
+                "y": 2
+              }
+            }
+          ],
+          "opacity": [
+            {
+              "frame": 0,
+              "value": 0
+            },
+            {
+              "frame": 0.03333333333333333,
+              "value": 0
+            },
+            {
+              "frame": 0.05,
+              "value": 255
+            },
+            {
+              "frame": 0.5,
+              "value": 255
+            },
+            {
+              "frame": 1,
+              "value": 0
+            }
+          ]
+        }
+      },
+      "paopao-animation_1": {
+        "props": {
+          "scale": [
+            {
+              "frame": 0,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 0.5,
+                "y": 0.5
+              }
+            },
+            {
+              "frame": 0.25,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 1,
+                "y": 1
+              }
+            },
+            {
+              "frame": 0.75,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 2,
+                "y": 2
+              }
+            },
+            {
+              "frame": 0.7666666666666667,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 0,
+                "y": 0
+              }
+            },
+            {
+              "frame": 1,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 0.5,
+                "y": 0.5
+              }
+            }
+          ],
+          "opacity": [
+            {
+              "frame": 0,
+              "value": 255
+            },
+            {
+              "frame": 0.25,
+              "value": 255
+            },
+            {
+              "frame": 0.75,
+              "value": 0
+            },
+            {
+              "frame": 0.7833333333333333,
+              "value": 0
+            },
+            {
+              "frame": 0.8,
+              "value": 255
+            },
+            {
+              "frame": 1,
+              "value": 255
+            }
+          ]
+        }
+      },
+      "paopao-animation_2": {
+        "props": {
+          "scale": [
+            {
+              "frame": 0,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 1,
+                "y": 1
+              }
+            },
+            {
+              "frame": 0.5,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 2,
+                "y": 2
+              }
+            },
+            {
+              "frame": 0.5166666666666667,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 0,
+                "y": 0
+              }
+            },
+            {
+              "frame": 1,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 1,
+                "y": 1
+              }
+            }
+          ],
+          "opacity": [
+            {
+              "frame": 0,
+              "value": 255
+            },
+            {
+              "frame": 0.5,
+              "value": 0
+            },
+            {
+              "frame": 0.5333333333333333,
+              "value": 0
+            },
+            {
+              "frame": 0.55,
+              "value": 255
+            },
+            {
+              "frame": 1,
+              "value": 255
+            }
+          ]
+        }
+      },
+      "paopao-animation_3": {
+        "props": {
+          "scale": [
+            {
+              "frame": 0,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 1.5,
+                "y": 1.5
+              }
+            },
+            {
+              "frame": 0.25,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 2,
+                "y": 2
+              }
+            },
+            {
+              "frame": 0.26666666666666666,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 0,
+                "y": 0
+              }
+            },
+            {
+              "frame": 0.75,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 1,
+                "y": 1
+              }
+            },
+            {
+              "frame": 1,
+              "value": {
+                "__type__": "cc.Vec2",
+                "x": 1.5,
+                "y": 1.5
+              }
+            }
+          ],
+          "opacity": [
+            {
+              "frame": 0,
+              "value": 127
+            },
+            {
+              "frame": 0.25,
+              "value": 0
+            },
+            {
+              "frame": 0.2833333333333333,
+              "value": 0
+            },
+            {
+              "frame": 0.3,
+              "value": 255
+            },
+            {
+              "frame": 0.75,
+              "value": 255
+            },
+            {
+              "frame": 1,
+              "value": 127
+            }
+          ]
+        }
+      }
+    }
+  },
+  "events": []
+}

+ 5 - 0
assets/Animations/Matching/test.anim.meta

@@ -0,0 +1,5 @@
+{
+  "ver": "2.1.0",
+  "uuid": "f925f5d8-7af0-4d1f-9a66-786a95836058",
+  "subMetas": {}
+}

+ 48 - 0
assets/Animations/Saw.anim

@@ -0,0 +1,48 @@
+{
+  "__type__": "cc.AnimationClip",
+  "_name": "Saw",
+  "_objFlags": 0,
+  "_native": "",
+  "_duration": 0.3333333333333333,
+  "sample": 60,
+  "speed": 1,
+  "wrapMode": 0,
+  "curveData": {
+    "props": {
+      "angle": [
+        {
+          "frame": 0,
+          "value": 30,
+          "curve": "cubicOut"
+        },
+        {
+          "frame": 0.05,
+          "value": 60
+        },
+        {
+          "frame": 0.11666666666666667,
+          "value": -10
+        },
+        {
+          "frame": 0.16666666666666666,
+          "value": 60
+        },
+        {
+          "frame": 0.23333333333333334,
+          "value": -10
+        },
+        {
+          "frame": 0.3333333333333333,
+          "value": 30
+        }
+      ]
+    }
+  },
+  "events": [
+    {
+      "frame": 0.3333333333333333,
+      "func": "attackFinish",
+      "params": []
+    }
+  ]
+}

+ 5 - 0
assets/Animations/Saw.anim.meta

@@ -0,0 +1,5 @@
+{
+  "ver": "2.1.0",
+  "uuid": "83b44303-ffd0-411d-b61a-388c15e01044",
+  "subMetas": {}
+}

+ 7 - 0
assets/Audios.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "16b50702-8546-4659-8168-edc10ebeab17",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

BIN
assets/Audios/Attack.mp3


+ 6 - 0
assets/Audios/Attack.mp3.meta

@@ -0,0 +1,6 @@
+{
+  "ver": "2.0.0",
+  "uuid": "97597448-189a-42fa-b8c3-69c057099e44",
+  "downloadMode": 0,
+  "subMetas": {}
+}

BIN
assets/Audios/BG.mp3


+ 6 - 0
assets/Audios/BG.mp3.meta

@@ -0,0 +1,6 @@
+{
+  "ver": "2.0.0",
+  "uuid": "68ce31d6-5e40-413b-bb61-8945f5056ad2",
+  "downloadMode": 0,
+  "subMetas": {}
+}

BIN
assets/Audios/Bu.mp3


+ 6 - 0
assets/Audios/Bu.mp3.meta

@@ -0,0 +1,6 @@
+{
+  "ver": "2.0.0",
+  "uuid": "8208dac9-c691-4735-8275-f6d63c1c168c",
+  "downloadMode": 0,
+  "subMetas": {}
+}

+ 7 - 0
assets/Audios/Pairing.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "6ca0dff2-5160-42c9-9e49-b9f2565921dc",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

BIN
assets/Audios/Pairing/MatchSuccess.mp3


+ 6 - 0
assets/Audios/Pairing/MatchSuccess.mp3.meta

@@ -0,0 +1,6 @@
+{
+  "ver": "2.0.0",
+  "uuid": "cb39bc91-cbde-46ee-9597-b1d25a611d48",
+  "downloadMode": 0,
+  "subMetas": {}
+}

BIN
assets/Audios/Win.mp3


+ 6 - 0
assets/Audios/Win.mp3.meta

@@ -0,0 +1,6 @@
+{
+  "ver": "2.0.0",
+  "uuid": "9f504c07-da84-4833-ad19-2b7ad457ac2c",
+  "downloadMode": 0,
+  "subMetas": {}
+}

+ 7 - 0
assets/DragonBones.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "a6e2bbd3-098b-4a1a-98e0-316d40da8494",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

+ 7 - 0
assets/DragonBones/BigSaw.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "068dee87-a939-434b-8074-7f287d27146d",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

+ 1 - 0
assets/DragonBones/BigSaw/BigSaw_ske.json

@@ -0,0 +1 @@
+{"frameRate":24,"name":"BigSaw","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"MovieClip","frameRate":24,"name":"Stage","bone":[{"name":"root"}],"animation":[{"duration":0,"playTimes":0,"name":"newAnimation"}],"defaultActions":[{"gotoAndPlay":"newAnimation"}]},{"type":"MovieClip","frameRate":24,"name":"MovieClip","bone":[{"name":"root"}],"defaultActions":[{}]},{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-101.88,"y":-129.53,"width":201,"height":195},"bone":[{"name":"root"},{"length":90,"name":"saw","parent":"root","transform":{"x":-1.25,"y":-100.65,"skX":89.6218,"skY":89.6218}},{"length":64,"name":"pian1","parent":"root","transform":{"x":-1.1793,"y":0.1884,"skX":88.882,"skY":88.882}}],"slot":[{"name":"shadow","parent":"root"},{"name":"pian","parent":"pian1"},{"name":"saw","parent":"saw"}],"skin":[{"slot":[{"name":"pian","display":[{"name":"pian","transform":{"x":-0.1,"y":-0.3,"skX":-88.88,"skY":-88.88}}]},{"name":"shadow","display":[{"name":"shadow","transform":{"x":-1.38,"y":-32.03,"skX":0.3,"skY":0.3}}]},{"name":"saw","display":[{"name":"saw","transform":{"x":56.15,"y":-0.38,"skX":-89.62,"skY":-89.62}}]}]}],"animation":[{"duration":16,"playTimes":0,"name":"newAnimation","bone":[{"name":"pian1","rotateFrame":[{"duration":2,"tweenEasing":0},{"duration":2,"tweenEasing":0,"rotate":45.84},{"duration":2,"tweenEasing":0,"rotate":91.08},{"duration":2,"tweenEasing":0,"rotate":135.91},{"duration":2,"tweenEasing":0,"rotate":-178.24},{"duration":2,"tweenEasing":0,"rotate":-133.58},{"duration":2,"tweenEasing":0,"rotate":-89.34},{"duration":2,"tweenEasing":0,"rotate":-44.82},{"duration":0,"rotate":-0.26}]}]}],"defaultActions":[{"gotoAndPlay":"newAnimation"}]}]}

Plik diff jest za duży
+ 3 - 0
assets/DragonBones/BigSaw/BigSaw_ske.json.meta


+ 1 - 0
assets/DragonBones/BigSaw/BigSaw_tex.json

@@ -0,0 +1 @@
+{"imagePath":"BigSaw_tex.png","width":512,"height":256,"name":"BigSaw","SubTexture":[{"frameY":-4,"y":1,"frameWidth":201,"frameHeight":195,"width":183,"height":191,"name":"shadow","frameX":-11,"x":1},{"frameY":-3,"y":1,"frameWidth":127,"frameHeight":127,"width":122,"height":122,"name":"pian","frameX":-2,"x":362},{"frameY":-4,"y":1,"frameWidth":180,"frameHeight":162,"width":174,"height":154,"name":"saw","frameX":-3,"x":186}]}

+ 7 - 0
assets/DragonBones/BigSaw/BigSaw_tex.json.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.0",
+  "uuid": "043634a4-b986-4284-848b-86298dd81e1a",
+  "atlasJson": "{\"imagePath\":\"BigSaw_tex.png\",\"width\":512,\"height\":256,\"name\":\"BigSaw\",\"SubTexture\":[{\"frameY\":-4,\"y\":1,\"frameWidth\":201,\"frameHeight\":195,\"width\":183,\"height\":191,\"name\":\"shadow\",\"frameX\":-11,\"x\":1},{\"frameY\":-3,\"y\":1,\"frameWidth\":127,\"frameHeight\":127,\"width\":122,\"height\":122,\"name\":\"pian\",\"frameX\":-2,\"x\":362},{\"frameY\":-4,\"y\":1,\"frameWidth\":180,\"frameHeight\":162,\"width\":174,\"height\":154,\"name\":\"saw\",\"frameX\":-3,\"x\":186}]}",
+  "texture": "6c22e96f-c9f5-4670-ae9a-033086b635ef",
+  "subMetas": {}
+}

BIN
assets/DragonBones/BigSaw/BigSaw_tex.png


+ 34 - 0
assets/DragonBones/BigSaw/BigSaw_tex.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "6c22e96f-c9f5-4670-ae9a-033086b635ef",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "BigSaw_tex": {
+      "ver": "1.0.4",
+      "uuid": "a346db0e-2f63-4fe0-b820-3d8449756d9d",
+      "rawTextureUuid": "6c22e96f-c9f5-4670-ae9a-033086b635ef",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": -13.5,
+      "offsetY": 31.5,
+      "trimX": 1,
+      "trimY": 1,
+      "width": 483,
+      "height": 191,
+      "rawWidth": 512,
+      "rawHeight": 256,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

+ 7 - 0
assets/DragonBones/Blood.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "c7f13d24-4830-4f7d-bdde-e1a0c6036476",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

+ 1 - 0
assets/DragonBones/Blood/Blood_ske.json

@@ -0,0 +1 @@
+{"frameRate":24,"name":"Blood","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"MovieClip","frameRate":24,"name":"Stage","bone":[{"name":"root"}],"animation":[{"duration":0,"playTimes":0,"name":"newAnimation"}],"defaultActions":[{"gotoAndPlay":"newAnimation"}]},{"type":"MovieClip","frameRate":24,"name":"MovieClip","bone":[{"name":"root"}],"defaultActions":[{}]},{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-88.94,"y":-75.97,"width":150,"height":138},"bone":[{"name":"root"},{"length":32,"name":"blood_1","parent":"root","transform":{"x":-1,"y":-0.5,"skX":90,"skY":90}}],"slot":[{"displayIndex":1,"name":"blood_1","parent":"blood_1"}],"skin":[{"slot":[{"name":"blood_1","display":[{"name":"blood_1","transform":{"x":-0.5,"y":1,"skX":-90,"skY":-90}},{"name":"blood_2","transform":{"x":-6.47,"y":12.94,"skX":-97.78,"skY":-97.78}}]}]}],"animation":[{"duration":10,"playTimes":0,"name":"blood_1","bone":[{"name":"blood_1","scaleFrame":[{"duration":2,"tweenEasing":0,"x":0.4,"y":0.4},{"duration":2,"tweenEasing":0,"x":0.5,"y":0.5},{"duration":4,"tweenEasing":0},{"duration":2,"x":0.8,"y":0.8}]}],"slot":[{"name":"blood_1","displayFrame":[{"duration":6},{"duration":4,"value":1}]}]},{"duration":0,"playTimes":0,"name":"blood_2"}],"defaultActions":[{"gotoAndPlay":"blood_1"}]}]}

+ 6 - 0
assets/DragonBones/Blood/Blood_ske.json.meta

@@ -0,0 +1,6 @@
+{
+  "ver": "1.0.0",
+  "uuid": "51b26a0c-6aaf-4859-9f18-c5e03478fbba",
+  "dragonBonesJson": "{\"frameRate\":24,\"name\":\"Blood\",\"version\":\"5.5\",\"compatibleVersion\":\"5.5\",\"armature\":[{\"type\":\"MovieClip\",\"frameRate\":24,\"name\":\"Stage\",\"bone\":[{\"name\":\"root\"}],\"animation\":[{\"duration\":0,\"playTimes\":0,\"name\":\"newAnimation\"}],\"defaultActions\":[{\"gotoAndPlay\":\"newAnimation\"}]},{\"type\":\"MovieClip\",\"frameRate\":24,\"name\":\"MovieClip\",\"bone\":[{\"name\":\"root\"}],\"defaultActions\":[{}]},{\"type\":\"Armature\",\"frameRate\":24,\"name\":\"Armature\",\"aabb\":{\"x\":-88.94,\"y\":-75.97,\"width\":150,\"height\":138},\"bone\":[{\"name\":\"root\"},{\"length\":32,\"name\":\"blood_1\",\"parent\":\"root\",\"transform\":{\"x\":-1,\"y\":-0.5,\"skX\":90,\"skY\":90}}],\"slot\":[{\"displayIndex\":1,\"name\":\"blood_1\",\"parent\":\"blood_1\"}],\"skin\":[{\"slot\":[{\"name\":\"blood_1\",\"display\":[{\"name\":\"blood_1\",\"transform\":{\"x\":-0.5,\"y\":1,\"skX\":-90,\"skY\":-90}},{\"name\":\"blood_2\",\"transform\":{\"x\":-6.47,\"y\":12.94,\"skX\":-97.78,\"skY\":-97.78}}]}]}],\"animation\":[{\"duration\":10,\"playTimes\":0,\"name\":\"blood_1\",\"bone\":[{\"name\":\"blood_1\",\"scaleFrame\":[{\"duration\":2,\"tweenEasing\":0,\"x\":0.4,\"y\":0.4},{\"duration\":2,\"tweenEasing\":0,\"x\":0.5,\"y\":0.5},{\"duration\":4,\"tweenEasing\":0},{\"duration\":2,\"x\":0.8,\"y\":0.8}]}],\"slot\":[{\"name\":\"blood_1\",\"displayFrame\":[{\"duration\":6},{\"duration\":4,\"value\":1}]}]},{\"duration\":0,\"playTimes\":0,\"name\":\"blood_2\"}],\"defaultActions\":[{\"gotoAndPlay\":\"blood_1\"}]}]}",
+  "subMetas": {}
+}

+ 1 - 0
assets/DragonBones/Blood/Blood_tex.json

@@ -0,0 +1 @@
+{"width":256,"imagePath":"Blood_tex.png","name":"Blood","SubTexture":[{"frameY":-1,"y":1,"frameWidth":150,"frameHeight":138,"width":144,"height":136,"name":"blood_2","frameX":-3,"x":1},{"frameY":-2,"y":1,"frameWidth":72,"frameHeight":72,"width":64,"height":69,"name":"blood_1","frameX":-4,"x":147}],"height":256}

+ 7 - 0
assets/DragonBones/Blood/Blood_tex.json.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.0",
+  "uuid": "c4709498-7b6e-4637-9ca1-1e06579d54cd",
+  "atlasJson": "{\"width\":256,\"imagePath\":\"Blood_tex.png\",\"name\":\"Blood\",\"SubTexture\":[{\"frameY\":-1,\"y\":1,\"frameWidth\":150,\"frameHeight\":138,\"width\":144,\"height\":136,\"name\":\"blood_2\",\"frameX\":-3,\"x\":1},{\"frameY\":-2,\"y\":1,\"frameWidth\":72,\"frameHeight\":72,\"width\":64,\"height\":69,\"name\":\"blood_1\",\"frameX\":-4,\"x\":147}],\"height\":256}",
+  "texture": "39ee82d3-4fb0-42cb-876d-c739cafb1fcd",
+  "subMetas": {}
+}

BIN
assets/DragonBones/Blood/Blood_tex.png


+ 34 - 0
assets/DragonBones/Blood/Blood_tex.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "39ee82d3-4fb0-42cb-876d-c739cafb1fcd",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "Blood_tex": {
+      "ver": "1.0.4",
+      "uuid": "f96d0b40-9db0-4a12-b720-f2e514eba555",
+      "rawTextureUuid": "39ee82d3-4fb0-42cb-876d-c739cafb1fcd",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": -22,
+      "offsetY": 59,
+      "trimX": 1,
+      "trimY": 1,
+      "width": 210,
+      "height": 136,
+      "rawWidth": 256,
+      "rawHeight": 256,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

+ 7 - 0
assets/DragonBones/FireBlue.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "19afa2e3-1b0f-4535-951e-e6a00e4dd9b4",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

+ 1 - 0
assets/DragonBones/FireBlue/Fire_ske.json

@@ -0,0 +1 @@
+{"frameRate":24,"name":"Fire","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Sheet","frameRate":24,"name":"Sprite","aabb":{"x":-101.5,"y":-196,"width":203,"height":212},"bone":[{"name":"root"}],"slot":[{"displayIndex":2,"name":"sheetSlot","parent":"root"}],"skin":[{"slot":[{"name":"sheetSlot","display":[{"name":"Light09","transform":{"y":-90,"scX":-1}},{"name":"Light08","transform":{"y":-90,"scX":-1}},{"name":"Light07","transform":{"y":-90,"scX":-1}},{"name":"Light06","transform":{"y":-90,"scX":-1}},{"name":"Light05","transform":{"y":-90,"scX":-1}},{"name":"Light04","transform":{"y":-90,"scX":-1}},{"name":"Light03","transform":{"y":-90,"scX":-1}},{"name":"Light02","transform":{"y":-90,"scX":-1}},{"name":"Light01","transform":{"y":-90,"scX":-1}}]}]}],"animation":[{"duration":9,"playTimes":0,"name":"Sprite","slot":[{"name":"sheetSlot","displayFrame":[{},{"value":1},{"value":2},{"value":3},{"value":4},{"value":5},{"value":6},{"value":7},{"value":8}]}]}],"defaultActions":[{"gotoAndPlay":"Sprite"}]}]}

+ 6 - 0
assets/DragonBones/FireBlue/Fire_ske.json.meta

@@ -0,0 +1,6 @@
+{
+  "ver": "1.0.0",
+  "uuid": "4a47d9bf-8b98-4234-accd-6af55e83bdfa",
+  "dragonBonesJson": "{\"frameRate\":24,\"name\":\"Fire\",\"version\":\"5.5\",\"compatibleVersion\":\"5.5\",\"armature\":[{\"type\":\"Sheet\",\"frameRate\":24,\"name\":\"Sprite\",\"aabb\":{\"x\":-101.5,\"y\":-196,\"width\":203,\"height\":212},\"bone\":[{\"name\":\"root\"}],\"slot\":[{\"displayIndex\":2,\"name\":\"sheetSlot\",\"parent\":\"root\"}],\"skin\":[{\"slot\":[{\"name\":\"sheetSlot\",\"display\":[{\"name\":\"Light09\",\"transform\":{\"y\":-90,\"scX\":-1}},{\"name\":\"Light08\",\"transform\":{\"y\":-90,\"scX\":-1}},{\"name\":\"Light07\",\"transform\":{\"y\":-90,\"scX\":-1}},{\"name\":\"Light06\",\"transform\":{\"y\":-90,\"scX\":-1}},{\"name\":\"Light05\",\"transform\":{\"y\":-90,\"scX\":-1}},{\"name\":\"Light04\",\"transform\":{\"y\":-90,\"scX\":-1}},{\"name\":\"Light03\",\"transform\":{\"y\":-90,\"scX\":-1}},{\"name\":\"Light02\",\"transform\":{\"y\":-90,\"scX\":-1}},{\"name\":\"Light01\",\"transform\":{\"y\":-90,\"scX\":-1}}]}]}],\"animation\":[{\"duration\":9,\"playTimes\":0,\"name\":\"Sprite\",\"slot\":[{\"name\":\"sheetSlot\",\"displayFrame\":[{},{\"value\":1},{\"value\":2},{\"value\":3},{\"value\":4},{\"value\":5},{\"value\":6},{\"value\":7},{\"value\":8}]}]}],\"defaultActions\":[{\"gotoAndPlay\":\"Sprite\"}]}]}",
+  "subMetas": {}
+}

+ 1 - 0
assets/DragonBones/FireBlue/Fire_tex.json

@@ -0,0 +1 @@
+{"width":1024,"imagePath":"Fire_tex.png","name":"Fire","SubTexture":[{"frameY":-6,"y":1,"frameWidth":203,"frameHeight":212,"width":203,"height":206,"name":"Light01","frameX":0,"x":411},{"width":203,"y":215,"height":212,"name":"Light06","x":1},{"frameY":-13,"y":207,"frameWidth":203,"frameHeight":212,"width":203,"height":199,"name":"Light03","frameX":0,"x":616},{"width":203,"y":1,"height":212,"name":"Light07","x":1},{"frameY":-2,"y":429,"frameWidth":203,"frameHeight":212,"width":203,"height":210,"name":"Light08","frameX":0,"x":1},{"frameY":-5,"y":1,"frameWidth":203,"frameHeight":212,"width":203,"height":207,"name":"Light05","frameX":0,"x":206},{"frameY":-19,"y":209,"frameWidth":203,"frameHeight":212,"width":203,"height":193,"name":"Light02","frameX":0,"x":411},{"frameY":-8,"y":1,"frameWidth":203,"frameHeight":212,"width":203,"height":204,"name":"Light04","frameX":0,"x":616},{"frameY":-5,"y":641,"frameWidth":203,"frameHeight":212,"width":203,"height":207,"name":"Light09","frameX":0,"x":1}],"height":1024}

+ 7 - 0
assets/DragonBones/FireBlue/Fire_tex.json.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.0",
+  "uuid": "77329547-9ed0-484d-af32-bce578edc1e8",
+  "atlasJson": "{\"width\":1024,\"imagePath\":\"Fire_tex.png\",\"name\":\"Fire\",\"SubTexture\":[{\"frameY\":-6,\"y\":1,\"frameWidth\":203,\"frameHeight\":212,\"width\":203,\"height\":206,\"name\":\"Light01\",\"frameX\":0,\"x\":411},{\"width\":203,\"y\":215,\"height\":212,\"name\":\"Light06\",\"x\":1},{\"frameY\":-13,\"y\":207,\"frameWidth\":203,\"frameHeight\":212,\"width\":203,\"height\":199,\"name\":\"Light03\",\"frameX\":0,\"x\":616},{\"width\":203,\"y\":1,\"height\":212,\"name\":\"Light07\",\"x\":1},{\"frameY\":-2,\"y\":429,\"frameWidth\":203,\"frameHeight\":212,\"width\":203,\"height\":210,\"name\":\"Light08\",\"frameX\":0,\"x\":1},{\"frameY\":-5,\"y\":1,\"frameWidth\":203,\"frameHeight\":212,\"width\":203,\"height\":207,\"name\":\"Light05\",\"frameX\":0,\"x\":206},{\"frameY\":-19,\"y\":209,\"frameWidth\":203,\"frameHeight\":212,\"width\":203,\"height\":193,\"name\":\"Light02\",\"frameX\":0,\"x\":411},{\"frameY\":-8,\"y\":1,\"frameWidth\":203,\"frameHeight\":212,\"width\":203,\"height\":204,\"name\":\"Light04\",\"frameX\":0,\"x\":616},{\"frameY\":-5,\"y\":641,\"frameWidth\":203,\"frameHeight\":212,\"width\":203,\"height\":207,\"name\":\"Light09\",\"frameX\":0,\"x\":1}],\"height\":1024}",
+  "texture": "0ef9155a-21ba-4e26-bcb0-810960d9d314",
+  "subMetas": {}
+}

BIN
assets/DragonBones/FireBlue/Fire_tex.png


+ 34 - 0
assets/DragonBones/FireBlue/Fire_tex.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "0ef9155a-21ba-4e26-bcb0-810960d9d314",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "Fire_tex": {
+      "ver": "1.0.4",
+      "uuid": "d6383e62-a8fd-4fdc-8043-39e9cd7cf256",
+      "rawTextureUuid": "0ef9155a-21ba-4e26-bcb0-810960d9d314",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": -102,
+      "offsetY": 87.5,
+      "trimX": 1,
+      "trimY": 1,
+      "width": 818,
+      "height": 847,
+      "rawWidth": 1024,
+      "rawHeight": 1024,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

+ 7 - 0
assets/DragonBones/FireRed.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "058b34d0-1a23-48b5-89f0-7f2763a2073e",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

+ 1 - 0
assets/DragonBones/FireRed/Fire_ske.json

@@ -0,0 +1 @@
+{"frameRate":24,"name":"Fire","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"Sheet","frameRate":24,"name":"Sprite","aabb":{"x":-127,"y":-242.5,"width":254,"height":265},"bone":[{"name":"root"}],"slot":[{"displayIndex":1,"name":"sheetSlot","parent":"root"}],"skin":[{"slot":[{"name":"sheetSlot","display":[{"name":"Light09","transform":{"y":-110,"scX":-1}},{"name":"Light08","transform":{"y":-110,"scX":-1}},{"name":"Light07","transform":{"y":-110,"scX":-1}},{"name":"Light06","transform":{"y":-110,"scX":-1}},{"name":"Light05","transform":{"y":-110,"scX":-1}},{"name":"Light04","transform":{"y":-110,"scX":-1}},{"name":"Light03","transform":{"y":-110,"scX":-1}},{"name":"Light02","transform":{"y":-110,"scX":-1}},{"name":"Light01","transform":{"y":-110,"scX":-1}}]}]}],"animation":[{"duration":9,"playTimes":0,"name":"Sprite","slot":[{"name":"sheetSlot","displayFrame":[{},{"value":1},{"value":2},{"value":3},{"value":4},{"value":5},{"value":6},{"value":7},{"value":8}]}]}],"defaultActions":[{"gotoAndPlay":"Sprite"}]}]}

+ 6 - 0
assets/DragonBones/FireRed/Fire_ske.json.meta

@@ -0,0 +1,6 @@
+{
+  "ver": "1.0.0",
+  "uuid": "54df9671-bd23-42f1-b577-2451ee132f76",
+  "dragonBonesJson": "{\"frameRate\":24,\"name\":\"Fire\",\"version\":\"5.5\",\"compatibleVersion\":\"5.5\",\"armature\":[{\"type\":\"Sheet\",\"frameRate\":24,\"name\":\"Sprite\",\"aabb\":{\"x\":-127,\"y\":-242.5,\"width\":254,\"height\":265},\"bone\":[{\"name\":\"root\"}],\"slot\":[{\"displayIndex\":1,\"name\":\"sheetSlot\",\"parent\":\"root\"}],\"skin\":[{\"slot\":[{\"name\":\"sheetSlot\",\"display\":[{\"name\":\"Light09\",\"transform\":{\"y\":-110,\"scX\":-1}},{\"name\":\"Light08\",\"transform\":{\"y\":-110,\"scX\":-1}},{\"name\":\"Light07\",\"transform\":{\"y\":-110,\"scX\":-1}},{\"name\":\"Light06\",\"transform\":{\"y\":-110,\"scX\":-1}},{\"name\":\"Light05\",\"transform\":{\"y\":-110,\"scX\":-1}},{\"name\":\"Light04\",\"transform\":{\"y\":-110,\"scX\":-1}},{\"name\":\"Light03\",\"transform\":{\"y\":-110,\"scX\":-1}},{\"name\":\"Light02\",\"transform\":{\"y\":-110,\"scX\":-1}},{\"name\":\"Light01\",\"transform\":{\"y\":-110,\"scX\":-1}}]}]}],\"animation\":[{\"duration\":9,\"playTimes\":0,\"name\":\"Sprite\",\"slot\":[{\"name\":\"sheetSlot\",\"displayFrame\":[{},{\"value\":1},{\"value\":2},{\"value\":3},{\"value\":4},{\"value\":5},{\"value\":6},{\"value\":7},{\"value\":8}]}]}],\"defaultActions\":[{\"gotoAndPlay\":\"Sprite\"}]}]}",
+  "subMetas": {}
+}

+ 1 - 0
assets/DragonBones/FireRed/Fire_tex.json

@@ -0,0 +1 @@
+{"width":1024,"imagePath":"Fire_tex.png","SubTexture":[{"frameWidth":254,"y":261,"frameHeight":265,"width":254,"frameX":0,"height":241,"name":"Light02","frameY":-24,"x":257},{"frameWidth":254,"y":1,"frameHeight":265,"width":254,"frameX":0,"height":258,"name":"Light09","frameY":-7,"x":513},{"frameWidth":254,"y":516,"frameHeight":265,"width":254,"frameX":0,"height":248,"name":"Light03","frameY":-17,"x":257},{"frameWidth":254,"y":268,"frameHeight":265,"width":254,"frameX":0,"height":264,"name":"Light06","frameY":-1,"x":1},{"frameWidth":254,"y":260,"frameHeight":265,"width":254,"frameX":0,"height":254,"name":"Light04","frameY":-11,"x":769},{"frameWidth":254,"y":534,"frameHeight":265,"width":254,"frameX":0,"height":262,"name":"Light08","frameY":-3,"x":1},{"frameWidth":254,"y":1,"frameHeight":265,"width":254,"frameX":0,"height":258,"name":"Light05","frameY":-7,"x":257},{"width":254,"y":1,"height":265,"name":"Light07","x":1},{"frameWidth":254,"y":1,"frameHeight":265,"width":254,"frameX":0,"height":257,"name":"Light01","frameY":-8,"x":769}],"height":1024,"name":"Fire"}

+ 7 - 0
assets/DragonBones/FireRed/Fire_tex.json.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.0",
+  "uuid": "c24eebd9-6c7d-4474-8d01-bc0cb9d6397f",
+  "atlasJson": "{\"width\":1024,\"imagePath\":\"Fire_tex.png\",\"SubTexture\":[{\"frameWidth\":254,\"y\":261,\"frameHeight\":265,\"width\":254,\"frameX\":0,\"height\":241,\"name\":\"Light02\",\"frameY\":-24,\"x\":257},{\"frameWidth\":254,\"y\":1,\"frameHeight\":265,\"width\":254,\"frameX\":0,\"height\":258,\"name\":\"Light09\",\"frameY\":-7,\"x\":513},{\"frameWidth\":254,\"y\":516,\"frameHeight\":265,\"width\":254,\"frameX\":0,\"height\":248,\"name\":\"Light03\",\"frameY\":-17,\"x\":257},{\"frameWidth\":254,\"y\":268,\"frameHeight\":265,\"width\":254,\"frameX\":0,\"height\":264,\"name\":\"Light06\",\"frameY\":-1,\"x\":1},{\"frameWidth\":254,\"y\":260,\"frameHeight\":265,\"width\":254,\"frameX\":0,\"height\":254,\"name\":\"Light04\",\"frameY\":-11,\"x\":769},{\"frameWidth\":254,\"y\":534,\"frameHeight\":265,\"width\":254,\"frameX\":0,\"height\":262,\"name\":\"Light08\",\"frameY\":-3,\"x\":1},{\"frameWidth\":254,\"y\":1,\"frameHeight\":265,\"width\":254,\"frameX\":0,\"height\":258,\"name\":\"Light05\",\"frameY\":-7,\"x\":257},{\"width\":254,\"y\":1,\"height\":265,\"name\":\"Light07\",\"x\":1},{\"frameWidth\":254,\"y\":1,\"frameHeight\":265,\"width\":254,\"frameX\":0,\"height\":257,\"name\":\"Light01\",\"frameY\":-8,\"x\":769}],\"height\":1024,\"name\":\"Fire\"}",
+  "texture": "b51f7064-bf96-4278-a053-34aebd39a683",
+  "subMetas": {}
+}

BIN
assets/DragonBones/FireRed/Fire_tex.png


+ 34 - 0
assets/DragonBones/FireRed/Fire_tex.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "b51f7064-bf96-4278-a053-34aebd39a683",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "Fire_tex": {
+      "ver": "1.0.4",
+      "uuid": "ef34b670-d5a6-4d47-956b-849de699431a",
+      "rawTextureUuid": "b51f7064-bf96-4278-a053-34aebd39a683",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 113.5,
+      "trimX": 1,
+      "trimY": 1,
+      "width": 1022,
+      "height": 795,
+      "rawWidth": 1024,
+      "rawHeight": 1024,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

+ 7 - 0
assets/DragonBones/Saw.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "69fac55d-fa61-45a3-932c-3735370afe84",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

+ 1 - 0
assets/DragonBones/Saw/Saw_ske.json

@@ -0,0 +1 @@
+{"frameRate":24,"name":"Saw","version":"5.5","compatibleVersion":"5.5","armature":[{"type":"MovieClip","frameRate":24,"name":"Stage","bone":[{"name":"root"}],"animation":[{"duration":0,"playTimes":0,"name":"newAnimation"}],"defaultActions":[{"gotoAndPlay":"newAnimation"}]},{"type":"MovieClip","frameRate":24,"name":"MovieClip","bone":[{"name":"root"}],"defaultActions":[{}]},{"type":"Armature","frameRate":24,"name":"Armature","aabb":{"x":-27,"y":-31,"width":144.68,"height":56},"bone":[{"name":"root","transform":{"scX":-1}},{"length":20,"name":"dianju01","parent":"root","transform":{"y":-0.85,"skX":178.7546,"skY":178.7546}},{"length":101,"name":"dianju021","parent":"dianju01","transform":{"x":-11.2158,"y":0.6064,"skX":1.0202,"skY":1.0202}}],"slot":[{"name":"dianju02","parent":"dianju021"},{"name":"dianju01","parent":"dianju01"}],"skin":[{"slot":[{"name":"dianju01","display":[{"name":"dianju01","transform":{"x":-2.05,"y":2.11,"skX":-178.75,"skY":-178.75}}]},{"name":"dianju02","display":[{"name":"dianju02","transform":{"x":61.88,"y":-0.38,"skX":-179.77,"skY":-179.77}},{"name":"dianju03","transform":{"x":61.64,"y":-0.6,"skX":-179.77,"skY":-179.77}}]}]}],"animation":[{"duration":4,"playTimes":0,"name":"newAnimation","bone":[{"name":"dianju01","translateFrame":[{"tweenEasing":0},{"tweenEasing":0,"x":0.64,"y":-0.64},{"tweenEasing":0},{"tweenEasing":0,"x":-0.64,"y":0.64},{"duration":0}]}],"slot":[{"name":"dianju02","displayFrame":[{"duration":2},{"duration":2,"value":1},{"duration":0}]}]}],"defaultActions":[{"gotoAndPlay":"newAnimation"}]}]}

+ 6 - 0
assets/DragonBones/Saw/Saw_ske.json.meta

@@ -0,0 +1,6 @@
+{
+  "ver": "1.0.0",
+  "uuid": "1d49fc9f-c961-4ead-989b-be50f17b320c",
+  "dragonBonesJson": "{\"frameRate\":24,\"name\":\"Saw\",\"version\":\"5.5\",\"compatibleVersion\":\"5.5\",\"armature\":[{\"type\":\"MovieClip\",\"frameRate\":24,\"name\":\"Stage\",\"bone\":[{\"name\":\"root\"}],\"animation\":[{\"duration\":0,\"playTimes\":0,\"name\":\"newAnimation\"}],\"defaultActions\":[{\"gotoAndPlay\":\"newAnimation\"}]},{\"type\":\"MovieClip\",\"frameRate\":24,\"name\":\"MovieClip\",\"bone\":[{\"name\":\"root\"}],\"defaultActions\":[{}]},{\"type\":\"Armature\",\"frameRate\":24,\"name\":\"Armature\",\"aabb\":{\"x\":-27,\"y\":-31,\"width\":144.68,\"height\":56},\"bone\":[{\"name\":\"root\",\"transform\":{\"scX\":-1}},{\"length\":20,\"name\":\"dianju01\",\"parent\":\"root\",\"transform\":{\"y\":-0.85,\"skX\":178.7546,\"skY\":178.7546}},{\"length\":101,\"name\":\"dianju021\",\"parent\":\"dianju01\",\"transform\":{\"x\":-11.2158,\"y\":0.6064,\"skX\":1.0202,\"skY\":1.0202}}],\"slot\":[{\"name\":\"dianju02\",\"parent\":\"dianju021\"},{\"name\":\"dianju01\",\"parent\":\"dianju01\"}],\"skin\":[{\"slot\":[{\"name\":\"dianju01\",\"display\":[{\"name\":\"dianju01\",\"transform\":{\"x\":-2.05,\"y\":2.11,\"skX\":-178.75,\"skY\":-178.75}}]},{\"name\":\"dianju02\",\"display\":[{\"name\":\"dianju02\",\"transform\":{\"x\":61.88,\"y\":-0.38,\"skX\":-179.77,\"skY\":-179.77}},{\"name\":\"dianju03\",\"transform\":{\"x\":61.64,\"y\":-0.6,\"skX\":-179.77,\"skY\":-179.77}}]}]}],\"animation\":[{\"duration\":4,\"playTimes\":0,\"name\":\"newAnimation\",\"bone\":[{\"name\":\"dianju01\",\"translateFrame\":[{\"tweenEasing\":0},{\"tweenEasing\":0,\"x\":0.64,\"y\":-0.64},{\"tweenEasing\":0},{\"tweenEasing\":0,\"x\":-0.64,\"y\":0.64},{\"duration\":0}]}],\"slot\":[{\"name\":\"dianju02\",\"displayFrame\":[{\"duration\":2},{\"duration\":2,\"value\":1},{\"duration\":0}]}]}],\"defaultActions\":[{\"gotoAndPlay\":\"newAnimation\"}]}]}",
+  "subMetas": {}
+}

+ 1 - 0
assets/DragonBones/Saw/Saw_tex.json

@@ -0,0 +1 @@
+{"width":128,"imagePath":"Saw_tex.png","SubTexture":[{"frameWidth":134,"y":1,"frameHeight":52,"width":126,"frameX":-5,"height":50,"name":"dianju03","frameY":-1,"x":1},{"frameWidth":134,"y":53,"frameHeight":52,"width":123,"frameX":-8,"height":50,"name":"dianju02","frameY":-1,"x":1},{"frameWidth":50,"y":105,"frameHeight":56,"width":49,"frameX":0,"height":54,"name":"dianju01","frameY":-1,"x":1}],"height":256,"name":"Saw"}

+ 7 - 0
assets/DragonBones/Saw/Saw_tex.json.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.0",
+  "uuid": "1eccd065-c5ed-4de8-8d71-19d1d68c02dd",
+  "atlasJson": "{\"width\":128,\"imagePath\":\"Saw_tex.png\",\"SubTexture\":[{\"frameWidth\":134,\"y\":1,\"frameHeight\":52,\"width\":126,\"frameX\":-5,\"height\":50,\"name\":\"dianju03\",\"frameY\":-1,\"x\":1},{\"frameWidth\":134,\"y\":53,\"frameHeight\":52,\"width\":123,\"frameX\":-8,\"height\":50,\"name\":\"dianju02\",\"frameY\":-1,\"x\":1},{\"frameWidth\":50,\"y\":105,\"frameHeight\":56,\"width\":49,\"frameX\":0,\"height\":54,\"name\":\"dianju01\",\"frameY\":-1,\"x\":1}],\"height\":256,\"name\":\"Saw\"}",
+  "texture": "022ed0bb-f995-4267-8adf-9e7db36d8a67",
+  "subMetas": {}
+}

BIN
assets/DragonBones/Saw/Saw_tex.png


+ 34 - 0
assets/DragonBones/Saw/Saw_tex.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "022ed0bb-f995-4267-8adf-9e7db36d8a67",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "Saw_tex": {
+      "ver": "1.0.4",
+      "uuid": "837ad52e-fe35-4a16-94be-8bd9d7de1fe1",
+      "rawTextureUuid": "022ed0bb-f995-4267-8adf-9e7db36d8a67",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 48,
+      "trimX": 1,
+      "trimY": 1,
+      "width": 126,
+      "height": 158,
+      "rawWidth": 128,
+      "rawHeight": 256,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

+ 7 - 0
assets/DragonBones/TrackLeft.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "76e65d1a-9f42-4d0e-93f4-91f7b9f634d7",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

Plik diff jest za duży
+ 0 - 0
assets/DragonBones/TrackLeft/TrackLeft_ske.json


Plik diff jest za duży
+ 3 - 0
assets/DragonBones/TrackLeft/TrackLeft_ske.json.meta


+ 1 - 0
assets/DragonBones/TrackLeft/TrackLeft_tex.json

@@ -0,0 +1 @@
+{"width":256,"imagePath":"TrackLeft_tex.png","name":"TrackLeft","SubTexture":[{"frameY":0,"y":1,"frameWidth":236,"frameHeight":160,"width":236,"height":156,"name":"shadow","frameX":0,"x":1},{"frameY":-1,"y":217,"frameWidth":238,"frameHeight":57,"width":237,"height":55,"name":"t_1","frameX":-1,"x":1},{"frameY":0,"y":159,"frameWidth":238,"frameHeight":57,"width":237,"height":56,"name":"t_2","frameX":-1,"x":1},{"frameY":-1,"y":274,"frameWidth":22,"frameHeight":22,"width":20,"height":20,"name":"gear","frameX":-1,"x":1}],"height":512}

+ 7 - 0
assets/DragonBones/TrackLeft/TrackLeft_tex.json.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.0",
+  "uuid": "d251d6ba-85a2-4fbc-8c17-8edc1d3291d5",
+  "atlasJson": "{\"width\":256,\"imagePath\":\"TrackLeft_tex.png\",\"name\":\"TrackLeft\",\"SubTexture\":[{\"frameY\":0,\"y\":1,\"frameWidth\":236,\"frameHeight\":160,\"width\":236,\"height\":156,\"name\":\"shadow\",\"frameX\":0,\"x\":1},{\"frameY\":-1,\"y\":217,\"frameWidth\":238,\"frameHeight\":57,\"width\":237,\"height\":55,\"name\":\"t_1\",\"frameX\":-1,\"x\":1},{\"frameY\":0,\"y\":159,\"frameWidth\":238,\"frameHeight\":57,\"width\":237,\"height\":56,\"name\":\"t_2\",\"frameX\":-1,\"x\":1},{\"frameY\":-1,\"y\":274,\"frameWidth\":22,\"frameHeight\":22,\"width\":20,\"height\":20,\"name\":\"gear\",\"frameX\":-1,\"x\":1}],\"height\":512}",
+  "texture": "f6b2581c-2ce7-4ac5-b5e5-ee582e31f825",
+  "subMetas": {}
+}

BIN
assets/DragonBones/TrackLeft/TrackLeft_tex.png


+ 34 - 0
assets/DragonBones/TrackLeft/TrackLeft_tex.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "f6b2581c-2ce7-4ac5-b5e5-ee582e31f825",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "TrackLeft_tex": {
+      "ver": "1.0.4",
+      "uuid": "aa85f9d1-66bd-4896-8a6d-28859b49691a",
+      "rawTextureUuid": "f6b2581c-2ce7-4ac5-b5e5-ee582e31f825",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": -8.5,
+      "offsetY": 108.5,
+      "trimX": 1,
+      "trimY": 1,
+      "width": 237,
+      "height": 293,
+      "rawWidth": 256,
+      "rawHeight": 512,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

+ 7 - 0
assets/DragonBones/TrackRight.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "1dc85b90-9ad1-44b5-a320-e27d258042ee",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

Plik diff jest za duży
+ 0 - 0
assets/DragonBones/TrackRight/TrackRight_ske.json


Plik diff jest za duży
+ 3 - 0
assets/DragonBones/TrackRight/TrackRight_ske.json.meta


+ 1 - 0
assets/DragonBones/TrackRight/TrackRight_tex.json

@@ -0,0 +1 @@
+{"width":256,"imagePath":"TrackRight_tex.png","name":"TrackRight","SubTexture":[{"frameY":0,"y":1,"frameWidth":236,"frameHeight":160,"width":236,"height":156,"name":"shadow","frameX":0,"x":1},{"frameY":0,"y":159,"frameWidth":238,"frameHeight":57,"width":237,"height":56,"name":"t_2","frameX":-1,"x":1},{"frameY":-1,"y":217,"frameWidth":238,"frameHeight":57,"width":237,"height":55,"name":"t_1","frameX":-1,"x":1},{"frameY":-1,"y":274,"frameWidth":22,"frameHeight":22,"width":20,"height":20,"name":"gear","frameX":-1,"x":1}],"height":512}

+ 7 - 0
assets/DragonBones/TrackRight/TrackRight_tex.json.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.0",
+  "uuid": "63d95046-3f62-45b0-9229-3dd77908cc11",
+  "atlasJson": "{\"width\":256,\"imagePath\":\"TrackRight_tex.png\",\"name\":\"TrackRight\",\"SubTexture\":[{\"frameY\":0,\"y\":1,\"frameWidth\":236,\"frameHeight\":160,\"width\":236,\"height\":156,\"name\":\"shadow\",\"frameX\":0,\"x\":1},{\"frameY\":0,\"y\":159,\"frameWidth\":238,\"frameHeight\":57,\"width\":237,\"height\":56,\"name\":\"t_2\",\"frameX\":-1,\"x\":1},{\"frameY\":-1,\"y\":217,\"frameWidth\":238,\"frameHeight\":57,\"width\":237,\"height\":55,\"name\":\"t_1\",\"frameX\":-1,\"x\":1},{\"frameY\":-1,\"y\":274,\"frameWidth\":22,\"frameHeight\":22,\"width\":20,\"height\":20,\"name\":\"gear\",\"frameX\":-1,\"x\":1}],\"height\":512}",
+  "texture": "60f26c7e-ca02-4ea2-a4cd-c9e1786815bf",
+  "subMetas": {}
+}

BIN
assets/DragonBones/TrackRight/TrackRight_tex.png


+ 34 - 0
assets/DragonBones/TrackRight/TrackRight_tex.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "60f26c7e-ca02-4ea2-a4cd-c9e1786815bf",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "TrackRight_tex": {
+      "ver": "1.0.4",
+      "uuid": "5b6b3015-4b26-48d2-8b4b-d8d129822551",
+      "rawTextureUuid": "60f26c7e-ca02-4ea2-a4cd-c9e1786815bf",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": -8.5,
+      "offsetY": 108.5,
+      "trimX": 1,
+      "trimY": 1,
+      "width": 237,
+      "height": 293,
+      "rawWidth": 256,
+      "rawHeight": 512,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

+ 7 - 0
assets/DragonBones/boy.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "d6ad9b04-27ed-4193-b885-57ee3e221701",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

Plik diff jest za duży
+ 0 - 0
assets/DragonBones/boy/boy_ske.json


Plik diff jest za duży
+ 3 - 0
assets/DragonBones/boy/boy_ske.json.meta


Plik diff jest za duży
+ 0 - 0
assets/DragonBones/boy/boy_tex.json


Plik diff jest za duży
+ 3 - 0
assets/DragonBones/boy/boy_tex.json.meta


BIN
assets/DragonBones/boy/boy_tex.png


+ 34 - 0
assets/DragonBones/boy/boy_tex.png.meta

@@ -0,0 +1,34 @@
+{
+  "ver": "2.3.3",
+  "uuid": "dc1c8d1c-ff05-4e17-a827-259cfd5710a2",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "platformSettings": {},
+  "subMetas": {
+    "boy_tex": {
+      "ver": "1.0.4",
+      "uuid": "87687544-d1cc-4064-840d-1d1f0783bf45",
+      "rawTextureUuid": "dc1c8d1c-ff05-4e17-a827-259cfd5710a2",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": -77.5,
+      "offsetY": 3,
+      "trimX": 1,
+      "trimY": 1,
+      "width": 355,
+      "height": 248,
+      "rawWidth": 512,
+      "rawHeight": 256,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

+ 7 - 0
assets/Prefabs.meta

@@ -0,0 +1,7 @@
+{
+  "ver": "1.0.1",
+  "uuid": "bc406994-0aab-45b3-8dd2-2cd1d951e502",
+  "isSubpackage": false,
+  "subpackageName": "",
+  "subMetas": {}
+}

+ 127 - 0
assets/Prefabs/Blood.prefab

@@ -0,0 +1,127 @@
+[
+  {
+    "__type__": "cc.Prefab",
+    "_name": "",
+    "_objFlags": 0,
+    "_native": "",
+    "data": {
+      "__id__": 1
+    },
+    "optimizationPolicy": 0,
+    "asyncLoadAssets": false,
+    "readonly": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Blood",
+    "_objFlags": 0,
+    "_parent": null,
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 2
+      }
+    ],
+    "_prefab": {
+      "__id__": 3
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "dragonBones.ArmatureDisplay",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_armatureName": "Armature",
+    "_animationName": "blood_1",
+    "_preCacheMode": 0,
+    "_cacheMode": 0,
+    "playTimes": 1,
+    "premultipliedAlpha": false,
+    "_armatureKey": "51b26a0c-6aaf-4859-9f18-c5e03478fbba#c4709498-7b6e-4637-9ca1-1e06579d54cd",
+    "_accTime": 0,
+    "_playCount": 0,
+    "_frameCache": null,
+    "_curFrame": null,
+    "_playing": false,
+    "_armatureCache": null,
+    "_N$dragonAsset": {
+      "__uuid__": "51b26a0c-6aaf-4859-9f18-c5e03478fbba"
+    },
+    "_N$dragonAtlasAsset": {
+      "__uuid__": "c4709498-7b6e-4637-9ca1-1e06579d54cd"
+    },
+    "_N$_defaultArmatureIndex": 2,
+    "_N$_animationIndex": 1,
+    "_N$_defaultCacheMode": 0,
+    "_N$timeScale": 1,
+    "_N$debugBones": false,
+    "_N$enableBatch": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "3addfbdf-bc48-4b27-b2ea-26b5b2563c9d"
+    },
+    "fileId": "e4TDhaLCxCOZFXyIn9Q+Jo",
+    "sync": false
+  }
+]

+ 8 - 0
assets/Prefabs/Blood.prefab.meta

@@ -0,0 +1,8 @@
+{
+  "ver": "1.2.5",
+  "uuid": "3addfbdf-bc48-4b27-b2ea-26b5b2563c9d",
+  "optimizationPolicy": "AUTO",
+  "asyncLoadAssets": false,
+  "readonly": false,
+  "subMetas": {}
+}

+ 1055 - 0
assets/Prefabs/Boy.prefab

@@ -0,0 +1,1055 @@
+[
+  {
+    "__type__": "cc.Prefab",
+    "_name": "",
+    "_objFlags": 0,
+    "_native": "",
+    "data": {
+      "__id__": 1
+    },
+    "optimizationPolicy": 0,
+    "asyncLoadAssets": false,
+    "readonly": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Boy",
+    "_objFlags": 0,
+    "_parent": null,
+    "_children": [
+      {
+        "__id__": 2
+      },
+      {
+        "__id__": 13
+      },
+      {
+        "__id__": 16
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 27
+      },
+      {
+        "__id__": 28
+      },
+      {
+        "__id__": 29
+      }
+    ],
+    "_prefab": {
+      "__id__": 30
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        0.25,
+        0.25,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 2,
+    "groupIndex": 2,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Body",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 3
+      },
+      {
+        "__id__": 8
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 11
+      }
+    ],
+    "_prefab": {
+      "__id__": 12
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1.7999999523162842,
+        1.7999999523162842,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 2,
+    "groupIndex": 2,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Saw",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 2
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 4
+      },
+      {
+        "__id__": 5
+      },
+      {
+        "__id__": 6
+      }
+    ],
+    "_prefab": {
+      "__id__": 7
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.15,
+      "y": 0.4
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        51.78900146484375,
+        34.22800064086914,
+        0,
+        0,
+        0,
+        0.258819043636322,
+        0.9659258127212524,
+        0.5555599927902222,
+        0.5555599927902222,
+        0.5555599927902222
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 30
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 3,
+    "groupIndex": 3,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Animation",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 3
+    },
+    "_enabled": true,
+    "_defaultClip": null,
+    "_clips": [
+      {
+        "__uuid__": "83b44303-ffd0-411d-b61a-388c15e01044"
+      }
+    ],
+    "playOnLoad": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CircleCollider",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 3
+    },
+    "_enabled": true,
+    "tag": 0,
+    "_offset": {
+      "__type__": "cc.Vec2",
+      "x": 45,
+      "y": 15
+    },
+    "_radius": 82.1,
+    "_id": ""
+  },
+  {
+    "__type__": "dragonBones.ArmatureDisplay",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 3
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_armatureName": "Armature",
+    "_animationName": "newAnimation",
+    "_preCacheMode": 0,
+    "_cacheMode": 0,
+    "playTimes": -1,
+    "premultipliedAlpha": false,
+    "_armatureKey": "1d49fc9f-c961-4ead-989b-be50f17b320c#1eccd065-c5ed-4de8-8d71-19d1d68c02dd",
+    "_accTime": 0,
+    "_playCount": 0,
+    "_frameCache": null,
+    "_curFrame": null,
+    "_playing": false,
+    "_armatureCache": null,
+    "_N$dragonAsset": {
+      "__uuid__": "1d49fc9f-c961-4ead-989b-be50f17b320c"
+    },
+    "_N$dragonAtlasAsset": {
+      "__uuid__": "1eccd065-c5ed-4de8-8d71-19d1d68c02dd"
+    },
+    "_N$_defaultArmatureIndex": 2,
+    "_N$_animationIndex": 1,
+    "_N$_defaultCacheMode": 0,
+    "_N$timeScale": 1,
+    "_N$debugBones": false,
+    "_N$enableBatch": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "2de11282-7ed5-473c-93ed-592fdf31e884"
+    },
+    "fileId": "99z9sr015FarUr2E2sacjo",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Fire",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 2
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 9
+      }
+    ],
+    "_prefab": {
+      "__id__": 10
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 2,
+    "groupIndex": 2,
+    "_id": ""
+  },
+  {
+    "__type__": "dragonBones.ArmatureDisplay",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 8
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_armatureName": "Sprite",
+    "_animationName": "Sprite",
+    "_preCacheMode": 0,
+    "_cacheMode": 0,
+    "playTimes": -1,
+    "premultipliedAlpha": false,
+    "_armatureKey": "4a47d9bf-8b98-4234-accd-6af55e83bdfa#77329547-9ed0-484d-af32-bce578edc1e8",
+    "_accTime": 0,
+    "_playCount": 0,
+    "_frameCache": null,
+    "_curFrame": null,
+    "_playing": false,
+    "_armatureCache": null,
+    "_N$dragonAsset": {
+      "__uuid__": "4a47d9bf-8b98-4234-accd-6af55e83bdfa"
+    },
+    "_N$dragonAtlasAsset": {
+      "__uuid__": "77329547-9ed0-484d-af32-bce578edc1e8"
+    },
+    "_N$_defaultArmatureIndex": 0,
+    "_N$_animationIndex": 1,
+    "_N$_defaultCacheMode": 0,
+    "_N$timeScale": 1,
+    "_N$debugBones": false,
+    "_N$enableBatch": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "2de11282-7ed5-473c-93ed-592fdf31e884"
+    },
+    "fileId": "36FaF4c7NDh7AzlJPsvrwb",
+    "sync": false
+  },
+  {
+    "__type__": "dragonBones.ArmatureDisplay",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_armatureName": "Armature",
+    "_animationName": "xingzou_red",
+    "_preCacheMode": 0,
+    "_cacheMode": 0,
+    "playTimes": -1,
+    "premultipliedAlpha": false,
+    "_armatureKey": "1e4b6268-ecdb-4ce6-84bb-8e4b7b9a8e24#61bfff64-f90d-44f1-878e-71655f960ad7",
+    "_accTime": 0,
+    "_playCount": 0,
+    "_frameCache": null,
+    "_curFrame": null,
+    "_playing": false,
+    "_armatureCache": null,
+    "_N$dragonAsset": {
+      "__uuid__": "1e4b6268-ecdb-4ce6-84bb-8e4b7b9a8e24"
+    },
+    "_N$dragonAtlasAsset": {
+      "__uuid__": "61bfff64-f90d-44f1-878e-71655f960ad7"
+    },
+    "_N$_defaultArmatureIndex": 2,
+    "_N$_animationIndex": 3,
+    "_N$_defaultCacheMode": 0,
+    "_N$timeScale": 1,
+    "_N$debugBones": false,
+    "_N$enableBatch": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "2de11282-7ed5-473c-93ed-592fdf31e884"
+    },
+    "fileId": "35pcoIfH1ID4dF41Ri5T4o",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Arrow",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 14
+      }
+    ],
+    "_prefab": {
+      "__id__": 15
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 148,
+      "height": 101
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        340,
+        0,
+        0,
+        0,
+        0.7071067690849304,
+        0.7071067690849304,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 90
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 2,
+    "groupIndex": 2,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 13
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": null,
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "2de11282-7ed5-473c-93ed-592fdf31e884"
+    },
+    "fileId": "985nqR/QlFxqKymlU58415",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "HeadPhoto",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 17
+      },
+      {
+        "__id__": 23
+      }
+    ],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 26
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        340,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 2,
+    "groupIndex": 2,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Mask",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 16
+    },
+    "_children": [
+      {
+        "__id__": 18
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 21
+      }
+    ],
+    "_prefab": {
+      "__id__": 22
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 150,
+      "height": 150
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 2,
+    "groupIndex": 2,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Avatar",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 17
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 19
+      }
+    ],
+    "_prefab": {
+      "__id__": 20
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 150,
+      "height": 150
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        0,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 2,
+    "groupIndex": 2,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 18
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
+    },
+    "_type": 0,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "2de11282-7ed5-473c-93ed-592fdf31e884"
+    },
+    "fileId": "9f2bqmAUVKHIQ7oLZxp02Y",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Mask",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 17
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_spriteFrame": null,
+    "_type": 1,
+    "_segments": 64,
+    "_N$alphaThreshold": 0,
+    "_N$inverted": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "2de11282-7ed5-473c-93ed-592fdf31e884"
+    },
+    "fileId": "9aZfPoxkBAGLGBJv5eODRA",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "TrackFrame",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 16
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 24
+      }
+    ],
+    "_prefab": {
+      "__id__": 25
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 180,
+      "height": 155
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -13.020999908447266,
+        0,
+        0,
+        0,
+        -0.7071067690849304,
+        0.7071067690849304,
+        1,
+        1,
+        1
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": -90
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 2,
+    "groupIndex": 2,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 23
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "7e04428f-9c28-4a65-82bd-dffbe0eafc5f"
+    },
+    "_type": 0,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "2de11282-7ed5-473c-93ed-592fdf31e884"
+    },
+    "fileId": "b95gRePvZMwoJQxIyPpdm9",
+    "sync": false
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "2de11282-7ed5-473c-93ed-592fdf31e884"
+    },
+    "fileId": "c9kTl6WG5II6C12CkjJP3k",
+    "sync": false
+  },
+  {
+    "__type__": "cc.RigidBody",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "_type": 2,
+    "_allowSleep": true,
+    "_gravityScale": 0,
+    "_linearDamping": 0,
+    "_angularDamping": 0,
+    "_linearVelocity": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_angularVelocity": 0,
+    "_fixedRotation": true,
+    "enabledContactListener": false,
+    "bullet": false,
+    "awakeOnLoad": true,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PhysicsCircleCollider",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "tag": 0,
+    "_density": 1,
+    "_sensor": false,
+    "_friction": 1,
+    "_restitution": 0,
+    "body": null,
+    "_offset": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 110
+    },
+    "_radius": 110,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CircleCollider",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "tag": 0,
+    "_offset": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 110
+    },
+    "_radius": 110,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "2de11282-7ed5-473c-93ed-592fdf31e884"
+    },
+    "fileId": "f7C2ww40dFC59VT/OdcpjJ",
+    "sync": false
+  }
+]

+ 8 - 0
assets/Prefabs/Boy.prefab.meta

@@ -0,0 +1,8 @@
+{
+  "ver": "1.2.5",
+  "uuid": "2de11282-7ed5-473c-93ed-592fdf31e884",
+  "optimizationPolicy": "AUTO",
+  "asyncLoadAssets": false,
+  "readonly": false,
+  "subMetas": {}
+}

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików