mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-26 18:26:23 +00:00
update 添加松鼠角色
This commit is contained in:
@@ -132,7 +132,7 @@
|
||||
"__id__": 4
|
||||
},
|
||||
"_projection": 0,
|
||||
"_priority": 0,
|
||||
"_priority": 1,
|
||||
"_fov": 45,
|
||||
"_fovAxis": 0,
|
||||
"_orthoHeight": 640,
|
||||
|
@@ -156,7 +156,7 @@
|
||||
"_shutter": 7,
|
||||
"_iso": 0,
|
||||
"_screenScale": 1,
|
||||
"_visibility": 1107296257,
|
||||
"_visibility": 1073741825,
|
||||
"_targetTexture": {
|
||||
"__uuid__": "a0d1e275-5512-493e-8e15-7d2db8beb48e",
|
||||
"__expectedType__": "cc.RenderTexture"
|
||||
|
@@ -1 +1 @@
|
||||
{"10001":{"id":10001,"roleName":"小石头","spine":"spine/召唤与合成819个Spine/小石头/guaiA1a/spine/guaiA1a","roleSkillId":0,"roleAttackRange":100},"10002":{"id":10002,"roleName":"坚强小石","spine":"spine/召唤与合成819个Spine/坚强小石/guaiA1a_1/spine/guaiA1a","roleSkillId":0,"roleAttackRange":100},"10003":{"id":10003,"roleName":"疯狂松鼠","spine":"spine/召唤与合成819个Spine/疯狂松鼠/guaiA4e_2/spine/guaiA4e","roleSkillId":0,"roleAttackRange":500}}
|
||||
{"10001":{"id":10001,"roleName":"小石头","spine":"spine/召唤与合成819个Spine/小石头/guaiA1a/spine/guaiA1a","roleSkillIds":[],"roleAttackRange":100},"10002":{"id":10002,"roleName":"坚强小石","spine":"spine/召唤与合成819个Spine/坚强小石/guaiA1a_1/spine/guaiA1a","roleSkillIds":[],"roleAttackRange":100},"10003":{"id":10003,"roleName":"疯狂松鼠","spine":"spine/召唤与合成819个Spine/疯狂松鼠/guaiA4e_2/spine/guaiA4e","roleSkillIds":[40001],"roleAttackRange":500}}
|
@@ -1 +1 @@
|
||||
{"10001":{"roleId":10001,"attackWay":"Normal","attackArgs":[]},"10002":{"roleId":10002,"attackWay":"Normal","attackArgs":[]},"10003":{"roleId":10003,"attackWay":"ParabolicRemote","attackArgs":["20001",0.6,"timo5 007"]}}
|
||||
{"10001":{"roleId":10001,"attackWay":"Normal","attackArgs":[]},"10002":{"roleId":10002,"attackWay":"Normal","attackArgs":[]},"10003":{"roleId":10003,"attackWay":"ParabolicBangRemote","attackArgs":["20001","30001","timo5 007","0.6","100","100"]}}
|
@@ -0,0 +1 @@
|
||||
{"30001":{"id":30001,"effectName":"爆炸","spine":"effect/爆炸效果/shouji_01/spine/shouji_01","animation":"animation"}}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "2.0.1",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "2b1b909f-c98c-40be-8840-601980d86769",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@@ -1 +1 @@
|
||||
{}
|
||||
{"40001":{"id":40001,"skillName":"疯狂松鼠","skillController":"GSkillCrazySquirrel","skillArgs":["10","250","250"],"skillText":"疯狂松鼠的技能 丢出巨大炸弹 轰炸全部玩家"}}
|
@@ -0,0 +1 @@
|
||||
{"50001":{"id":50001,"text":"疯狂松鼠的技能开始 松鼠向天上丢出炸弹","spine":"spine/召唤与合成819个Spine/疯狂松鼠/guaiA4es_2/spine/guaiA4es"},"50002":{"id":50002,"text":"火球","spine":"effect/子弹效果/base_fly_fire/spine/buff_fire"},"50003":{"id":50003,"text":"火球爆炸","spine":"effect/爆炸效果/zhouyu_skill2_2/spine/zhouyu_skill2_2"}}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "2.0.1",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "fc22edae-4f33-449d-9525-61c07e4ad229",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@@ -0,0 +1 @@
|
||||
{"50001":{"id":50001,"text":"疯狂松鼠的技能开始 松鼠向天上丢出炸弹","spine":"spine/召唤与合成819个Spine/疯狂松鼠/guaiA4es_2/spine/guaiA4es"}}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"ver": "2.0.1",
|
||||
"importer": "json",
|
||||
"imported": true,
|
||||
"uuid": "2b4d0d66-c8ee-4b18-996a-bdbd33d4f503",
|
||||
"files": [
|
||||
".json"
|
||||
],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@@ -32,9 +32,9 @@ export class TableGRole {
|
||||
/** Spine地址 */
|
||||
get spine(): string {
|
||||
return this.data.spine;
|
||||
}
|
||||
/** 角色技能Id */
|
||||
get roleSkillId(): number {
|
||||
}
|
||||
/** 角色技能Id列表 */
|
||||
get roleSkillIds(): number[] {
|
||||
return this.data.roleSkillIds;
|
||||
}
|
||||
/** 角色攻击范围 */
|
||||
|
@@ -0,0 +1,39 @@
|
||||
import { JsonUtil } from "../../../../extensions/ngame/assets/ngame/util/JsonUtil";
|
||||
|
||||
export class TableGRoleAttackEffect {
|
||||
static TableName: string = "GRoleAttackEffect";
|
||||
|
||||
static getAllConfig(): { [id: string]: TableGRoleAttackEffect } {
|
||||
return JsonUtil.get(TableGRoleAttackEffect.TableName);
|
||||
}
|
||||
|
||||
static getConfig(id: number | string) {
|
||||
return TableGRoleAttackEffect.getAllConfig()[id] as TableGRoleAttackEffect;
|
||||
}
|
||||
|
||||
private data: any;
|
||||
|
||||
init(id: number) {
|
||||
var table = JsonUtil.get(TableGRoleAttackEffect.TableName);
|
||||
this.data = table[id];
|
||||
this._id = id;
|
||||
}
|
||||
/** Id */
|
||||
private _id: number = 0;
|
||||
|
||||
/** Id */
|
||||
get id(): number {
|
||||
return this.data.id;
|
||||
}
|
||||
/** 效果名称 */
|
||||
get effectName(): string {
|
||||
return this.data.effectName;
|
||||
}
|
||||
/** spine路径 */
|
||||
get spine(): string {
|
||||
return this.data.spine;
|
||||
}
|
||||
/** 动画名称 */
|
||||
get animation(): string {
|
||||
return this.data.animation;
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "b03efae0-b212-4eb7-8462-2292e6884b51",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
43
JisolGameCocos/assets/resources/config/ts/TableGRoleSkill.ts
Normal file
43
JisolGameCocos/assets/resources/config/ts/TableGRoleSkill.ts
Normal file
@@ -0,0 +1,43 @@
|
||||
import { JsonUtil } from "../../../../extensions/ngame/assets/ngame/util/JsonUtil";
|
||||
|
||||
export class TableGRoleSkill {
|
||||
static TableName: string = "GRoleSkill";
|
||||
|
||||
static getAllConfig(): { [id: string]: TableGRoleSkill } {
|
||||
return JsonUtil.get(TableGRoleSkill.TableName);
|
||||
}
|
||||
|
||||
static getConfig(id: number | string) {
|
||||
return TableGRoleSkill.getAllConfig()[id] as TableGRoleSkill;
|
||||
}
|
||||
|
||||
private data: any;
|
||||
|
||||
init(id: number) {
|
||||
var table = JsonUtil.get(TableGRoleSkill.TableName);
|
||||
this.data = table[id];
|
||||
this._id = id;
|
||||
}
|
||||
/** 技能Id */
|
||||
private _id: number = 0;
|
||||
|
||||
/** 技能Id */
|
||||
get id(): number {
|
||||
return this.data.id;
|
||||
}
|
||||
/** 技能名称 */
|
||||
get skillName(): string {
|
||||
return this.data.skillName;
|
||||
}
|
||||
/** 技能控制器 */
|
||||
get skillController(): string {
|
||||
return this.data.skillController;
|
||||
}
|
||||
/** 技能参数 */
|
||||
get skillArgs(): string[] {
|
||||
return this.data.skillArgs;
|
||||
}
|
||||
/** 技能介绍 */
|
||||
get skillText(): string {
|
||||
return this.data.skillText;
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "44fbcae1-8514-43b3-8a90-3e68b3f84497",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@@ -0,0 +1,35 @@
|
||||
import { JsonUtil } from "../../../../extensions/ngame/assets/ngame/util/JsonUtil";
|
||||
|
||||
export class TableGRoleSkillEffect {
|
||||
static TableName: string = "GRoleSkillEffect";
|
||||
|
||||
static getAllConfig(): { [id: string]: TableGRoleSkillEffect } {
|
||||
return JsonUtil.get(TableGRoleSkillEffect.TableName);
|
||||
}
|
||||
|
||||
static getConfig(id: number | string) {
|
||||
return TableGRoleSkillEffect.getAllConfig()[id] as TableGRoleSkillEffect;
|
||||
}
|
||||
|
||||
private data: any;
|
||||
|
||||
init(id: number) {
|
||||
var table = JsonUtil.get(TableGRoleSkillEffect.TableName);
|
||||
this.data = table[id];
|
||||
this._id = id;
|
||||
}
|
||||
/** 技能SpineId */
|
||||
private _id: number = 0;
|
||||
|
||||
/** 技能SpineId */
|
||||
get id(): number {
|
||||
return this.data.id;
|
||||
}
|
||||
/** 说明 */
|
||||
get text(): string {
|
||||
return this.data.text;
|
||||
}
|
||||
/** spine路径 */
|
||||
get spine(): string {
|
||||
return this.data.spine;
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "2b4ecb72-b2fb-43c5-8712-3eb6b4c4abe9",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@@ -0,0 +1,35 @@
|
||||
import { JsonUtil } from "../../../../extensions/ngame/assets/ngame/util/JsonUtil";
|
||||
|
||||
export class TableGRoleSkillSpine {
|
||||
static TableName: string = "GRoleSkillSpine";
|
||||
|
||||
static getAllConfig(): { [id: string]: TableGRoleSkillSpine } {
|
||||
return JsonUtil.get(TableGRoleSkillSpine.TableName);
|
||||
}
|
||||
|
||||
static getConfig(id: number | string) {
|
||||
return TableGRoleSkillSpine.getAllConfig()[id] as TableGRoleSkillSpine;
|
||||
}
|
||||
|
||||
private data: any;
|
||||
|
||||
init(id: number) {
|
||||
var table = JsonUtil.get(TableGRoleSkillSpine.TableName);
|
||||
this.data = table[id];
|
||||
this._id = id;
|
||||
}
|
||||
/** 技能SpineId */
|
||||
private _id: number = 0;
|
||||
|
||||
/** 技能SpineId */
|
||||
get id(): number {
|
||||
return this.data.id;
|
||||
}
|
||||
/** 说明 */
|
||||
get text(): string {
|
||||
return this.data.text;
|
||||
}
|
||||
/** spine路径 */
|
||||
get spine(): string {
|
||||
return this.data.spine;
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ver": "4.0.23",
|
||||
"importer": "typescript",
|
||||
"imported": true,
|
||||
"uuid": "19c80511-21b9-4037-b717-48720ff61578",
|
||||
"files": [],
|
||||
"subMetas": {},
|
||||
"userData": {}
|
||||
}
|
@@ -35,10 +35,13 @@
|
||||
},
|
||||
{
|
||||
"__id__": 34
|
||||
},
|
||||
{
|
||||
"__id__": 36
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 36
|
||||
"__id__": 38
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -697,7 +700,7 @@
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.07770745417182541
|
||||
"y": 0.077707
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
@@ -760,6 +763,9 @@
|
||||
"__prefab": {
|
||||
"__id__": 35
|
||||
},
|
||||
"spine": {
|
||||
"__id__": 32
|
||||
},
|
||||
"bloodVolume": {
|
||||
"__id__": 13
|
||||
},
|
||||
@@ -772,6 +778,40 @@
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "89OuR1/75BxLrKGMeVKN5C"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.BoxCollider2D",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 37
|
||||
},
|
||||
"tag": 0,
|
||||
"_group": 1,
|
||||
"_density": 1,
|
||||
"_sensor": false,
|
||||
"_friction": 0.2,
|
||||
"_restitution": 0,
|
||||
"_offset": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 42.22925458281746
|
||||
},
|
||||
"_size": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "adZ/2FFS1AnqaNLGcoBV8b"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
|
Reference in New Issue
Block a user