Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
interactiveGames_Level
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xuxing@jiuaoedu.com
interactiveGames_Level
Commits
086d8625
Commit
086d8625
authored
Nov 04, 2021
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
纵横填数大体好了
parent
b930a813
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
610 additions
and
0 deletions
+610
-0
VHFillNum.meta
assets/sceneBundle/games/VHFillNum.meta
+12
-0
image.meta
assets/sceneBundle/games/VHFillNum/image.meta
+12
-0
名称框.png
assets/sceneBundle/games/VHFillNum/image/名称框.png
+0
-0
名称框.png.meta
assets/sceneBundle/games/VHFillNum/image/名称框.png.meta
+74
-0
换色底图.png
assets/sceneBundle/games/VHFillNum/image/换色底图.png
+0
-0
换色底图.png.meta
assets/sceneBundle/games/VHFillNum/image/换色底图.png.meta
+74
-0
整体底框.png
assets/sceneBundle/games/VHFillNum/image/整体底框.png
+0
-0
整体底框.png.meta
assets/sceneBundle/games/VHFillNum/image/整体底框.png.meta
+74
-0
答案底图.png
assets/sceneBundle/games/VHFillNum/image/答案底图.png
+0
-0
答案底图.png.meta
assets/sceneBundle/games/VHFillNum/image/答案底图.png.meta
+74
-0
边框.png
assets/sceneBundle/games/VHFillNum/image/边框.png
+0
-0
边框.png.meta
assets/sceneBundle/games/VHFillNum/image/边框.png.meta
+74
-0
prefab.meta
assets/sceneBundle/games/VHFillNum/prefab.meta
+12
-0
VHFillNumItem.prefab
...s/sceneBundle/games/VHFillNum/prefab/VHFillNumItem.prefab
+0
-0
VHFillNumItem.prefab.meta
...neBundle/games/VHFillNum/prefab/VHFillNumItem.prefab.meta
+13
-0
scene.meta
assets/sceneBundle/games/VHFillNum/scene.meta
+12
-0
VHFillNum_1.scene
assets/sceneBundle/games/VHFillNum/scene/VHFillNum_1.scene
+0
-0
VHFillNum_1.scene.meta
.../sceneBundle/games/VHFillNum/scene/VHFillNum_1.scene.meta
+11
-0
script.meta
assets/sceneBundle/games/VHFillNum/script.meta
+12
-0
VHFillNumCfg.ts
assets/sceneBundle/games/VHFillNum/script/VHFillNumCfg.ts
+41
-0
VHFillNumCfg.ts.meta
...s/sceneBundle/games/VHFillNum/script/VHFillNumCfg.ts.meta
+9
-0
VHFillNumCtr.ts
assets/sceneBundle/games/VHFillNum/script/VHFillNumCtr.ts
+0
-0
VHFillNumCtr.ts.meta
...s/sceneBundle/games/VHFillNum/script/VHFillNumCtr.ts.meta
+9
-0
VHFillNumItem.ts
assets/sceneBundle/games/VHFillNum/script/VHFillNumItem.ts
+88
-0
VHFillNumItem.ts.meta
.../sceneBundle/games/VHFillNum/script/VHFillNumItem.ts.meta
+9
-0
No files found.
assets/sceneBundle/games/VHFillNum.meta
0 → 100644
View file @
086d8625
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "4369f246-81a1-4d2d-bd91-05ff610ad3ad",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
assets/sceneBundle/games/VHFillNum/image.meta
0 → 100644
View file @
086d8625
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "d97ec704-be3e-4d17-a16c-bb88b33a3dbe",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
assets/sceneBundle/games/VHFillNum/image/名称框.png
0 → 100644
View file @
086d8625
2.63 KB
assets/sceneBundle/games/VHFillNum/image/名称框.png.meta
0 → 100644
View file @
086d8625
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "82bb2269-c436-4db6-b00e-3ef4b2c9ef2c",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "82bb2269-c436-4db6-b00e-3ef4b2c9ef2c@6c48a",
"displayName": "名称框",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "82bb2269-c436-4db6-b00e-3ef4b2c9ef2c"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "82bb2269-c436-4db6-b00e-3ef4b2c9ef2c@f9941",
"displayName": "名称框",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 262,
"height": 69,
"rawWidth": 262,
"rawHeight": 69,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "82bb2269-c436-4db6-b00e-3ef4b2c9ef2c@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "82bb2269-c436-4db6-b00e-3ef4b2c9ef2c@f9941"
}
}
assets/sceneBundle/games/VHFillNum/image/换色底图.png
0 → 100644
View file @
086d8625
292 Bytes
assets/sceneBundle/games/VHFillNum/image/换色底图.png.meta
0 → 100644
View file @
086d8625
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "8578ecff-0da2-40d5-a9b3-12494dc1baf0",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "8578ecff-0da2-40d5-a9b3-12494dc1baf0@6c48a",
"displayName": "换色底图",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "8578ecff-0da2-40d5-a9b3-12494dc1baf0"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "8578ecff-0da2-40d5-a9b3-12494dc1baf0@f9941",
"displayName": "换色底图",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 80,
"height": 80,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "8578ecff-0da2-40d5-a9b3-12494dc1baf0@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "8578ecff-0da2-40d5-a9b3-12494dc1baf0@f9941"
}
}
assets/sceneBundle/games/VHFillNum/image/整体底框.png
0 → 100644
View file @
086d8625
1.85 KB
assets/sceneBundle/games/VHFillNum/image/整体底框.png.meta
0 → 100644
View file @
086d8625
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "d59d76be-3134-4d0f-aeb4-7bf1f519b79f",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "d59d76be-3134-4d0f-aeb4-7bf1f519b79f@6c48a",
"displayName": "整体底框",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "d59d76be-3134-4d0f-aeb4-7bf1f519b79f"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "d59d76be-3134-4d0f-aeb4-7bf1f519b79f@f9941",
"displayName": "整体底框",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 524,
"height": 524,
"rawWidth": 524,
"rawHeight": 524,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "d59d76be-3134-4d0f-aeb4-7bf1f519b79f@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "d59d76be-3134-4d0f-aeb4-7bf1f519b79f@f9941"
}
}
assets/sceneBundle/games/VHFillNum/image/答案底图.png
0 → 100644
View file @
086d8625
530 Bytes
assets/sceneBundle/games/VHFillNum/image/答案底图.png.meta
0 → 100644
View file @
086d8625
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "7f4f3c00-f81f-4f13-88f2-9684a9de38a1",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "7f4f3c00-f81f-4f13-88f2-9684a9de38a1@6c48a",
"displayName": "答案底图",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "7f4f3c00-f81f-4f13-88f2-9684a9de38a1"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "7f4f3c00-f81f-4f13-88f2-9684a9de38a1@f9941",
"displayName": "答案底图",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 80,
"height": 80,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "7f4f3c00-f81f-4f13-88f2-9684a9de38a1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "7f4f3c00-f81f-4f13-88f2-9684a9de38a1@f9941"
}
}
assets/sceneBundle/games/VHFillNum/image/边框.png
0 → 100644
View file @
086d8625
350 Bytes
assets/sceneBundle/games/VHFillNum/image/边框.png.meta
0 → 100644
View file @
086d8625
{
"ver": "1.0.21",
"importer": "image",
"imported": true,
"uuid": "3ce562fe-fde6-468d-8e2c-b90187a3ba55",
"files": [
".png",
".json"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "3ce562fe-fde6-468d-8e2c-b90187a3ba55@6c48a",
"displayName": "边框",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "3ce562fe-fde6-468d-8e2c-b90187a3ba55"
},
"ver": "1.0.21",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "3ce562fe-fde6-468d-8e2c-b90187a3ba55@f9941",
"displayName": "边框",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 80,
"height": 80,
"rawWidth": 80,
"rawHeight": 80,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"isUuid": true,
"imageUuidOrDatabaseUri": "3ce562fe-fde6-468d-8e2c-b90187a3ba55@6c48a",
"atlasUuid": ""
},
"ver": "1.0.9",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "sprite-frame",
"redirect": "3ce562fe-fde6-468d-8e2c-b90187a3ba55@f9941"
}
}
assets/sceneBundle/games/VHFillNum/prefab.meta
0 → 100644
View file @
086d8625
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "95cdeb03-5014-4940-9ace-f790f56f52cc",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
assets/sceneBundle/games/VHFillNum/prefab/VHFillNumItem.prefab
0 → 100644
View file @
086d8625
This diff is collapsed.
Click to expand it.
assets/sceneBundle/games/VHFillNum/prefab/VHFillNumItem.prefab.meta
0 → 100644
View file @
086d8625
{
"ver": "1.1.27",
"importer": "prefab",
"imported": true,
"uuid": "6ab87c96-648b-4f6d-9657-b62462e29fa7",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "VHFillNumItem"
}
}
assets/sceneBundle/games/VHFillNum/scene.meta
0 → 100644
View file @
086d8625
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "a742e1c2-b2dd-4d87-961d-2730cc918d80",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
assets/sceneBundle/games/VHFillNum/scene/VHFillNum_1.scene
0 → 100644
View file @
086d8625
This diff is collapsed.
Click to expand it.
assets/sceneBundle/games/VHFillNum/scene/VHFillNum_1.scene.meta
0 → 100644
View file @
086d8625
{
"ver": "1.1.27",
"importer": "scene",
"imported": true,
"uuid": "3ad49fde-89b1-44df-a173-4859cc88e56d",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}
assets/sceneBundle/games/VHFillNum/script.meta
0 → 100644
View file @
086d8625
{
"ver": "1.1.0",
"importer": "directory",
"imported": true,
"uuid": "9499825d-ec68-4c20-b5df-97edf8a4fab9",
"files": [],
"subMetas": {},
"userData": {
"compressionType": {},
"isRemoteBundle": {}
}
}
assets/sceneBundle/games/VHFillNum/script/VHFillNumCfg.ts
0 → 100644
View file @
086d8625
import
{
_decorator
,
Component
,
Node
}
from
'cc'
;
const
{
ccclass
,
property
}
=
_decorator
;
export
interface
VHFillNumCfg
{
row
:
number
,
column
:
number
,
numArr
:
number
[][],
emptyCtrArr
:
number
[][],
rowSymb
:
string
[][],
columnSymb
:
string
[][]
options
:
number
[]
}
//常用计算符号 ÷ ×
export
const
vhfn_lv_1
:
VHFillNumCfg
=
{
row
:
4
,
column
:
4
,
numArr
:
[
[
3
,
6
,
5
,
14
],
[
8
,
4
,
2
,
16
],
[
6
,
2
,
3
,
36
],
[
30
,
8
,
10
,
-
1
]
],
emptyCtrArr
:
[
[
1
,
1
,
0
,
1
],
[
0
,
1
,
0
,
1
],
[
1
,
0
,
1
,
1
],
[
1
,
1
,
1
,
1
]
],
rowSymb
:
[
[
"+"
,
"+"
,
"="
],
[
"×"
,
"÷"
,
"="
],
[
"×"
,
"×"
,
"="
]
],
columnSymb
:
[
[
"×"
,
"+"
,
"+"
],
[
"+"
,
"÷"
,
"+"
],
[
"="
,
"="
,
"="
],
],
options
:
[
5
,
2
,
8
]
}
assets/sceneBundle/games/VHFillNum/script/VHFillNumCfg.ts.meta
0 → 100644
View file @
086d8625
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "300a7889-af89-47b7-8ea9-13b853080989",
"files": [],
"subMetas": {},
"userData": {}
}
assets/sceneBundle/games/VHFillNum/script/VHFillNumCtr.ts
0 → 100644
View file @
086d8625
This diff is collapsed.
Click to expand it.
assets/sceneBundle/games/VHFillNum/script/VHFillNumCtr.ts.meta
0 → 100644
View file @
086d8625
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "98565f3d-ec50-43e5-afa2-9e9f5097a3db",
"files": [],
"subMetas": {},
"userData": {}
}
assets/sceneBundle/games/VHFillNum/script/VHFillNumItem.ts
0 → 100644
View file @
086d8625
import
{
_decorator
,
Component
,
Node
,
Sprite
,
SpriteFrame
,
Label
,
director
}
from
'cc'
;
const
{
ccclass
,
property
}
=
_decorator
;
export
enum
VHFN_ITEM_TYPE
{
RESULT
=
10
,
FIX_ELE
=
20
,
NOR_ELE
=
30
,
}
@
ccclass
(
'VHFillNumItem'
)
export
class
VHFillNumItem
extends
Component
{
@
property
(
Sprite
)
bgSpr
:
Sprite
=
null
!
;
@
property
(
Sprite
)
fixedSpr
:
Sprite
=
null
!
;
@
property
(
SpriteFrame
)
eleSprFra
:
SpriteFrame
=
null
!
;
@
property
(
SpriteFrame
)
retSprFra
:
SpriteFrame
=
null
!
;
@
property
(
Label
)
showNumLab
:
Label
=
null
!
;
@
property
(
Node
)
clickNode
:
Node
=
null
!
;
private
_itemType
=
VHFN_ITEM_TYPE
.
RESULT
;
public
set
itemType
(
value
:
VHFN_ITEM_TYPE
)
{
this
.
_itemType
=
value
;
if
(
this
.
_itemType
==
VHFN_ITEM_TYPE
.
RESULT
)
{
this
.
bgSpr
.
spriteFrame
=
this
.
retSprFra
;
this
.
fixedSpr
.
node
.
active
=
false
;
}
else
if
(
this
.
_itemType
==
VHFN_ITEM_TYPE
.
FIX_ELE
)
{
this
.
bgSpr
.
spriteFrame
=
this
.
eleSprFra
;
this
.
fixedSpr
.
node
.
active
=
true
;
}
else
{
this
.
bgSpr
.
spriteFrame
=
this
.
eleSprFra
;
this
.
fixedSpr
.
node
.
active
=
false
;
}
}
public
get
itemType
()
{
return
this
.
_itemType
;
}
private
_rightNum
=
0
;
public
set
rightNum
(
value
:
number
)
{
this
.
_rightNum
=
value
;
}
public
get
rightNum
()
{
return
this
.
_rightNum
;
}
private
_showNum
=
-
1
;
public
set
showNum
(
value
:
number
)
{
this
.
_showNum
=
value
;
this
.
showNumLab
.
string
=
this
.
_showNum
==
-
1
?
""
:
this
.
_showNum
+
""
;
}
public
get
showNum
()
{
return
this
.
_showNum
;
}
start
()
{
// [3]
// console.log(`一个item被点击0`);
// console.log(this.clickNode);
this
.
clickNode
.
on
(
Node
.
EventType
.
TOUCH_END
,
()
=>
{
console
.
log
(
`一个item被点击1`
);
director
.
emit
(
"VHFM_click"
,
this
);
});
}
isRight
()
{
return
this
.
_showNum
==
this
.
rightNum
;
}
// update (deltaTime: number) {
// // [4]
// }
}
assets/sceneBundle/games/VHFillNum/script/VHFillNumItem.ts.meta
0 → 100644
View file @
086d8625
{
"ver": "4.0.22",
"importer": "typescript",
"imported": true,
"uuid": "c41758e6-acef-4665-a54b-0ae03afe65e0",
"files": [],
"subMetas": {},
"userData": {}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment