Jstris skins

Jstris skins DEFAULT

replay也换成C2皮肤[Jstris][油猴脚本]俄罗斯方块

  • //==UserScript==

  • //@name         C2 Skin & replay Skin

  • //@include      *jstris*

  • //@grant        none

  • //==/UserScript==

  • if(window.WebGLView!=undefined){

  • WebGLView['prototype']['initGLContext'] = function(cmain){

  • cmain['gl']=WebGLUtils['getWebGLcontext'](cmain['elem']);

  • cmain['program']=WebGLUtils['createProgram'](cmain['gl'],this['shaders']);

  • cmain['m4']=new Float32Array(16);

  • var gl=cmain['gl'],

  • cprogram=cmain['program'];

  • gl['useProgram'](cprogram);

  • cmain['positionLocation']=gl['getAttribLocation'](cprogram,'a_position');

  • cmain['texcoordLocation']=gl['getAttribLocation'](cprogram,'a_texcoord');

  • cmain['matrixLocation']=gl['getUniformLocation'](cprogram,'u_matrix');

  • cmain['textureMatrixLocation']=gl['getUniformLocation'](cprogram,'u_textureMatrix');

  • cmain['globalAlpha']=gl['getUniformLocation'](cprogram,'globalAlpha');

  • gl['uniform1f'](cmain['globalAlpha'],1);

  • cmain['positionBuffer']=gl['createBuffer']();

  • gl['bindBuffer'](gl.ARRAY_BUFFER,cmain['positionBuffer']);

  • var push1=[0,0,0,1,1,0,1,0,0,1,1,1];

  • gl['bufferData'](gl.ARRAY_BUFFER,new Float32Array(push1),gl.STATIC_DRAW);

  • cmain['texcoordBuffer']=gl['createBuffer']();

  • gl['bindBuffer'](gl.ARRAY_BUFFER,cmain['texcoordBuffer']);

  • var push2=[0,0,0,1,1,0,1,0,0,1,1,1];

  • gl['bufferData'](gl.ARRAY_BUFFER,new Float32Array(push2),gl.STATIC_DRAW);

  • cmain['textureInfos']=[];

  • cmain['boundBuffers']=false;

  • cmain['boundTexture']=null;

  • gl.enable(gl.BLEND);

  • gl.blendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA);

  • this['initEmptyTexture'](cmain,0);

  • this['initEmptyTexture'](cmain,1);

  • this['initRedbarTexture'](cmain,2)};}

  • /*以下皮肤可套用也可修改自制Community Skins:

  • https://i.imgur.com/XIUXVdQ.png - size 32, Cultris 2 Guideline Skin ported by Lexitik

  • https://i.imgur.com/5GQtvNq.png - size 32, Cultris 2 Default Skin ported by Lexitik

  • https://i.imgur.com/UyyJ5wA.png - size 32, Terraria GemSparks Skin ported by Lexitik

  • https://i.imgur.com/qfNqrer.png - size 32,

  • https://imgur.com/I2bQQmx.png - size 72, TF Hearts ported by freyhoe

  • https://imgur.com/AXmkUf5.png - size 32, Original by thickBut

  • https://i.imgur.com/SXofYhh.png - size 32, Original reskin by sinewave

  • https://imgur.com/63GaAvd.png - size 24, TF Classic port by thickBut

  • https://imgur.com/gIvjYdH.png - size 24, TF Chocolate ported by Lythine

  • https://imgur.com/k00Iirh.png - size 24, TF Fusion ported by Lythine*/

  • const skinURL="https://i.imgur.com/XIUXVdQ.png"

  • const skinSize = 32

  • // use WebGL option on jstris by by freyhoe

  • Sours: https://www.bilibili.com/read/cv12240268?from=articleDetail
    Just a quick repost of what I saw in the Jstris Discord. There are userscript managers for browsers, e.g. Tampermonkey extension for Chrome or Greesemonkey extension for Firefox. With those userscript managers you can change the appearance of Jstris, e.g. using a block skin of your choice or adding a background image.

    The following script adds a Puyo Puyo background image and uses Puyo Puyo Tetris blockskin:

    CODE

    // ==UserScript==
    // @name         Jstris Mods
    // @namespace    http://tampermonkey.net/
    // @version      0.1
    // @description  try to take over the world!
    // @author       You
    // @match        https://*.jstris.jezevec10.com/*
    // @grant        none
    // ==/UserScript==

    (function() {
        'use strict';
        window.addEventListener('load', function(){
            //Jstris Custom Background Image
            document.head.getElementsByTagName("style")[0].innerHTML="";
            document.body.style.backgroundImage="url('https://media.discordapp.net/attachments/
                360554528556449795/361706190406680576/d29d4205-1f9e-4c85-8a5b-3f573e55b5f4.png')";
            document.body.style.backgroundSize="100%";
            document.getElementById("app").style.backgroundColor="rgba(0, 0, 0, 0.8)";
            document.getElementById("app").style.height="1000px";

            //Jstris Block Skin Change
            loadSkin("https://i.imgur.com/G6WbXoD.png",32);
        });
    })();



    The following script moves the previews down by 48 pixels and reduces the preview queue to 2 pieces (I use that for Sprint):

    CODE

    (function() {
        'use strict';
        window.addEventListener('load', function(){
            document.getElementById("rstage").style.marginTop="48px";
            document.getElementById("queueCanvas").height="160";
            document.getElementById("sprintInfo").style.marginTop="120px";
            loadSkin("https://i.imgur.com/G6WbXoD.png",32);
        });
    })();

    Sours: https://harddrop.com/forums/index.php?showtopic=7087&st=120
    1. How to jailbreak comcast box
    2. Stickley furniture nyc
    3. Lower township municipal

    I’ve always enjoyed Tetris, and over the years across various platforms I’ve gotten fairly respectable at it. I have a distinct memory of being roughly five years old, my older cousins playing Tetris on an NES, and refusing to let me join because I was “too young”. I wonder sometimes if I initially took it up out of spite in response. As various consoles and cartridges came and went I’ve had a lot of incarnations of Tetris, and then several years ago, when Facebook was a mecca of bullshitty browser-based micro-transactional time-gated friend-harassing casual games, I found Tetris Online, Inc’s Tetris Friends. In what seemed like a fairly short period of time, I hit that point where, like the tragic man too good at fighting game to enjoy playing against friends but not good enough to play competitively, everyone I knew refused to play with me anymore. I do my best to be a gracious winner, but in a few weeks’ time I was down to doing 40 line sprints in about 1:15 (at the turn of the century that would’ve been a world-record time, but by 2009 your world-class players were down to 25-30 seconds with custom clients) and once the novelty of watching my replays wore off (a friend once came over and asked me to play a game in person, so they could watch my hands – I felt a little bit flattered and a little bit like a sideshow attraction), it understandably made me an unappealing opponent. I wish I’d thought to screencap my records back then – I think my very best time was 0:58 – but I foolishly assumed Tetris Friends would be around forever. I do remember on the global leaderboards, though, I was in the top 1% – probably because players any more serious than me were busy with Lockjaw and later NullpoMino, although I didn’t know anything about those at the time. Tetris Friends’ successor, Tetris Battle, never really managed to hold my attention, and when Tetris Friends was removed from Facebook in 2012 I stopped playing.

    I’m sure in the interim I’ve played a game here and there on my venerable old Gameboy Advance, but I’ve discovered that, like a lot of games, I really prefer playing Tetris with a computer keyboard. In October of 2019, in the mood for a PC version of Tetris, I wondered what had happened to Tetris Friends. I was disappointed to find out Tetris Online, Inc had ceased all operations just a few months before – Tetris Friends had been permanently shuttered. In looking for a replacement, I discovered Jstris, a browser-based unofficial Tetris client built in Javascript and HTML5. It’s my first client with things like customizable auto-repeat, it’s snappy and lightweight, and it has a very active community (including some especially talented players with 16-second sprint times). Over the last few months I’ve been whittling my times down again – I’m usually right around 1:30 now, but I’ve managed to get a few 2-second-per-line games. I think I’m about as fast as I’m going to get without taking the time to really perfect my finesse and movement strategy – but I’ll be honest, I don’t know that I’ve got the desire and discipline to do that. I’m not certain professional-level competitive Tetris is exactly what I want to dedicate my life to. But even with only my enthusiast-level skills, I feel like I’ve been reaping some benefits from the recent rekindling of interest.

    A concept that’s entered the collective awareness by way of Buddhist philosophy is the xinyuan, or “monkey mind”. The idea that there is a part of our consciousness that is restless, flighty. It swings from one thing to another the way a monkey swings through branches. It chatters endlessly, distracting us from more meaningful thought. Buddhist wisdom teaches that to be at peace you’ve got to learn to train this mind-monkey – not cage it, that just makes the chattering worse – but guide it. Meditation is giving the monkey something shiny to focus on, assigning it a task to do, so that it stops aimlessly hopping from one trivial thing to another. Or at least that’s how I understand it – you want a monk, go to Tibet.

    I became aware of the mind-monkey in conjunction with learning about mindfulness. It may be unconventional, but returning to Tetris now after having practiced mindfulness meditation over the last few years makes me realize that a game of Tetris often feels very similar to a meditative state. According to a recent article in the Wall Street Journal, I’m not the only one. At least one study would seem to corroborate that Tetris has a stress-relieving effect, and it may even be an effective method for managing the symptoms of PTSD.

    It’s not an effect I’ve noticed consistently with any other video game. It’s different than the immersive nature of a really engrossing game – that makes you almost oblivious to your surroundings, it takes you out of your own body and mind to an extent. In contrast, with this “Tetris-induced meditation” (medi-tet-ion?) you’re very much still present, but occupied. I mentioned when I wrote about my Soundscape mod for World of Warcraft that the repetitive nature of grinding or farming trivial content could approach something nigh-meditative at times, but I think in a game like that there’s too many distractions for it to happen often. Which, don’t get me wrong, isn’t a bad thing – it’d be boring otherwise, and games are entertainment, not some metaphysical practice or neurochemical aid. But that’s maybe part of the magic of Tetris – the gameplay is repetitive in concept, but endlessly variable. It requires continual, rapid-fire, split-second flashes of problem-solving but these happen so quickly (at least once you’re at a point you’re doing multiple piece placements per second) it feels almost reflexive. As someone that experiences it regularly, that meditative experience feels like something to do with the perpetual state of not-quite-conscious thought. Or at least that’s my guess; you want a neuroscientist, go to University of California at Irvine’s Department of Psychiatry and Human Behavior in 1991 where Richard Haier scanned the brains of Tetris players and found out Tetris whips up all kinds of neat neurojuju – it may even make you smarter.

    That, ultimately, is what I’ve really been enjoying about it for the last few months. A game of 40-line sprint is like a cigarette break for my mind-monkey. When I’m stressed or frustrated or overwhelmed, it’s one of the more effective ways I’ve found to get a time-out – at least that you can do in public without getting arrested. If I get really blazing fast and set some world records and go pro, well, I mean, I wouldn’t mind – but that’s not the motivation.

    In appreciation, I wanted to contribute a little to the Jstris community, so I created a block skin for their 2020 design competition. I call it “subDude” – named for the more subdued colors as opposed to the existing skins.

    If you’re a Jstris player, I’d appreciate you . If you’re not, I highly recommend trying it out.

    UPDATE 2/19: My skin wasn’t chosen as one of the winners, but I came in 17th out of over a hundred entries, so that’s pretty neat.

    Sours: http://owlmoth.net/matt/415/jstris-custom-skin-subdude/
    Jstris skin test

    Dinir/Jstris-loadCustomSkin.user.js

    // ==UserScript==// @name Jstris Custom Skin Loader// @namespace http://tampermonkey.net/// @downloadURL https://gist.githubusercontent.com/Dinir/023cebc82d20cc06d0a790acf374d337/raw/3c7377b2948201a41090deddf1d6972bc131acba/Jstris-loadCustomSkin.user.js// @version 1.2// @match https://*.jstris.jezevec10.com/*// @grant none// @run-at document-end// @description Loads a custom skin to Jstris.// @author Dinir Nertan// @homepage https://dinir.works// @icon https://i.imgur.com/FKXEPIn.png// ==/UserScript==// Run this script at 'document-end'. You can set it in 'Settings' tab next to 'Editor'.(function(){'use strict'// store other skins in this manner: `name: ['address', size],`.constfavSkins={mf: ['https://i.imgur.com/t29rjjK.png',24],bs48: ['https://i.imgur.com/8Fo3afG.png',32],}// Define paths for your custom skin here.constcustomSkinPath={bgImage: null,bgColor: null,bgColorHeight: '1000px',// type either `favSkins.name` or `['address', size]`.blockSkinAndSize: favSkins.bs48,ghostBlockSkinAndSize: [null,null]}constisArrayAndHasItem=instance=>Array.isArray(instance)&&instance.some(v=>v!==null)constloadCustomSkin=()=>{if(customSkinPath.bgImage){document.body.style.backgroundImage=`url(${customSkinPath.bgImage})`document.body.style.backgroundSize='100%'}if(customSkinPath.bgColor){document.getElementById("app").style.backgroundColor=customSkinPath.bgColordocument.getElementById("app").style.height=customSkinPath.bgColorHeight}// if (typeof loadSkin !== 'undefined') {if(isArrayAndHasItem(customSkinPath.blockSkinAndSize)){loadSkin(customSkinPath.blockSkinAndSize[0],customSkinPath.blockSkinAndSize[1])}if(isArrayAndHasItem(customSkinPath.ghostBlockSkinAndSize)){loadGhostSkin(customSkinPath.ghostBlockSkinAndSize[0],customSkinPath.ghostBlockSkinAndSize[1] ?customSkinPath.ghostBlockSkinAndSize[1] :customSkinPath.blockSkinAndSize[1])}// }}window.addEventListener('load',loadCustomSkin)})()
    Sours: https://gist.github.com/Dinir/023cebc82d20cc06d0a790acf374d337

    Skins jstris

    .

    20 Combo Perfect Clear - Jstris Combo Melody

    .

    You will also be interested:

    .



    637 638 639 640 641