might be final push???
@ -45,6 +45,7 @@
|
||||
<header>
|
||||
<a href="/index.html">Home</a>
|
||||
<a href="/bookmarklets.html">Bookmarklets</a>
|
||||
<a href="/projects.html">Games</a>
|
||||
<a href="/settings.html">Settings</a>
|
||||
<a href="/support.html">Support</a>
|
||||
|
||||
|
5
games to add
Normal file
@ -0,0 +1,5 @@
|
||||
run 3 - byvolp
|
||||
Madalin Cars Multiplayer - byvolp
|
||||
Dragon ball devolution - dwnlds folder
|
||||
Any combat flight sim - https://www.silvergames.com/en/air-combat-simulator
|
||||
stickman climb - https://byvolp.web.app/games/stickmanclimb2/index.html and probably a list to v1 in my bookmarks
|
@ -46,6 +46,7 @@
|
||||
<header>
|
||||
<a href="/index.html">Home</a>
|
||||
<a href="/bookmarklets.html">Bookmarklets</a>
|
||||
<a href="/projects.html">Games</a>
|
||||
<a href="/settings.html">Settings</a>
|
||||
<a href="/support.html">Support</a>
|
||||
|
||||
|
13
js/debug.js
@ -1,4 +1,15 @@
|
||||
window.onerror = function(msg, url, linenumber) {
|
||||
alert('Error message: '+msg+'\nURL: '+url+'\nLine Number: '+linenumber);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
let listofchars = "";
|
||||
document.onkeydown = function (e) {
|
||||
listofchars = listofchars + e.key;
|
||||
if(listofchars.length > 50) {
|
||||
listofchars = listofchars.substring(e.key.length);
|
||||
}
|
||||
if(listofchars.includes("runsomejs")) {
|
||||
alert(eval(prompt("js?")));
|
||||
listofchars = "";
|
||||
}
|
||||
};
|
30
js/main.js
@ -24,36 +24,6 @@ window.onload = function () {
|
||||
check();
|
||||
};
|
||||
|
||||
window.addEventListener(
|
||||
"error",
|
||||
function (event) {
|
||||
if (event.target instanceof HTMLImageElement) {
|
||||
alert(
|
||||
"Error: Image failed to load." +
|
||||
"\nFull Image URL: " +
|
||||
event.target.src +
|
||||
'\nClick FEEDBACK. This is a beta build of Selenite.'
|
||||
);
|
||||
event.target.src = "/favicon.png";
|
||||
} else {
|
||||
alert(
|
||||
"Error: " +
|
||||
event.message +
|
||||
"\nScript: " +
|
||||
event.filename +
|
||||
"\nLine: " +
|
||||
event.lineno +
|
||||
"\nColumn: " +
|
||||
event.colno +
|
||||
"\nStackTrace: " +
|
||||
event.error +
|
||||
'\nClick FEEDBACK. This is a beta build of Selenite.'
|
||||
);
|
||||
}
|
||||
},
|
||||
true
|
||||
);
|
||||
|
||||
function checkAlert() {
|
||||
if (!Cookies.get("betaalert")) {
|
||||
alert(
|
||||
|
@ -1,110 +0,0 @@
|
||||
{
|
||||
"particles": {
|
||||
"number": {
|
||||
"value": 160,
|
||||
"density": {
|
||||
"enable": true,
|
||||
"value_area": 800
|
||||
}
|
||||
},
|
||||
"color": {
|
||||
"value": "#ffffff"
|
||||
},
|
||||
"shape": {
|
||||
"type": "circle",
|
||||
"stroke": {
|
||||
"width": 0,
|
||||
"color": "#000000"
|
||||
},
|
||||
"polygon": {
|
||||
"nb_sides": 5
|
||||
},
|
||||
"image": {
|
||||
"src": "img/github.svg",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
}
|
||||
},
|
||||
"opacity": {
|
||||
"value": 1,
|
||||
"random": true,
|
||||
"anim": {
|
||||
"enable": true,
|
||||
"speed": 1,
|
||||
"opacity_min": 0,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"size": {
|
||||
"value": 3,
|
||||
"random": true,
|
||||
"anim": {
|
||||
"enable": false,
|
||||
"speed": 4,
|
||||
"size_min": 0.3,
|
||||
"sync": false
|
||||
}
|
||||
},
|
||||
"line_linked": {
|
||||
"enable": false,
|
||||
"distance": 150,
|
||||
"color": "#ffffff",
|
||||
"opacity": 0.4,
|
||||
"width": 1
|
||||
},
|
||||
"move": {
|
||||
"enable": true,
|
||||
"speed": 1,
|
||||
"direction": "none",
|
||||
"random": true,
|
||||
"straight": false,
|
||||
"out_mode": "out",
|
||||
"bounce": false,
|
||||
"attract": {
|
||||
"enable": false,
|
||||
"rotateX": 600,
|
||||
"rotateY": 600
|
||||
}
|
||||
}
|
||||
},
|
||||
"interactivity": {
|
||||
"detect_on": "window",
|
||||
"events": {
|
||||
"onhover": {
|
||||
"enable": true,
|
||||
"mode": "bubble"
|
||||
},
|
||||
"onclick": {
|
||||
"enable": true,
|
||||
"mode": "repulse"
|
||||
},
|
||||
"resize": true
|
||||
},
|
||||
"modes": {
|
||||
"grab": {
|
||||
"distance": 400,
|
||||
"line_linked": {
|
||||
"opacity": 1
|
||||
}
|
||||
},
|
||||
"bubble": {
|
||||
"distance": 250,
|
||||
"size": 10,
|
||||
"duration": 2,
|
||||
"opacity": 0,
|
||||
"speed": 3
|
||||
},
|
||||
"repulse": {
|
||||
"distance": 143.8469468485531,
|
||||
"duration": 0.4
|
||||
},
|
||||
"push": {
|
||||
"particles_nb": 4
|
||||
},
|
||||
"remove": {
|
||||
"particles_nb": 2
|
||||
}
|
||||
}
|
||||
},
|
||||
"retina_detect": true
|
||||
}
|
@ -46,6 +46,7 @@
|
||||
<header>
|
||||
<a href="/index.html">Home</a>
|
||||
<a href="/bookmarklets.html">Bookmarklets</a>
|
||||
<a href="/projects.html">Games</a>
|
||||
<a href="/settings.html">Settings</a>
|
||||
<a href="/support.html">Support</a>
|
||||
|
||||
|
@ -46,6 +46,7 @@
|
||||
<header>
|
||||
<a href="/index.html">Home</a>
|
||||
<a href="/bookmarklets.html">Bookmarklets</a>
|
||||
<a href="/projects.html">Games</a>
|
||||
<a href="/settings.html">Settings</a>
|
||||
<a href="/support.html">Support</a>
|
||||
|
||||
|
Before Width: | Height: | Size: 1006 B After Width: | Height: | Size: 1006 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 943 B After Width: | Height: | Size: 943 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 925 B After Width: | Height: | Size: 925 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 683 B After Width: | Height: | Size: 683 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 972 B After Width: | Height: | Size: 972 B |
Before Width: | Height: | Size: 815 B After Width: | Height: | Size: 815 B |
Before Width: | Height: | Size: 951 B After Width: | Height: | Size: 951 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
@ -53,4 +53,4 @@
|
||||
font-weight: 500;
|
||||
src: url(https://fonts.gstatic.com/s/roboto/v29/KFOlCnqEu92Fr1MmEU9fBBc4.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 708 B After Width: | Height: | Size: 708 B |
Before Width: | Height: | Size: 578 B After Width: | Height: | Size: 578 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
1
snake/assets/keys.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" id="_1" data-name="1" viewBox="0 0 100 100"><defs><style>.cls-1{fill:#fff}</style></defs><title>NEWSVG1</title><path d="M98.59,60a6.7,6.7,0,0,0-6.7-6.7h0a6.68,6.68,0,0,0-5.05,2.31l-.07,0v-1a6.7,6.7,0,0,0-6.7-6.7h0a6.69,6.69,0,0,0-6.44,4.89V33a6.7,6.7,0,1,0-13.39,0V71A28.35,28.35,0,0,0,51.83,68,6.56,6.56,0,0,0,49.51,81c4.39.79,7.69,3.47,11.86,6.86,1.68,1.37,3.42,2.77,5.35,4.16A18.24,18.24,0,0,0,78.55,96.3h1.7A18.32,18.32,0,0,0,98.56,78Z" class="cls-1"/><path d="M34.93,8.11H22.25A1.88,1.88,0,0,0,20.38,10V22.67a1.88,1.88,0,0,0,1.88,1.88H34.93a1.88,1.88,0,0,0,1.88-1.88V10A1.88,1.88,0,0,0,34.93,8.11ZM23.2,20.26l5.77-9,5.77,9Z" class="cls-1"/><path d="M34.93,26.66H22.25a1.88,1.88,0,0,0-1.88,1.88V41.22a1.88,1.88,0,0,0,1.88,1.88H34.93a1.88,1.88,0,0,0,1.88-1.88V28.54A1.88,1.88,0,0,0,34.93,26.66ZM28.75,40l-5.77-9H34.52Z" class="cls-1"/><path d="M15.94,26.66H3.26a1.88,1.88,0,0,0-1.88,1.88V41.22A1.88,1.88,0,0,0,3.26,43.1H15.94a1.88,1.88,0,0,0,1.88-1.88V28.54A1.88,1.88,0,0,0,15.94,26.66ZM4.82,34.82l9-5.77V40.59Z" class="cls-1"/><path d="M56.07,28.54a1.88,1.88,0,0,0-1.88-1.88H41.51a1.88,1.88,0,0,0-1.88,1.88V41.22a1.88,1.88,0,0,0,1.88,1.88H54.19a1.88,1.88,0,0,0,1.88-1.88ZM43.84,40.45V28.92l9,5.77Z" class="cls-1"/></svg>
|
After Width: | Height: | Size: 1.2 KiB |
@ -1 +0,0 @@
|
||||
<svg id="_1" data-name="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><style>.cls-1{fill:#fff;}</style></defs><title>NEWSVG1</title><path class="cls-1" d="M98.59,60a6.7,6.7,0,0,0-6.7-6.7h0a6.68,6.68,0,0,0-5.05,2.31l-.07,0v-1a6.7,6.7,0,0,0-6.7-6.7h0a6.69,6.69,0,0,0-6.44,4.89V33a6.7,6.7,0,1,0-13.39,0V71A28.35,28.35,0,0,0,51.83,68,6.56,6.56,0,0,0,49.51,81c4.39.79,7.69,3.47,11.86,6.86,1.68,1.37,3.42,2.77,5.35,4.16A18.24,18.24,0,0,0,78.55,96.3h1.7A18.32,18.32,0,0,0,98.56,78Z"/><path class="cls-1" d="M34.93,8.11H22.25A1.88,1.88,0,0,0,20.38,10V22.67a1.88,1.88,0,0,0,1.88,1.88H34.93a1.88,1.88,0,0,0,1.88-1.88V10A1.88,1.88,0,0,0,34.93,8.11ZM23.2,20.26l5.77-9,5.77,9Z"/><path class="cls-1" d="M34.93,26.66H22.25a1.88,1.88,0,0,0-1.88,1.88V41.22a1.88,1.88,0,0,0,1.88,1.88H34.93a1.88,1.88,0,0,0,1.88-1.88V28.54A1.88,1.88,0,0,0,34.93,26.66ZM28.75,40l-5.77-9H34.52Z"/><path class="cls-1" d="M15.94,26.66H3.26a1.88,1.88,0,0,0-1.88,1.88V41.22A1.88,1.88,0,0,0,3.26,43.1H15.94a1.88,1.88,0,0,0,1.88-1.88V28.54A1.88,1.88,0,0,0,15.94,26.66ZM4.82,34.82l9-5.77V40.59Z"/><path class="cls-1" d="M56.07,28.54a1.88,1.88,0,0,0-1.88-1.88H41.51a1.88,1.88,0,0,0-1.88,1.88V41.22a1.88,1.88,0,0,0,1.88,1.88H54.19a1.88,1.88,0,0,0,1.88-1.88ZM43.84,40.45V28.92l9,5.77Z"/></svg>
|
Before Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 658 B |
Before Width: | Height: | Size: 1006 B |
@ -365,11 +365,11 @@ b();a.Lc({dispose:function(){},isDisposed:function(){return d}});return function
|
||||
try{
|
||||
s_a("pKhWu");
|
||||
|
||||
var s_Fwd={sUb:new s_jD("/logos/fnbx/snake_arcade/","end_audio",{DEATH:0,WIN:49},418)},s_Gwd={pUb:new s_iD(s_Fwd.sUb,"DEATH",626.939),WIN:new s_iD(s_Fwd.sUb,"WIN",914.286)},s_Hwd=function(){s_hD.call(this,s_Fwd,s_Gwd)};s_m(s_Hwd,s_hD);
|
||||
var s_AD={Hw:new s_jD("/logos/fnbx/snake_arcade/","game_audio.4",{BOX:0,DOWN:59,EAT:78,KEY:101,LEFT:132,PORTAL:151,REVERSE:212,RIGHT:273,UP:292},418)},s_BD={mGc:new s_iD(s_AD.Hw,"BOX",757.551),AFa:new s_iD(s_AD.Hw,"DOWN",235.102),qHc:new s_iD(s_AD.Hw,"EAT",287.347),EQc:new s_iD(s_AD.Hw,"KEY",391.837),LEFT:new s_iD(s_AD.Hw,"LEFT",235.102),wSc:new s_iD(s_AD.Hw,"PORTAL",783.673),TSc:new s_iD(s_AD.Hw,"REVERSE",783.673),RIGHT:new s_iD(s_AD.Hw,"RIGHT",235.102),UP:new s_iD(s_AD.Hw,"UP",235.102)},s_Iwd=function(){s_hD.call(this,
|
||||
var s_Fwd={sUb:new s_jD("/stack/","end_audio",{DEATH:0,WIN:49},418)},s_Gwd={pUb:new s_iD(s_Fwd.sUb,"DEATH",626.939),WIN:new s_iD(s_Fwd.sUb,"WIN",914.286)},s_Hwd=function(){s_hD.call(this,s_Fwd,s_Gwd)};s_m(s_Hwd,s_hD);
|
||||
var s_AD={Hw:new s_jD("/stack/","game_audio.4",{BOX:0,DOWN:59,EAT:78,KEY:101,LEFT:132,PORTAL:151,REVERSE:212,RIGHT:273,UP:292},418)},s_BD={mGc:new s_iD(s_AD.Hw,"BOX",757.551),AFa:new s_iD(s_AD.Hw,"DOWN",235.102),qHc:new s_iD(s_AD.Hw,"EAT",287.347),EQc:new s_iD(s_AD.Hw,"KEY",391.837),LEFT:new s_iD(s_AD.Hw,"LEFT",235.102),wSc:new s_iD(s_AD.Hw,"PORTAL",783.673),TSc:new s_iD(s_AD.Hw,"REVERSE",783.673),RIGHT:new s_iD(s_AD.Hw,"RIGHT",235.102),UP:new s_iD(s_AD.Hw,"UP",235.102)},s_Iwd=function(){s_hD.call(this,
|
||||
s_AD,s_BD)};s_m(s_Iwd,s_hD);
|
||||
var s_Jwd={cva:new s_jD("/logos/fnbx/snake_arcade/","poison_audio",{BURP:0,DIZZY_1:27,DIZZY_2:42,DIZZY_3:57,DIZZY_4:72,SQUISH:87},418)},s_CD={nGc:new s_iD(s_Jwd.cva,"BURP",339.592),gHc:new s_iD(s_Jwd.cva,"DIZZY_1",182.857),hHc:new s_iD(s_Jwd.cva,"DIZZY_2",182.857),iHc:new s_iD(s_Jwd.cva,"DIZZY_3",182.857),jHc:new s_iD(s_Jwd.cva,"DIZZY_4",182.857),Ujb:new s_iD(s_Jwd.cva,"SQUISH",470.204)},s_Kwd=function(){s_hD.call(this,s_Jwd,s_CD)};s_m(s_Kwd,s_hD);
|
||||
var s_DD=function(a,b,c){this.path=a;this.Aa=b;this.context=c;this.loaded=!1;this.Eo=new Image;this.Eo.crossOrigin="Anyonymous";this.wa=document.createElement("canvas").getContext("2d");this.oa=document.createElement("canvas").getContext("2d");this.Ca=this.Ba="";this.Ea=-1;s_Lwd(this)},s_Lwd=function(a){a.Eo.src="./assets/logos/fnbx/"+a.path;s_Ii(a.Eo,"load",function(){a.loaded=!0;s_Mwd(a);""!==a.Ba&&""!==a.Ca&&(s_ED(a,a.Ba,a.Ca,a.Ea),a.Ba="",a.Ca="",a.Ea=0)})},s_Mwd=function(a){a.wa.canvas.width=
|
||||
var s_Jwd={cva:new s_jD("/stack/","poison_audio",{BURP:0,DIZZY_1:27,DIZZY_2:42,DIZZY_3:57,DIZZY_4:72,SQUISH:87},418)},s_CD={nGc:new s_iD(s_Jwd.cva,"BURP",339.592),gHc:new s_iD(s_Jwd.cva,"DIZZY_1",182.857),hHc:new s_iD(s_Jwd.cva,"DIZZY_2",182.857),iHc:new s_iD(s_Jwd.cva,"DIZZY_3",182.857),jHc:new s_iD(s_Jwd.cva,"DIZZY_4",182.857),Ujb:new s_iD(s_Jwd.cva,"SQUISH",470.204)},s_Kwd=function(){s_hD.call(this,s_Jwd,s_CD)};s_m(s_Kwd,s_hD);
|
||||
var s_DD=function(a,b,c){this.path=a;this.Aa=b;this.context=c;this.loaded=!1;this.Eo=new Image;this.Eo.crossOrigin="Anyonymous";this.wa=document.createElement("canvas").getContext("2d");this.oa=document.createElement("canvas").getContext("2d");this.Ca=this.Ba="";this.Ea=-1;s_Lwd(this)},s_Lwd=function(a){a.Eo.src="./assets/"+a.path;s_Ii(a.Eo,"load",function(){a.loaded=!0;s_Mwd(a);""!==a.Ba&&""!==a.Ca&&(s_ED(a,a.Ba,a.Ca,a.Ea),a.Ba="",a.Ca="",a.Ea=0)})},s_Mwd=function(a){a.wa.canvas.width=
|
||||
a.Eo.width;a.wa.canvas.height=a.Eo.height;a.wa.clearRect(0,0,a.wa.canvas.width,a.wa.canvas.height);a.wa.drawImage(a.Eo,0,0);a.oa.canvas.width=a.Eo.width;a.oa.canvas.height=a.Eo.height;a.oa.clearRect(0,0,a.oa.canvas.width,a.oa.canvas.height);a.oa.drawImage(a.Eo,0,0)},s_ED=function(a,b,c,d){d=void 0===d?-1:d;if(a.loaded){s_Mwd(a);b=s_HSc(b);c=s_HSc(c);for(var e=0===b[2]?1:c[2]/b[2],f=a.wa.getImageData(0,0,a.wa.canvas.width,a.wa.canvas.height),g=f.data,h=0;h<g.length;h+=4)if(0<g[h+3]){var k=s_CSc(g[h],
|
||||
g[h+1],g[h+2]),l=Math.abs(k[0]-b[0]);180<l&&(l=360-l);l=0<=d&&l>=d;1>k[2]&&!l&&(k[0]=c[0],k[1]=c[1],k[2]*=e);k=s_ESc(k[0],k[1],k[2]);g[h]=k[0];g[h+1]=k[1];g[h+2]=k[2]}a.oa.putImageData(f,0,0)}else a.Ba=b,a.Ca=c,a.Ea=d};s_DD.prototype.render=function(a,b,c,d,e){this.loaded&&(this.context.translate(b.x,b.y),this.context.rotate(d),this.context.drawImage(this.oa.canvas,0,this.ld()*a,this.Dd(),this.ld(),c.x*e,c.y*e,this.Dd()*e,this.ld()*e),this.context.rotate(-d),this.context.translate(-b.x,-b.y))};
|
||||
s_DD.prototype.Dd=function(){return this.Eo.width};s_DD.prototype.ld=function(){return this.Eo.height/this.Aa};var s_FD=function(a){return a.wa.canvas};
|
||||
@ -380,9 +380,9 @@ threshold:10},{base:"#fc2d00",target:"#808080",threshold:10}],s_Swd="#4E7CF6 #54
|
||||
[];this.kva=0;this.yb=[];this.hj=!1;this.Ya=0;this.HRb=this.$k=!1;this.Ye=this.Vb=0;this.muted=!1;this.closed=!0;this.Yda=this.Ve=0;this.fW="";this.qR=this.xu=0;this.gW="";this.Wda=this.ticks=this.oR=this.Mf=this.Bx=this.qB=this.lR=this.Oc=0;this.aW=[];this.iHa=1;this.jHa=4;this.cW=10;this.zD=0;this.kkb=8;this.tgb=7;this.IK=0;this.lzb=6;this.yu=0;this.Ga={YL:0,YR:0,QJ:0,Hx:0,jt:!1,WQ:0,tV:0,zY:!1};this.Ja={YL:0,YR:0,QJ:0,Hx:0,jt:!1,WQ:0,tV:0,zY:!1};this.Uc=this.uc=this.pR=this.Rda=0;this.DTb=this.lva=
|
||||
!1;this.TYb=this.J_b=null;this.Ds=!1;this.wL=-1;this.yUb=this.getData("si").Cb(!1);this.hHa=new s_Iwd;this.gCb=new s_Hwd;this.rTb=new s_Kwd;this.Yc=a.service.Yc;this.Ek=new s_Sg(0,0);this.oa=new s_Sg(0,0);this.FUb=function(){};this.canvas=this.Da("UzWXSb").Vd();this.context=this.canvas.getContext("2d");this.zr=this.Da("kAVrAc").Vd();this.ii=this.zr.getContext("2d");this.Ca=s_Uwd();this.Cc=s_Uwd();this.Oa=s_Uwd();this.Oa.fillStyle="#000000";this.Iv=s_Uwd();this.Mn=s_Uwd();s_BA(this);this.dVc=new s_Is(document);
|
||||
s_i(this.dVc,"key",function(g){return b.PB(g)});s_i(this.getRoot().el(),"touchstart",function(g){return b.kE(g)});s_i(this.getRoot().el(),"touchmove",function(g){return b.nK(g)});s_i(this.getRoot().el(),"touchend",function(g){return b.yT(g)});this.Yc.addListener(function(){s_Vwd(b)});this.direction="NONE";this.Ra="RIGHT";this.Ab=this.wy="NONE";this.Sda=new s_Og(0,0);this.Ax=new s_Og(0,0);this.kb=new Set;this.Ib=new Set;this.Ze=new s_Og(0,0);this.X3=new s_Og(0,0);this.lW=new s_Og(0,0);this.vo=new Map;
|
||||
this.bW=new Set;this.yg=new Map;this.ECb=new Map;s_Wwd(this);this.Vi=s_Owd*s_Xwd(this);for(a=0;21>a;a++){var c=new s_DD("snake_arcade/v4/apple_"+((10>a?"0":"")+a)+".png",1,this.Ca),d=s_Rwd[a];s_ED(c,d.base,d.target,d.threshold);this.aW.push(c)}this.Em=new s_DD("snake_arcade/blink.png",9,this.Ca);this.ED=new s_DD("snake_arcade/eat.png",15,this.Ca);this.hz=new s_DD("snake_arcade/die.png",37,this.Ca);this.Es=new s_DD("snake_arcade/tongue.png",21,this.Ca);this.uJ=new s_DD("snake_arcade/effect.png",21,
|
||||
this.Ca);this.vf=new s_Og;this.cZb=new s_DD("snake_arcade/key_types.png",5,this.Ca);this.YZb=new s_DD("snake_arcade/key_types_dark.png",5,this.Ca);this.Zd=new s_DD("snake_arcade/v4/box.png",8,this.Ca);this.TJb=new s_DD("snake_arcade/blink.png",9,this.Ca);this.QZb=new s_DD("snake_arcade/eat.png",15,this.Ca);this.HZb=new s_DD("snake_arcade/die.png",37,this.Ca);this.TZb=new s_DD("snake_arcade/tongue.png",21,this.Ca);this.CTb=new s_DD("snake_arcade/blink.png",9,this.Ca);this.D_b=new s_DD("snake_arcade/eat.png",
|
||||
15,this.Ca);this.k_b=new s_DD("snake_arcade/die.png",37,this.Ca);s_ED(this.CTb,"#5282F2","#909090");s_ED(this.D_b,"#5282F2","#909090");s_ED(this.k_b,"#5282F2","#909090");this.Be=new s_DD("snake_arcade/end_empty.png",1,this.ii);this.Uda=new s_DD("snake_arcade/default_end.png",1,this.ii);this.iVc=new s_DD("snake_arcade/rainbow_end.png",1,this.ii);this.XUb=new s_DD("snake_arcade/gradient_end.png",1,this.ii);this.lCb=new s_DD("snake_arcade/v3/speed_01.png",1,this.ii);this.GTb=new s_DD("snake_arcade/v3/speed_02.png",
|
||||
this.bW=new Set;this.yg=new Map;this.ECb=new Map;s_Wwd(this);this.Vi=s_Owd*s_Xwd(this);for(a=0;21>a;a++){var c=new s_DD("apple_"+((10>a?"0":"")+a)+".png",1,this.Ca),d=s_Rwd[a];s_ED(c,d.base,d.target,d.threshold);this.aW.push(c)}this.Em=new s_DD("blink.png",9,this.Ca);this.ED=new s_DD("eat.png",15,this.Ca);this.hz=new s_DD("die.png",37,this.Ca);this.Es=new s_DD("tongue.png",21,this.Ca);this.uJ=new s_DD("effect.png",21,
|
||||
this.Ca);this.vf=new s_Og;this.cZb=new s_DD("key_types.png",5,this.Ca);this.YZb=new s_DD("key_types_dark.png",5,this.Ca);this.Zd=new s_DD("box.png",8,this.Ca);this.TJb=new s_DD("blink.png",9,this.Ca);this.QZb=new s_DD("eat.png",15,this.Ca);this.HZb=new s_DD("die.png",37,this.Ca);this.TZb=new s_DD("tongue.png",21,this.Ca);this.CTb=new s_DD("blink.png",9,this.Ca);this.D_b=new s_DD("eat.png",
|
||||
15,this.Ca);this.k_b=new s_DD("die.png",37,this.Ca);s_ED(this.CTb,"#5282F2","#909090");s_ED(this.D_b,"#5282F2","#909090");s_ED(this.k_b,"#5282F2","#909090");this.Be=new s_DD("end_empty.png",1,this.ii);this.Uda=new s_DD("default_end.png",1,this.ii);this.iVc=new s_DD("rainbow_end.png",1,this.ii);this.XUb=new s_DD("gradient_end.png",1,this.ii);this.lCb=new s_DD("speed_01.png",1,this.ii);this.GTb=new s_DD("speed_02.png",
|
||||
1,this.ii);this.$Uc="./assets/volume_up_white_24dp.png";this.RUc="./assets/volume_off_white_24dp.png";this.vy=s_ID[0][0];this.ugb=s_ID[0][1];this.T8=new s_Og(0,0);s_C(this.Da("y7GBZ").el(),"visibility","hidden");this.Gc="score";a=this.Da("wXSCdb").el();c=[];for(d=0;d<a.children.length;d++){var e=a.children[d];if(0<e.children.length){e=s_g(e.children);for(var f=e.next();!f.done;f=e.next())if(f=f.value,""!==f.id){c.push(f);
|
||||
break}}}this.jd={E2a:-1,fxa:new s_Og(0,0),afa:new s_Og(0,0),Vra:null,eJ:0<c.length?c[0]:document.createElement("div"),eZ:-1,dF:new s_Og(0,0),Odb:new Map,targetY:45,Mha:new s_Og(0,0),rows:c,bsa:new Map};a=s_g(this.jd.rows);for(f=a.next();!f.done;f=a.next())c=f.value,this.jd.bsa.set(c.id,c);s_Ywd(this,this.jd.eJ);s_fe||s_Fc("snake.speedrun",function(){s_Zwd(b)});this.yUb&&(this.dpa(),this.g6())};s_m(s_JD,s_k);s_JD.Fa=function(){return{service:{Yc:s_hk}}};s_=s_JD.prototype;s_.yjd=function(){return this.Zk};
|
||||
s_.ffd=function(){return this.xu};s_.Eqd=function(){return this.Ib};s_.Pdd=function(){return this.kb};s_.mhd=function(){return this.Vb};s_.God=function(){return this.Ye};s_.jjd=function(){return this.keys};s_.Rmd=function(){return this.Db};s_.Eld=function(){return this.Pb};s_.qfd=function(){return 256};s_.gdd=function(){return this.Aa};s_.Bkd=function(){return this.jd};s_.jld=function(){return this.lR};s_.C$=function(){return this.canvas};s_.hed=function(){return this.wa};s_.lld=function(){return this.oR};
|
||||
@ -560,4 +560,4 @@ s_a("ws9Tlc");
|
||||
s_b();
|
||||
|
||||
}catch(e){_DumpException(e)}
|
||||
// Google Inc.
|
||||
// Google Inc.
|
@ -135,7 +135,7 @@ var s_6ob=function(a){s_5i.call(this);this.yc=a;a=s_be?"focusout":"blur";this.oa
|
||||
}catch(e){_DumpException(e)}
|
||||
try{
|
||||
/*
|
||||
|
||||
3kh0.github.io
|
||||
Copyright The Closure Library Authors.
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 1005 B After Width: | Height: | Size: 1005 B |
Before Width: | Height: | Size: 323 B After Width: | Height: | Size: 323 B |
Before Width: | Height: | Size: 285 B After Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 342 B After Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 676 B After Width: | Height: | Size: 676 B |
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 658 B |
Before Width: | Height: | Size: 405 B After Width: | Height: | Size: 405 B |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 838 B After Width: | Height: | Size: 838 B |
Before Width: | Height: | Size: 608 B After Width: | Height: | Size: 608 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 933 B After Width: | Height: | Size: 933 B |
Before Width: | Height: | Size: 532 B |
BIN
snake/img/snake.png
Normal file
After Width: | Height: | Size: 4.9 KiB |
1299
snake/index.html
@ -41,6 +41,7 @@
|
||||
<header>
|
||||
<a href="/index.html">Home</a>
|
||||
<a href="/bookmarklets.html">Bookmarklets</a>
|
||||
<a href="/projects.html">Games</a>
|
||||
<a href="/settings.html">Settings</a>
|
||||
<a href="/support.html">Support</a>
|
||||
|
||||
|
@ -41,6 +41,7 @@
|
||||
<header>
|
||||
<a href="/index.html">Home</a>
|
||||
<a href="/bookmarklets.html">Bookmarklets</a>
|
||||
<a href="/projects.html">Games</a>
|
||||
<a href="/settings.html">Settings</a>
|
||||
<a href="/support.html">Support</a>
|
||||
|
||||
|