1
@@ -1,12 +0,0 @@
-{
- "ver": "1.2.0",
- "importer": "directory",
- "imported": true,
- "uuid": "8878afae-862a-4a1b-ae1a-c997b15c41f3",
- "files": [],
- "subMetas": {},
- "userData": {
- "compressionType": {},
- "isRemoteBundle": {}
- }
-}
@@ -1,42 +0,0 @@
- "ver": "1.0.27",
- "importer": "image",
- "uuid": "72264881-d762-4296-8662-65f4268f0f38",
- "files": [
- ".json",
- ".png"
- ],
- "subMetas": {
- "6c48a": {
- "importer": "texture",
- "uuid": "72264881-d762-4296-8662-65f4268f0f38@6c48a",
- "displayName": "back",
- "id": "6c48a",
- "name": "texture",
- "wrapModeS": "repeat",
- "wrapModeT": "repeat",
- "minfilter": "linear",
- "magfilter": "linear",
- "mipfilter": "none",
- "anisotropy": 0,
- "isUuid": true,
- "imageUuidOrDatabaseUri": "72264881-d762-4296-8662-65f4268f0f38",
- "visible": false
- },
- "ver": "1.0.22",
- ".json"
- "subMetas": {}
- "hasAlpha": true,
- "type": "texture",
- "redirect": "72264881-d762-4296-8662-65f4268f0f38@6c48a",
- "fixAlphaTransparencyArtifacts": false
- "uuid": "e84618f5-baca-4fce-89af-359523043b6f",
- "uuid": "e84618f5-baca-4fce-89af-359523043b6f@6c48a",
- "displayName": "bottom",
- "imageUuidOrDatabaseUri": "e84618f5-baca-4fce-89af-359523043b6f",
- "redirect": "e84618f5-baca-4fce-89af-359523043b6f@6c48a",
- "uuid": "1f9443e8-7da4-44aa-8236-a7be02ca8b04",
- "uuid": "1f9443e8-7da4-44aa-8236-a7be02ca8b04@6c48a",
- "displayName": "front",
- "imageUuidOrDatabaseUri": "1f9443e8-7da4-44aa-8236-a7be02ca8b04",
- "redirect": "1f9443e8-7da4-44aa-8236-a7be02ca8b04@6c48a",
- "uuid": "8f232275-1fd3-4e9f-afbf-327e023155a4",
- "uuid": "8f232275-1fd3-4e9f-afbf-327e023155a4@6c48a",
- "displayName": "left",
- "imageUuidOrDatabaseUri": "8f232275-1fd3-4e9f-afbf-327e023155a4",
- "redirect": "8f232275-1fd3-4e9f-afbf-327e023155a4@6c48a",
@@ -1,24 +0,0 @@
- "ver": "1.0.4",
- "importer": "texture-cube",
- "uuid": "0f82c3da-4033-43ba-a8b8-d3b1f9e35a8f",
- "front": "1f9443e8-7da4-44aa-8236-a7be02ca8b04",
- "bottom": "e84618f5-baca-4fce-89af-359523043b6f",
- "top": "188bfc99-3ac0-4bcf-b8f3-04341c7cd0f1",
- "left": "8f232275-1fd3-4e9f-afbf-327e023155a4",
- "right": "78d6a912-07c9-497e-b63c-23839544903a",
- "back": "72264881-d762-4296-8662-65f4268f0f38"
- "uuid": "78d6a912-07c9-497e-b63c-23839544903a",
- "uuid": "78d6a912-07c9-497e-b63c-23839544903a@6c48a",
- "displayName": "right",
- "imageUuidOrDatabaseUri": "78d6a912-07c9-497e-b63c-23839544903a",
- "redirect": "78d6a912-07c9-497e-b63c-23839544903a@6c48a",
- "uuid": "188bfc99-3ac0-4bcf-b8f3-04341c7cd0f1",
- "uuid": "188bfc99-3ac0-4bcf-b8f3-04341c7cd0f1@6c48a",
- "displayName": "top",
- "imageUuidOrDatabaseUri": "188bfc99-3ac0-4bcf-b8f3-04341c7cd0f1",
- "redirect": "188bfc99-3ac0-4bcf-b8f3-04341c7cd0f1@6c48a",
@@ -195,7 +195,8 @@ export class GMap extends BaseExp {
let points: MPos[] = availablePoints.length > 0 ? availablePoints : standPosArr;
let pos: Vec3 = Utils.randomArray(points)[0].pos;
if(isAddRandom){
- pos.x += Utils.getRandomFloat(-0.3,0.3);
+ pos.x += Utils.getRandomFloat(-0.5,0.5);
+ pos.z += Utils.getRandomFloat(-0.5,0.5);
}
return pos;
@@ -1,4 +1,4 @@
-import { _decorator,Camera,Color,DirectionalLight,director,Node, Scene, TextureCube} from 'cc';
+import { _decorator,Camera,Color,DirectionalLight,director,Node, ParticleSystem2D, Scene, TextureCube} from 'cc';
import { GMap } from './GMap';
import { Player } from './Player';
import { Utils } from '../utils/Utils';
@@ -171,7 +171,7 @@ export class Main extends BaseExp {
uiMgr.hide(Constants.mainUIs.main,()=>{
uiMgr.show(Constants.popUIs.gunfightShootUI);
});
- },0.4)
+ },0.2)
/**
@@ -95,7 +95,6 @@ export class Gun2 extends GunBase {
||Game.I.isGameOver){
return;
- Game.I.player.shootUI.crossHairStability();
audioMgr.playOneShot(this.data.gun_sound);
this.playParticle(this.fireEffect);
this.getBulleNode();
@@ -156,6 +156,7 @@ export class GunfightShootUI extends BaseExp {
public show(...args: any[]){
this.loadTaskData();
+ this.gunNumChange();
@@ -3,6 +3,6 @@
"config": {
"images": [],
"sceneUUID": {},
- "scene": "6fdfa45a-54d2-427e-9510-d0cbbbc63997"
+ "scene": "10795865-5525-41fc-8bf7-0e8d6983b214"
@@ -5,7 +5,7 @@
"__version__": "1.3.9"
},
"gizmos-infos": {
- "is2D": true,
+ "is2D": false,
"is3DIcon": false,
"iconSize": 2,
"gridVisible": true,