Commit a2d75394 authored by shujianhe's avatar shujianhe

inital commit

parent f3c0b967
Pipeline #823 failed with stages
[InternetShortcut]
URL=https://docs.cocos.com/creator/manual/en/scripting/setup.html#custom-script-template
\ No newline at end of file
{
"image": {
"type": "sprite-frame"
}
}
#///////////////////////////
# Cocos Creator 3D Project
#///////////////////////////
library/
temp/
local/
build/
profiles/
native
#//////////////////////////
# NPM
#//////////////////////////
node_modules/
#//////////////////////////
# VSCode
#//////////////////////////
.vscode/
#//////////////////////////
# WebStorm
#//////////////////////////
.idea/
\ No newline at end of file
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "4467fd50-e41a-435b-a00a-82b7d758e6d0",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true,
"bundleName": "resources",
"priority": 8,
"compressionType": {},
"isRemoteBundle": {}
}
}
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "9b61fd08-ee33-46a3-bed1-f6d90a8c308d",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
{
"ver": "1.0.25",
"importer": "image",
"imported": true,
"uuid": "709ee7aa-612d-44dc-9954-1e4996737a19",
"files": [
".jpeg",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "709ee7aa-612d-44dc-9954-1e4996737a19@6c48a",
"displayName": "leidianjiangjun",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "709ee7aa-612d-44dc-9954-1e4996737a19",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "709ee7aa-612d-44dc-9954-1e4996737a19@f9941",
"displayName": "leidianjiangjun",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1447,
"height": 2047,
"rawWidth": 1447,
"rawHeight": 2047,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-723.5,
-1023.5,
0,
723.5,
-1023.5,
0,
-723.5,
1023.5,
0,
723.5,
1023.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
2047,
1447,
2047,
0,
0,
1447,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-723.5,
-1023.5,
0
],
"maxPos": [
723.5,
1023.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "709ee7aa-612d-44dc-9954-1e4996737a19@6c48a",
"atlasUuid": ""
},
"ver": "1.0.11",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": true,
"hasAlpha": false,
"redirect": "709ee7aa-612d-44dc-9954-1e4996737a19@f9941"
}
}
{
"ver": "1.0.25",
"importer": "image",
"imported": true,
"uuid": "d745c327-c5e4-46ef-b1c8-5d292f637873",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d745c327-c5e4-46ef-b1c8-5d292f637873@6c48a",
"displayName": "null",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "d745c327-c5e4-46ef-b1c8-5d292f637873",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "d745c327-c5e4-46ef-b1c8-5d292f637873@f9941",
"displayName": "null",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1731,
"height": 968,
"rawWidth": 1731,
"rawHeight": 968,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-865.5,
-484,
0,
865.5,
-484,
0,
-865.5,
484,
0,
865.5,
484,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
968,
1731,
968,
0,
0,
1731,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-865.5,
-484,
0
],
"maxPos": [
865.5,
484,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "d745c327-c5e4-46ef-b1c8-5d292f637873@6c48a",
"atlasUuid": ""
},
"ver": "1.0.11",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"fixAlphaTransparencyArtifacts": true,
"hasAlpha": true,
"redirect": "d745c327-c5e4-46ef-b1c8-5d292f637873@f9941"
}
}
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "798103fb-19bc-48af-900e-5afca4a46ef8",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
This diff is collapsed.
{
"ver": "1.1.43",
"importer": "scene",
"imported": true,
"uuid": "0a8b64a5-29b1-4f29-90e6-0cb8c8418d54",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "806aba56-bd8f-4b84-8f7a-7740d4ea85af",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "0d8234e2-17ea-40e7-8b35-dc1bc2dc6b78",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
import { Vec3 } from 'cc';
import { _decorator, Component, EventTouch, Node } from 'cc';
const { ccclass, property,executeInEditMode } = _decorator;
@ccclass('UImainViews')
@executeInEditMode(true)
export class UImainViews extends Component {
protected start(): void {
this.node.on(Node.EventType.TOUCH_START, this.onTouchStart.bind(this), this);
this.node.on(Node.EventType.TOUCH_END, this.onTouchEnd.bind(this), this);
this.node.on(Node.EventType.MOUSE_LEAVE, this.onTouchLeave.bind(this), this);
this.node.on(Node.EventType.TOUCH_CANCEL, this.onTouchCannelEnd.bind(this), this);
}
protected update(dt: number): void {
}
protected onTouchLeave(){
}
protected onTouchEnd(){
}
protected onTouchStart(event:EventTouch){
if(event.getAllTouches().length == 1){
var pos = new Vec3 (event.getLocationX(),event.getLocationY(),1)
console.log(pos)
}
}
protected onTouchCannelEnd(){
}
}
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "df2ae071-2fba-410c-a064-07610b8ecfc4",
"files": [],
"subMetas": {},
"userData": {}
}
import { _decorator, Color, Component, Graphics, Node } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('testNode')
export class testNode extends Component {
private _nowColor:Color = Color.WHITE
start() {
}
update(deltaTime: number) {
}
@property({type:Color})
set nowColor(color:Color){
var graphics = this.node.getComponent("cc.Graphics") as Graphics
graphics.fillColor = color
graphics.rect(-50,-50,100,100)
graphics.fill()
this._nowColor = color
}
get nowColor(){
return this._nowColor
}
}
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "07deb391-a412-491d-921f-aefb2fcb3f11",
"files": [],
"subMetas": {},
"userData": {}
}
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "e6f71828-722f-45c2-9207-9fff43c3aed0",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
import { _decorator, Component, Node } from 'cc';
const { ccclass, property } = _decorator;
@ccclass('fileColosScene')
export class fileColosScene extends Component {
start() {
}
update(deltaTime: number) {
}
}
{
"ver": "4.0.23",
"importer": "typescript",
"imported": true,
"uuid": "8996e6b8-1272-4a21-9b9c-8b6b91bef155",
"files": [],
"subMetas": {},
"userData": {}
}
{
"name": "tuse",
"uuid": "72b58710-86b9-4680-a005-3222c15c4590",
"creator": {
"version": "3.7.1"
}
}
{
"__version__": "1.3.4"
}
{
"__version__": "3.0.7",
"game": {
"name": "未知游戏",
"app_id": "UNKNOW",
"c_id": "0"
},
"appConfigMaps": [
{
"app_id": "UNKNOW",
"config_id": "1a5489"
}
],
"configs": [
{
"app_id": "UNKNOW",
"config_id": "1a5489",
"config_name": "Default",
"config_remarks": "",
"services": []
}
]
}
{
"__version__": "1.0.1"
}
{
"__version__": "1.0.7",
"modules": {
"cache": {
"base": {
"_value": true
},
"graphcis": {
"_value": true
},
"gfx-webgl": {
"_value": true
},
"gfx-webgl2": {
"_value": true
},
"animation": {
"_value": true
},
"skeletal-animation": {
"_value": false
},
"3d": {
"_value": false
},
"2d": {
"_value": true
},
"xr": {
"_value": false
},
"ui": {
"_value": true
},
"particle": {
"_value": false
},
"physics": {
"_value": false,
"_option": "physics-ammo"
},
"physics-ammo": {
"_value": false
},
"physics-cannon": {
"_value": false
},
"physics-physx": {
"_value": false
},
"physics-builtin": {
"_value": false
},
"physics-2d": {
"_value": true,
"_option": "physics-2d-box2d"
},
"physics-2d-box2d": {
"_value": false
},
"physics-2d-builtin": {
"_value": false
},
"intersection-2d": {
"_value": true
},
"primitive": {
"_value": false
},
"profiler": {
"_value": true
},
"occlusion-query": {
"_value": false
},
"geometry-renderer": {
"_value": false
},
"debug-renderer": {
"_value": false
},
"particle-2d": {
"_value": true
},
"audio": {
"_value": true
},
"video": {
"_value": true
},
"webview": {
"_value": true
},
"tween": {
"_value": true
},
"terrain": {
"_value": false
},
"tiled-map": {
"_value": true
},
"spine": {
"_value": true
},
"dragon-bones": {
"_value": true
},
"marionette": {
"_value": false
},
"custom-pipeline": {
"_value": false
}
},
"includeModules": [
"2d",
"animation",
"audio",
"base",
"dragon-bones",
"gfx-webgl",
"gfx-webgl2",
"intersection-2d",
"light-probe",
"particle-2d",
"physics-2d-box2d",
"profiler",
"spine",
"tiled-map",
"tween",
"ui",
"video",
"websocket",
"webview"
],
"noDeprecatedFeatures": {
"value": false,
"version": ""
},
"flags": {}
}
}
{
"__version__": "1.0.3"
}
{
"__version__": "1.0.4",
"custom_joint_texture_layouts": [],
"general": {
"designResolution": {
"fitWidth": true,
"width": 850,
"height": 1280
}
}
}
{
/* Base configuration. Do not edit this field. */
"extends": "./temp/tsconfig.cocos.json",
/* Add your custom configuration here. */
"compilerOptions": {
"strict": false
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment