Projectiles, angles

This commit is contained in:
Martin
2022-12-15 11:14:35 +01:00
parent d989ead748
commit 9c3299ebfe
15 changed files with 2779 additions and 1870 deletions

View File

@@ -139,7 +139,7 @@
"fileId": "cfXyVJoitMGp/0liEUZfNP"
},
{
"__type__": "cc.CircleCollider2D",
"__type__": "7a536G2OudFtpTsoF8yLXiW",
"_name": "",
"_objFlags": 0,
"node": {
@@ -149,35 +149,6 @@
"__prefab": {
"__id__": 7
},
"tag": 0,
"_group": 16,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 14,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "75WVRoLrtKLrJihCVsxa4D"
},
{
"__type__": "7a536G2OudFtpTsoF8yLXiW",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": false,
"__prefab": {
"__id__": 9
},
"_id": ""
},
{
@@ -193,7 +164,7 @@
},
"_enabled": false,
"__prefab": {
"__id__": 11
"__id__": 9
},
"playOnLoad": true,
"_clips": [
@@ -212,6 +183,39 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "3ag4rexLNJW6A/sp6OpwZ8"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 11
},
"tag": 0,
"_group": 1,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 1.1,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 18,
"height": 18
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b5zZIKDzhK3q3Rd8OiKUPa"
},
{
"__type__": "cc.PrefabInfo",
"root": {

View File

@@ -139,7 +139,7 @@
"fileId": "cfXyVJoitMGp/0liEUZfNP"
},
{
"__type__": "cc.CircleCollider2D",
"__type__": "7a536G2OudFtpTsoF8yLXiW",
"_name": "",
"_objFlags": 0,
"node": {
@@ -149,35 +149,6 @@
"__prefab": {
"__id__": 7
},
"tag": 0,
"_group": 16,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_radius": 12,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "75WVRoLrtKLrJihCVsxa4D"
},
{
"__type__": "7a536G2OudFtpTsoF8yLXiW",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": false,
"__prefab": {
"__id__": 9
},
"_id": ""
},
{
@@ -193,7 +164,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 11
"__id__": 9
},
"playOnLoad": true,
"_clips": [
@@ -212,6 +183,39 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "3ag4rexLNJW6A/sp6OpwZ8"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 11
},
"tag": 0,
"_group": 1,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 9,
"height": 14
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "67joCa7ptP34A+uWLWHsEf"
},
{
"__type__": "cc.PrefabInfo",
"root": {

View File

@@ -160,7 +160,7 @@
"x": 0,
"y": 0
},
"_radius": 12,
"_radius": 6,
"_id": ""
},
{

View File

@@ -160,7 +160,7 @@
"x": 0,
"y": 0
},
"_radius": 12,
"_radius": 6,
"_id": ""
},
{

View File

@@ -160,7 +160,7 @@
"x": 0,
"y": 0
},
"_radius": 12,
"_radius": 6,
"_id": ""
},
{

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.40",
"importer": "prefab",
"imported": true,
"uuid": "27c97ec7-9bb8-4e4e-a264-ce49f2ae9843",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "Player"
}
}

View File

@@ -77,8 +77,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 15,
"height": 15
"width": 8,
"height": 4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -113,7 +113,7 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "9bebe8fc-7ccd-4376-a6ff-f9e471b40fcb@f9941",
"__uuid__": "1ed8c850-646c-4883-97ae-022e97a5e58e@f9941",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
@@ -136,7 +136,7 @@
"fileId": "46qOXlbU5GmbOpfjiX4jGV"
},
{
"__type__": "cc.CircleCollider2D",
"__type__": "6a24eYAhmtMDZo5Wb8iLC5Q",
"_name": "",
"_objFlags": 0,
"node": {
@@ -146,6 +146,26 @@
"__prefab": {
"__id__": 7
},
"collider": {
"__id__": 8
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a81ki8NjhA4KniWAiobzy2"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 9
},
"tag": 0,
"_group": 32,
"_density": 1,
@@ -157,32 +177,16 @@
"x": 0,
"y": 0
},
"_radius": 13,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7cR5oa68RG/oqkiwJ9HQ3X"
},
{
"__type__": "6a24eYAhmtMDZo5Wb8iLC5Q",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 9
},
"collider": {
"__id__": 6
"_size": {
"__type__": "cc.Size",
"width": 8,
"height": 4
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a81ki8NjhA4KniWAiobzy2"
"fileId": "62/HqD70FPyKT1OoTRCuXS"
},
{
"__type__": "cc.PrefabInfo",