diff --git a/fc/css/gbajs.css b/fc/css/gbajs.css
index 143972d..0af2bac 100644
--- a/fc/css/gbajs.css
+++ b/fc/css/gbajs.css
@@ -546,3 +546,50 @@ canvas {
.container::-webkit-scrollbar {
display: none; //Safari and Chrome
}
+/*.direct-wrap {*/
+/* width:300px;*/
+/* height:300px;*/
+/* top: 20px;*/
+/* left: 20px;*/
+/* position: absolute;*/
+/* background-image:url(../resources/rocker.png);*/
+/* display: none;*/
+/* grid-template-columns: 100px 100px 100px;*/
+/* grid-template-rows: 100px 100px 100px;*/
+/*}*/
+/*.real .dire-wrap {*/
+/* display: none!important;*/
+/*}*/
+.real .dire-ctrl {
+ background-image:url(../resources/rocker.png);
+}
+
+.real .dc-centre {
+ display: none;
+}
+.real .dc-dire {
+ background-image:url(../resources/direct-shadow.png);
+}
+
+.real .direct-wrap {
+ display: grid;
+}
+.direct-btn {
+}
+.real .key-btn {
+ opacity:1!important;
+ background-image:url(../resources/button.png)!important;
+}
+
+.real .flat-btn {
+ background-image:url(../resources/flat-button.png)!important;;
+ opacity:.7!important;;
+ width:150px!important;
+}
+.real .kay-SE {
+ top:100px!important;
+}
+.real .kay-ST {
+ right:60px!important;;
+}
+
diff --git a/fc/index.html b/fc/index.html
index 62399a6..6732329 100644
--- a/fc/index.html
+++ b/fc/index.html
@@ -1,71 +1,70 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
A
-
B
-
-
AB
-
选择
-
开始
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
A
+
B
+
+
+
AB
+
选择
+
开始
+
+
+
+
+
+
+
+
diff --git a/fc/js/nes-embed.js b/fc/js/nes-embed.js
index d1fd796..fc12a80 100644
--- a/fc/js/nes-embed.js
+++ b/fc/js/nes-embed.js
@@ -206,25 +206,29 @@ function checkSession_id(res){
}catch(e){}
}
window.onload = function(){
- var account_id = getParameter("account_id")
- var session_id = getParameter("session_id")
- var url;
- if(getParameter("version")==="product"){
- url = "https://login.kingsome.cn/webapp/index.php?c=Login&a=sessionAuth"
- }
- else{
- url = "https://login-test.kingsome.cn/webapp/index.php?c=Login&a=sessionAuth"
- }
- url += "&account_id=";
- url += account_id;
- url += "&session_id=";
- url += session_id;
-
- var ajax = new XMLHttpRequest();
- ajax.onload = checkSession_id;
- ajax.open("GET", url, true);
- ajax.send(null);
+ var noCheck = getParameter('nt');
+ if (noCheck) {
+ startGame()
+ } else {
+ var account_id = getParameter("account_id")
+ var session_id = getParameter("session_id")
+ var url;
+ if(getParameter("version")==="product"){
+ url = "https://login.kingsome.cn/webapp/index.php?c=Login&a=sessionAuth"
+ }
+ else{
+ url = "https://login-test.kingsome.cn/webapp/index.php?c=Login&a=sessionAuth"
+ }
+ url += "&account_id=";
+ url += account_id;
+ url += "&session_id=";
+ url += session_id;
+ var ajax = new XMLHttpRequest();
+ ajax.onload = checkSession_id;
+ ajax.open("GET", url, true);
+ ajax.send(null);
+ }
}
var script_processor=null
diff --git a/fc/resources/button-press.png b/fc/resources/button-press.png
new file mode 100755
index 0000000..4e4954f
Binary files /dev/null and b/fc/resources/button-press.png differ
diff --git a/fc/resources/button.png b/fc/resources/button.png
new file mode 100755
index 0000000..d74a361
Binary files /dev/null and b/fc/resources/button.png differ
diff --git a/fc/resources/direct-shadow.png b/fc/resources/direct-shadow.png
new file mode 100644
index 0000000..ae18e29
Binary files /dev/null and b/fc/resources/direct-shadow.png differ
diff --git a/fc/resources/flat-button-press.png b/fc/resources/flat-button-press.png
new file mode 100644
index 0000000..4f5bb99
Binary files /dev/null and b/fc/resources/flat-button-press.png differ
diff --git a/fc/resources/flat-button.png b/fc/resources/flat-button.png
new file mode 100644
index 0000000..a6b5812
Binary files /dev/null and b/fc/resources/flat-button.png differ
diff --git a/fc/resources/rocker-down.png b/fc/resources/rocker-down.png
new file mode 100755
index 0000000..398c181
Binary files /dev/null and b/fc/resources/rocker-down.png differ
diff --git a/fc/resources/rocker-left.png b/fc/resources/rocker-left.png
new file mode 100755
index 0000000..ea3c8ec
Binary files /dev/null and b/fc/resources/rocker-left.png differ
diff --git a/fc/resources/rocker-up.png b/fc/resources/rocker-up.png
new file mode 100755
index 0000000..e5edba4
Binary files /dev/null and b/fc/resources/rocker-up.png differ
diff --git a/fc/resources/rocker.png b/fc/resources/rocker.png
new file mode 100755
index 0000000..85df3eb
Binary files /dev/null and b/fc/resources/rocker.png differ
diff --git a/fc/resources/rockerLeftDown.png b/fc/resources/rockerLeftDown.png
new file mode 100755
index 0000000..ab9f599
Binary files /dev/null and b/fc/resources/rockerLeftDown.png differ
diff --git a/fc/resources/rockerLeftUp.png b/fc/resources/rockerLeftUp.png
new file mode 100755
index 0000000..0ce6bf5
Binary files /dev/null and b/fc/resources/rockerLeftUp.png differ
diff --git a/gulpfile.js b/gulpfile.js
index 8e4befd..e5559f8 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -11,8 +11,9 @@ const javascriptObfuscator = require('gulp-javascript-obfuscator');
const obfuscatorOptions = {
compact:true,
sourceMap: false,
- debugProtection: false,
- disableConsoleOutput: false
+ debugProtection: true,
+ disableConsoleOutput: true,
+ domainLock: ['.kingsome.cn', '.zhl.com']
};
//检查js的语法错误
gulp.task('jslint', function () {