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
523c3b98
Commit
523c3b98
authored
Sep 17, 2021
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加数字3X3舒尔特方格
parent
f0c744fc
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
30 additions
and
10 deletions
+30
-10
Schulte_3_3.scene
assets/sceneBundle/games/schulte/scene/Schulte_3_3.scene
+0
-0
Schulte_3_3.scene.meta
...ts/sceneBundle/games/schulte/scene/Schulte_3_3.scene.meta
+1
-0
Schulte_4_4.scene
assets/sceneBundle/games/schulte/scene/Schulte_4_4.scene
+2
-2
Schulte_5_5.scene
assets/sceneBundle/games/schulte/scene/Schulte_5_5.scene
+2
-2
Unique_1.scene
assets/sceneBundle/games/unique/scene/Unique_1.scene
+1
-1
LevelCfg.ts
assets/startFolder/script/LevelCfg.ts
+12
-2
LevelHomeCtr.ts
assets/startFolder/script/LevelHomeCtr.ts
+5
-2
LevelMgr.ts
assets/startFolder/script/LevelMgr.ts
+1
-1
SceneDef.ts
assets/startFolder/script/common/SceneDef.ts
+6
-0
No files found.
assets/sceneBundle/games/schulte/scene/Schulte_3_3.scene
0 → 100644
View file @
523c3b98
This diff is collapsed.
Click to expand it.
assets/sceneBundle/games/schulte/scene/Schulte_3_3.scene.meta
0 → 100644
View file @
523c3b98
{"ver":"1.1.27","importer":"scene","imported":true,"uuid":"36aaa26e-4a36-431e-ad74-e670f79a3f41","files":[".json"],"subMetas":{},"userData":{}}
assets/sceneBundle/games/schulte/scene/Schulte_4_4.scene
View file @
523c3b98
...
@@ -321,7 +321,7 @@
...
@@ -321,7 +321,7 @@
"_priority": 1073741824,
"_priority": 1073741824,
"_fov": 45,
"_fov": 45,
"_fovAxis": 0,
"_fovAxis": 0,
"_orthoHeight":
375.00000000000006
,
"_orthoHeight":
414.4124472573839
,
"_near": 1,
"_near": 1,
"_far": 2000,
"_far": 2000,
"_color": {
"_color": {
...
@@ -3090,7 +3090,7 @@
...
@@ -3090,7 +3090,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
"gameId": 100
2
,
"gameId": 100
3
,
"blockPosNodes": [
"blockPosNodes": [
{
{
"__id__": 48
"__id__": 48
...
...
assets/sceneBundle/games/schulte/scene/Schulte_5_5.scene
View file @
523c3b98
...
@@ -321,7 +321,7 @@
...
@@ -321,7 +321,7 @@
"_priority": 1073741824,
"_priority": 1073741824,
"_fov": 45,
"_fov": 45,
"_fovAxis": 0,
"_fovAxis": 0,
"_orthoHeight":
375.00000000000006
,
"_orthoHeight":
414.4124472573839
,
"_near": 1,
"_near": 1,
"_far": 2000,
"_far": 2000,
"_color": {
"_color": {
...
@@ -3807,7 +3807,7 @@
...
@@ -3807,7 +3807,7 @@
},
},
"_enabled": true,
"_enabled": true,
"__prefab": null,
"__prefab": null,
"gameId": 100
3
,
"gameId": 100
4
,
"blockPosNodes": [
"blockPosNodes": [
{
{
"__id__": 48
"__id__": 48
...
...
assets/sceneBundle/games/unique/scene/Unique_1.scene
View file @
523c3b98
...
@@ -320,7 +320,7 @@
...
@@ -320,7 +320,7 @@
"_priority": 1073741824,
"_priority": 1073741824,
"_fov": 45,
"_fov": 45,
"_fovAxis": 0,
"_fovAxis": 0,
"_orthoHeight":
375
,
"_orthoHeight":
693.7362869198312
,
"_near": 1,
"_near": 1,
"_far": 2000,
"_far": 2000,
"_color": {
"_color": {
...
...
assets/startFolder/script/LevelCfg.ts
View file @
523c3b98
...
@@ -34,18 +34,28 @@ export const levelCfg: OneVarLevelItf[] = [
...
@@ -34,18 +34,28 @@ export const levelCfg: OneVarLevelItf[] = [
}
}
,
{
,
{
gameId
:
1002
,
gameId
:
1002
,
sceneUnitIfo
:
SCENE_DEF
.
Schulte_
4_4
,
sceneUnitIfo
:
SCENE_DEF
.
Schulte_
3_3
,
comName
:
"SchulteCtr"
,
comName
:
"SchulteCtr"
,
level
:
2
,
level
:
2
,
resData
:
{
resData
:
{
totalTime
:
60
totalTime
:
60
}
}
}
}
,
{
,
{
gameId
:
1003
,
gameId
:
1003
,
sceneUnitIfo
:
SCENE_DEF
.
Schulte_
5_5
,
sceneUnitIfo
:
SCENE_DEF
.
Schulte_
4_4
,
comName
:
"SchulteCtr"
,
comName
:
"SchulteCtr"
,
level
:
3
,
level
:
3
,
resData
:
{
totalTime
:
60
}
}
,
{
gameId
:
1004
,
sceneUnitIfo
:
SCENE_DEF
.
Schulte_5_5
,
comName
:
"SchulteCtr"
,
level
:
4
,
resData
:
{
resData
:
{
totalTime
:
90
totalTime
:
90
}
}
...
...
assets/startFolder/script/LevelHomeCtr.ts
View file @
523c3b98
...
@@ -26,13 +26,16 @@ export class LevelHomeCtr extends Component {
...
@@ -26,13 +26,16 @@ export class LevelHomeCtr extends Component {
levelMgr
.
gameIdHead
=
70
;
levelMgr
.
gameIdHead
=
70
;
levelMgr
.
unLockCount
=
1
;
levelMgr
.
unLockCount
=
1
;
if
(
Utils
.
getValueFromHref
(
"gameIdHead"
)){
if
(
Utils
.
getValueFromHref
(
"gameIdHead"
)){
levelMgr
.
gameIdHead
=
<
number
><
any
>
(
Utils
.
getValueFromHref
(
"gameIdHead"
));
levelMgr
.
gameIdHead
=
Number
(
Utils
.
getValueFromHref
(
"gameIdHead"
));
}
}
if
(
Utils
.
getValueFromHref
(
"unLockCount"
)){
if
(
Utils
.
getValueFromHref
(
"unLockCount"
)){
levelMgr
.
unLockCount
=
<
number
><
any
>
Utils
.
getValueFromHref
(
"unLockCount"
);
levelMgr
.
unLockCount
=
Number
(
Utils
.
getValueFromHref
(
"unLockCount"
)
);
}
}
}
}
//
//
// console.log(`home关卡`);
// console.log(levelMgr.unLockCount);
// console.log(typeof levelMgr.unLockCount);
director
.
on
(
"load_level"
,
this
.
loadLevel
,
this
);
director
.
on
(
"load_level"
,
this
.
loadLevel
,
this
);
this
.
updateStar
();
this
.
updateStar
();
}
}
...
...
assets/startFolder/script/LevelMgr.ts
View file @
523c3b98
...
@@ -79,7 +79,7 @@ class LevelMgr {
...
@@ -79,7 +79,7 @@ class LevelMgr {
}
}
}
}
let
gameId
=
this
.
_gameIdHead
*
100
+
this
.
_runLevel
;
let
gameId
=
this
.
_gameIdHead
*
100
+
this
.
_runLevel
;
//
console.log(`加载关卡`, gameId, this._runLevel);
console
.
log
(
`加载关卡`
,
gameId
,
this
.
_runLevel
);
for
(
let
i
=
0
;
i
<
levelArr
.
length
;
++
i
){
for
(
let
i
=
0
;
i
<
levelArr
.
length
;
++
i
){
if
(
levelArr
[
i
].
gameId
==
gameId
)
{
if
(
levelArr
[
i
].
gameId
==
gameId
)
{
sceneMgr
.
openScene
(
levelArr
[
i
].
sceneUnitIfo
,
(
scene
)
=>
{
sceneMgr
.
openScene
(
levelArr
[
i
].
sceneUnitIfo
,
(
scene
)
=>
{
...
...
assets/startFolder/script/common/SceneDef.ts
View file @
523c3b98
...
@@ -22,6 +22,7 @@ interface ScenePathItf {
...
@@ -22,6 +22,7 @@ interface ScenePathItf {
ErrorScene
:
ScenePathUnitItf
,
ErrorScene
:
ScenePathUnitItf
,
//舒尔特
//舒尔特
Schulte_2_2
:
ScenePathUnitItf
,
Schulte_2_2
:
ScenePathUnitItf
,
Schulte_3_3
:
ScenePathUnitItf
,
Schulte_4_4
:
ScenePathUnitItf
,
Schulte_4_4
:
ScenePathUnitItf
,
Schulte_5_5
:
ScenePathUnitItf
,
Schulte_5_5
:
ScenePathUnitItf
,
Schulte_letter_5_5
:
ScenePathUnitItf
,
Schulte_letter_5_5
:
ScenePathUnitItf
,
...
@@ -96,6 +97,11 @@ export const SCENE_DEF: ScenePathItf = {
...
@@ -96,6 +97,11 @@ export const SCENE_DEF: ScenePathItf = {
sceneName
:
"Schulte_2_2"
,
sceneName
:
"Schulte_2_2"
,
desc
:
"舒尔特数字 2x2"
desc
:
"舒尔特数字 2x2"
}
}
,
Schulte_3_3
:
{
bundleName
:
"sceneBundle"
,
sceneName
:
"Schulte_3_3"
,
desc
:
"舒尔特数字 3x3"
}
,
Schulte_4_4
:
{
,
Schulte_4_4
:
{
bundleName
:
"sceneBundle"
,
bundleName
:
"sceneBundle"
,
sceneName
:
"Schulte_4_4"
,
sceneName
:
"Schulte_4_4"
,
...
...
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