I tried to make Tetris in Scratch

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 มิ.ย. 2024
  • It's here if you want to try it:
    scratch.mit.edu/projects/9946...
    Music used:
    "Inevitable" by Diamond Ortiz
    "Marty Gots a Plan" by Kevin MacLeod
    "Monkeys Spinning Monkeys" by Kevin MacLeod
    "File Select" from Super Mario 64
    "The Builder" by Kevin MacLeod
    "Sneaky Adventure" by Kevin MacLeod
  • เกม

ความคิดเห็น • 236

  • @aaron.s1531
    @aaron.s1531 หลายเดือนก่อน +113

    In my computer class, im making an inscryption style card game. Scratch is a funny little thing.

    • @funkymoss
      @funkymoss หลายเดือนก่อน +7

      i love inscryption!! can you give me an update when you release it?

    • @aaron.s1531
      @aaron.s1531 หลายเดือนก่อน +6

      @@funkymoss sure man!

    • @aaron.s1531
      @aaron.s1531 หลายเดือนก่อน

      @@funkymossIts done enough for what I need now lol, my account name is this_is_a_name_yes
      Its called Performance task (inscryption style card game)
      Note: its INSPIRED by inscryption, i did NOT do a good job modeling after it lmao.
      Other note: Don’t speak with the book, it might get ideas…
      It will likely receive updates, as there are only 10 cards, half yours, half not.

    • @parali30
      @parali30 10 วันที่ผ่านมา

      ​@@funkymossi hope he didnt forgor

  • @idzwakey8737
    @idzwakey8737 หลายเดือนก่อน +76

    4:26 could of used the set rotation style block and changed it to dont rotate

    • @Upside-out
      @Upside-out หลายเดือนก่อน +3

      I was about to say that

    • @gamezboi_
      @gamezboi_ หลายเดือนก่อน +8

      "could of"

    • @Siuozl
      @Siuozl 28 วันที่ผ่านมา

      EXACTLY

    • @YourLocalGrammarPolice
      @YourLocalGrammarPolice 8 วันที่ผ่านมา +1

      Could ‘of’ used change x by and change y by

    • @Siuozl
      @Siuozl 6 วันที่ผ่านมา

      @@YourLocalGrammarPolice nah u can’t cuz that’s not what he’s doin

  • @DSMusicParodies
    @DSMusicParodies หลายเดือนก่อน +33

    btw, if u add multiple when flag clicked blocks, both run when flag clicks, allowing some scripts to be seperate from "wait" blocks in the forever loop of the other chain of blocks. this helps with things like snappy-ness.

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน +3

      Oh wow! That's neat!

    • @flameofthephoenix8395
      @flameofthephoenix8395 26 วันที่ผ่านมา

      @@XenonNeko Additionally you can use DaysSince2000 to create your own wait blocks which is a better alternative, and if you're worried that the wait blocks have more precise timing, they don't. Though, you'll have to multiply DaysSince2000 by 86,400 to get the value in seconds.

    • @ego-lay_atman-bay
      @ego-lay_atman-bay 14 วันที่ผ่านมา +4

      Except you can run into sync issues. That's why many lot of scratch games use only 1 green flag clicked block (even griffpatch uses 1).

  • @flameofthephoenix8395
    @flameofthephoenix8395 25 วันที่ผ่านมา +7

    3:30 That is indeed one of the most useful blocks.

  • @lpinf
    @lpinf 28 วันที่ผ่านมา +17

    Just wanted to let you know, the forever loop isn't ONLY a forever loop, but it also yields for other "threads" once the end of the loop is reached (if you put multiple flag clicked blocks for example, those scripts would then get processing time), and automatically waits for the next frame. This means loops are capped to 30 fps by scratch itself, so you don't have to do any timing work ! The only way to prevent this is to create a function (define block) with the "run without screen refresh" option on.

    • @ego-lay_atman-bay
      @ego-lay_atman-bay 14 วันที่ผ่านมา +1

      Well, scratch does cap it to 30 fps, but that doesn't mean lag can't happen. Using delta time is much better. Plus, this also caps the fps on turbowarp, which can run scratch projects at higher fps, as high as 256 (but usually just 60).

    • @lpinf
      @lpinf 14 วันที่ผ่านมา

      @@ego-lay_atman-bay Delta time is obviously superior, and for that, the `days since 2000` block actually is pretty cool if you want multiple timers (to avoid using the `timer` value which can be used for stop detection).
      It can get really precise, being a floating point number ! For small projects though? you aren't gonna lag scratch much, so it's fine.

    • @breakdanc3
      @breakdanc3 4 วันที่ผ่านมา +1

      I’ve always found that scratch runs on 32fps, but 23 on Firefox. Maybe it’s 24 because my fps project isn’t that good lol

  • @Leognml
    @Leognml หลายเดือนก่อน +26

    dude this is like your second time using scratch ever and your way better then me

    • @Eeeeeeeee75282
      @Eeeeeeeee75282 หลายเดือนก่อน +7

      that’s because he has coding experience in other coding softwares, Scratch is like an easier version of any other coding software

  • @Lu9_ST
    @Lu9_ST หลายเดือนก่อน +11

    the funny thing is, one of the sample projects that would COME with scratch (the very old 1.x versions for windows) was in fact a Tetris clone. It had levels and speed-up I think, but otherwise it looked far more boring visually, so I'll still say yours is better, lol
    (but also old Scratch had less to work with i.e. you couldn't create and define your own blocks/functions)

  • @PersonOverHeaven
    @PersonOverHeaven หลายเดือนก่อน +107

    2 words USE CLONE

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน +27

      I personally feel that stamping is more efficient for tiles on a grid

    • @PersonOverHeaven
      @PersonOverHeaven หลายเดือนก่อน +19

      @@XenonNekobut with clones are way less complicated and can use the if touching blocks in sensing and rotate using movement blocks instead of all that math stuff and code

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน +17

      ​@@PersonOverHeaven True. I'm definitely not used to the way things are done in Scratch 😂

    • @flameofthephoenix8395
      @flameofthephoenix8395 25 วันที่ผ่านมา +10

      @@XenonNeko Clones are easier, but not really the best for rendering, stamping is generally optimal, however clones do have their use case. Generally, clones are best used as extra data storage because if you make a list that is "For this sprite only" then clones will have their own separate version of the list that has different values, this is useful if you are storing a lot of data that can't fit on a regular list that only has 200,000 maximum items, though there is also a maximum of 300 clones so there is that to consider too.

    • @snezitko
      @snezitko 25 วันที่ผ่านมา +3

      ​@@XenonNeko most things on grid that need collision detection are generally better with lists than using clones because the touching block is a lot slower than the check a thing in the list blocks.

  • @alexside5153
    @alexside5153 หลายเดือนก่อน +6

    I love this video, and how it explains how scratch works. Most youtubers just try to make fun of it and say "How limited it is" but you described it very well in a way that makes it seem more like a game engine, which is what it is. Even if it is for kids, it does it's job very well, and i have been using scratch for years with no issues.

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน +1

      Thank you!

    • @ego-lay_atman-bay
      @ego-lay_atman-bay 14 วันที่ผ่านมา +3

      I have been using scratch for many years, and love it so much, but I still don't say it's a game engine. It's way more inline with regular programming than a game engine. A game engine usually takes care of physics and more, but scratch just gives you the basic tools. Scratch does have moving in a direction, but that's already a common programming concept, turtle graphics.

  • @gho9679
    @gho9679 วันที่ผ่านมา +1

    I loved the vibes in this video. I couldn't follow along the actual makig process very well since I don't know much about programming or scratch, but it was still a great watch! Keep it up gamer

  • @goofynaas204
    @goofynaas204 หลายเดือนก่อน +6

    This is a pretty good project! I was so happy when you switched to the delta time method.

  • @bloxking7407
    @bloxking7407 หลายเดือนก่อน +7

    AWESOME!

  • @muodyadept4447
    @muodyadept4447 10 วันที่ผ่านมา +2

    I dont understand programming, and i have no idea why this vid popped up in my recommended. But this was fun to watch xD

  • @flameofthephoenix8395
    @flameofthephoenix8395 26 วันที่ผ่านมา +3

    1:13 In my opinion, it's best not to use triangles, 3d rendering doesn't need triangles, any illusion will do, and bill-boarding is an illusion. But, there's more you can do, like if you want to render a 3d line you can project the two points onto the screen then put your 2d image in-between the two points, scale it to fit between the two points, and rotate it to match the slope of the line.

  • @arsen4k
    @arsen4k 2 วันที่ผ่านมา +1

    14:30 cuz object wants to go beyond the screen, but scratch does not allow this and therefore moves the figure a little to the other side, but part of the figure remains behind the visible part ((for example, when a shape is rotated near the side of the screen, there is a chance that its coordinates will change, especially if they are J and L shapes and their long parts go beyond the screen)

  • @ClaramayNivetta
    @ClaramayNivetta 4 วันที่ผ่านมา +1

    i think it would've been cool to see the process behind implementing other game mechanics such as SRS, T-spin line clears, and back-to-back. you can most likely find more info about this by looking at tetris wikis and things, so i'll spare the details, though i still think it would be neat to see someone show the thought process behind programming those mechanics into the game

  • @flameofthephoenix8395
    @flameofthephoenix8395 26 วันที่ผ่านมา +2

    3:00 You can recolor with the color effect block, however getting the colors you actually want is tricky.

  • @gaimnbro9337
    @gaimnbro9337 18 วันที่ผ่านมา +3

    Good job! I've been using scratch for years...and I can't even fathom how to make Tetris

  • @flameofthephoenix8395
    @flameofthephoenix8395 26 วันที่ผ่านมา +2

    3:15 With that nice black background it should make recoloring your sprites easy, to change the color of the sprite you set the color effect to double the value you want it to be, to get the saturation you set brightness effect to one hundred minus the value you want your saturation to be, and to get the brightness effect you set the ghost effect to one hundred minus the value you want for brightness. I may have gotten some of the mathematics wrong since I haven't needed to use this in a while, but that is the overall gist. Unfortunately using ghost effect for brightness makes it hard to then have actual ghost effect.

  • @EktoAnim
    @EktoAnim หลายเดือนก่อน +8

    4:43 there's a block in the motion tab that lets you set the visual rotation style to only left and right. It might also have a setting to stop visual rotation completely but i'm not sure

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      I wish I would have known about this sooner!

    • @iankim5395
      @iankim5395 หลายเดือนก่อน

      yes that is true

    • @ThePianoTutorialGuy
      @ThePianoTutorialGuy หลายเดือนก่อน

      whats the song at this part

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      @@ThePianoTutorialGuy "File Select" from Super Mario 64

    • @ThePianoTutorialGuy
      @ThePianoTutorialGuy หลายเดือนก่อน

      Thanks man

  • @fabiandoll1385
    @fabiandoll1385 หลายเดือนก่อน +3

    Bro you are making amazing content.
    Thats the First Video i have Seen of you, and i would have guessed that you Channel would be much bigger

  • @OmarEssawyGD
    @OmarEssawyGD 18 วันที่ผ่านมา +2

    for your first time making an actual project on scratch, you did good

  • @oklyok
    @oklyok หลายเดือนก่อน +7

    there's a block where you can turn the sprite technically but not visually

  • @WolfGubbelmans
    @WolfGubbelmans หลายเดือนก่อน +7

    4:40 YOU HAVE A BLOCK THAT CANCELS VISSABLE ROTATION

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      I found out too late

  • @merkymerc
    @merkymerc 10 วันที่ผ่านมา +2

    latin nerd here, tetris is a 3rd-declension noun meaning the plural would be tetrēs!

  • @Wooolllyyy
    @Wooolllyyy 25 วันที่ผ่านมา +3

    You are now Griffpatch

  • @playd43
    @playd43 หลายเดือนก่อน +3

    Adding a score is easy, just add a score variable and increase it every time you clear a line, and also add a top score cloud variable or a leaderboard.

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      Definitely! Although I'd want the game to control a lot better before I felt right attaching scores to it.

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      Since I was already there, I went ahead and added score and levels and speed increase (No leaderboard yet, though).

    • @playd43
      @playd43 หลายเดือนก่อน +1

      @@XenonNeko nice :) this project is pretty cool btw

  • @flameofthephoenix8395
    @flameofthephoenix8395 25 วันที่ผ่านมา +1

    Alright, next I expect you'll be trying machine code, the best of all worlds, there will be no strange decisions from Unity, no weird block-based limitations, and a lot of time and effort spent.

  • @jeffdadaggoYT
    @jeffdadaggoYT 18 วันที่ผ่านมา +1

    No rotating idea: just switch the sprite's rotation style to don't rotate it can still move as usual, but you don't have to worry about the game getting messed up because of a rotated block

  • @Redfishvr124
    @Redfishvr124 หลายเดือนก่อน

    You are so underrated! It looks very good :)

  • @jackcomas
    @jackcomas หลายเดือนก่อน +7

    Do not rotate mode: exist
    This dude:
    I don’t care about losing that heart so I’m here to say that this comment have no intention of hating him, his work is pretty incredible to do in Scratch from scratch.

    • @haoyuzhang4626
      @haoyuzhang4626 หลายเดือนก่อน

      Yes, he’s not that good

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      Lol joke's on you I rehearted it (also thanks!)

  • @ryanwoon3534
    @ryanwoon3534 หลายเดือนก่อน +4

    Awww yeaahhh!!! New video!!!

  • @-Deni-vu2ky
    @-Deni-vu2ky หลายเดือนก่อน +1

    [Funfact]: in scratch the [ Change [ Color ] by ( Number ) ] block doesn't work with Black/White sprites exactly why some people make the base sprite Red (mainly) or other colors!

  • @strawsquash
    @strawsquash 7 วันที่ผ่านมา +1

    This video is 10000x better cos of the crave gaming music

    • @strawsquash
      @strawsquash 7 วันที่ผ่านมา +1

      Not to say it’s bad otherwise. It was a great video

  • @Starock10
    @Starock10 หลายเดือนก่อน +2

    I love Scratch!

  • @username-ur6dq
    @username-ur6dq หลายเดือนก่อน +2

    17:15 Here, he obviously means desmos

  • @Joni.Sandy-DE
    @Joni.Sandy-DE หลายเดือนก่อน +4

    Geometry dash players be like

    • @TheRazeYT
      @TheRazeYT 23 ชั่วโมงที่ผ่านมา

      Didn't get the joke, but whatever. You meant about the cubes, right?

  • @DDAWG24657
    @DDAWG24657 23 วันที่ผ่านมา +1

    Him: *Sub Boards*
    Scratch: *Don't Rotate*

    • @mohammedzeyton
      @mohammedzeyton 5 วันที่ผ่านมา

      nah, he used lists, while using a game loop and a simple stamp render. so this isnt as simple as you expect lmao

  • @just_mr_mikl
    @just_mr_mikl 17 วันที่ผ่านมา +1

    7:54 what a coincidence, scratch already runs at 30 frames per second.

  • @bucket-hb3td
    @bucket-hb3td หลายเดือนก่อน +1

    i made a whole ping pong game in scratch when i was a 4th grader

  • @mohammedzeyton
    @mohammedzeyton 5 วันที่ผ่านมา

    im recreating mario 64 in scratch lol, but it was nice watching this haha. good job

  • @thestormcrafter
    @thestormcrafter 12 วันที่ผ่านมา +2

    Äh, you know that forever runs at 30 tps?
    Every loop in Scratch does that unless it takes too long to go through the loop.

  • @user-ru4bb2cg2c
    @user-ru4bb2cg2c หลายเดือนก่อน +1

    ya know you are actually better than me at scratch... nice job

  • @flameofthephoenix8395
    @flameofthephoenix8395 25 วันที่ผ่านมา

    6:04 Oh wow, that looks interesting. If I remember correctly, I just stored a sheet that included every rotation and piece, but that might have been on Excel now that I think about it.

  • @ego-lay_atman-bay
    @ego-lay_atman-bay 14 วันที่ผ่านมา +2

    7:51 oh, by the way, scratch runs at 30 fps (unless you use turbowarp).

  • @PiGuy06
    @PiGuy06 29 วันที่ผ่านมา +1

    I'm making Tetris in Scratch right now. I'm "play testing" it more than I'm working on it 😅

  • @debankanthegreat6096
    @debankanthegreat6096 หลายเดือนก่อน +1

    Amazing!

  • @Despatra
    @Despatra 23 ชั่วโมงที่ผ่านมา +1

    FYI scratch already runs at 30 fps, by adding the wait block you either made it run at 15 or it did nothing

    • @XenonNeko
      @XenonNeko  23 ชั่วโมงที่ผ่านมา

      I did eventually realize this after switching to delta-time later in the project. The delta-time always hovers around 0.03, which is 30 FPS.

  • @hi_beemo1808
    @hi_beemo1808 หลายเดือนก่อน

    you should consider implementing matrix in scratch when working with tiles on a set grid in makes things simpler

  • @NescauCadeirante
    @NescauCadeirante หลายเดือนก่อน +2

    Thank you for subtitles,i'am brazillian

  • @-SnowyBS-
    @-SnowyBS- หลายเดือนก่อน +2

    Here before this is your top vid 🎉

  • @flameofthephoenix8395
    @flameofthephoenix8395 25 วันที่ผ่านมา +1

    7:57 Oh wow, that's a funny thing, you're clearly used to programming languages where it will simply crash if you don't have delay at the end of any loop that runs forever, however in Scratch it automatically is capped at 30 fps. Indeed, I believe that you unintentionally made a 15fps game with that wait block.

  • @ifeireiniogunduyile7316
    @ifeireiniogunduyile7316 29 วันที่ผ่านมา +1

    YAAAAAAAAAAAY FINALLY SOMEONE WHO DOES SOMETHING I DO!

  • @anthonycannet1305
    @anthonycannet1305 8 วันที่ผ่านมา

    13:04 I know that you can do whatever set of rules you want for your implementation of tetris but “fixing” that thing where you can get the same piece twice in a row because of how the bag system is set up is actually not something that needed to be fixed and you just made more work for yourself for something that didn’t feel right to you… getting 2 of the same piece in a row can let you chain 3 tetrises by holding an I piece and then randomly getting two I pieces in a row from the bag, which is relevant in the verses tetris games like tetris 99 or Puyo Puyo tetris 1&2.

  • @Hypernova386
    @Hypernova386 หลายเดือนก่อน +1

    As a man who has done this last year,
    I can confirm this man's pain

  • @happycolours8551
    @happycolours8551 หลายเดือนก่อน +1

    Uh oh, Tetris will murder you now

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      They're petty if they go after a Scratch project 🤣
      I suppose we'll have to wait and see

  • @romanmcgolrick117
    @romanmcgolrick117 หลายเดือนก่อน +1

    12:43 *vine boom*

  • @DogSkipsStone
    @DogSkipsStone 17 วันที่ผ่านมา +1

    high contrast is the best mode (in my opinion)

  • @MSPaintOfficial
    @MSPaintOfficial หลายเดือนก่อน +2

    it’s already hard enough to arrange a shape out of the blocks

  • @Z_E_B_O
    @Z_E_B_O 5 วันที่ผ่านมา

    never heard the square piece being called o-piece lol.
    Anyway, really interesting, my idea for the shading would be to have the board, then the tetris fall down on the board and then have an additional third layer with only the shading, so when a tetris enters the board, the shading will always be on top.
    But I have never used scratch and you couldnt do cool animations so,...

  • @NoteCubes
    @NoteCubes หลายเดือนก่อน +1

    🤯 My mind is broken right now

  • @mateohunterwatts2271
    @mateohunterwatts2271 หลายเดือนก่อน

    5:32 my brain had an idea with that heard, ''i piss''

  • @slushyboy1212
    @slushyboy1212 17 วันที่ผ่านมา +1

    1. scratch is 30fps 2. u dont need the wait in the forever. it will make it half speed

  • @obviousalexc
    @obviousalexc 3 วันที่ผ่านมา +1

    Big L on the 3d earlier. But you did really good on tetris!

  • @alimicro812
    @alimicro812 หลายเดือนก่อน

    3:13 the music transition here is crazy

  • @HardcoreAxol
    @HardcoreAxol หลายเดือนก่อน +2

    6:02 you made diagonal Tetris

  • @magma_mania2416
    @magma_mania2416 หลายเดือนก่อน +6

    The one piece

    • @aaron.s1531
      @aaron.s1531 หลายเดือนก่อน +2

      ITS REEEEALLLL

    • @Jumboarentjosh
      @Jumboarentjosh หลายเดือนก่อน

      THE ONE PIECE

  • @RobloxFilmsAndAnimations
    @RobloxFilmsAndAnimations 17 วันที่ผ่านมา

    idea: turn the blocks into scrath cat but its limbs being the little parts and the main bit/center being the face

  • @a6shot199
    @a6shot199 หลายเดือนก่อน +1

    2:55 it does, in fact work like that 😭

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      I must be missing something! All I could get the white sprite to look like was really pale versions of all the colors.

  • @guigui0246
    @guigui0246 หลายเดือนก่อน +1

    I really don't understand why they made the pen an extension in scratch 3 and not just a feature like in scratch 2

  • @PenguinPlayz_
    @PenguinPlayz_ 13 วันที่ผ่านมา +1

    Its Perfect...

  • @FungchiuDuong
    @FungchiuDuong หลายเดือนก่อน +1

    Clean

  • @smarty265
    @smarty265 20 วันที่ผ่านมา +1

    banger video

  • @myithspa25
    @myithspa25 หลายเดือนก่อน +2

    4:40 may I introduce you to rotation styles?

  • @XTLmaker
    @XTLmaker 17 วันที่ผ่านมา +1

    Scratch Tetris game crash when

  • @mistalod
    @mistalod 16 วันที่ผ่านมา

    actually lemme try making tetris in scratch it seems fun

  • @kaiovalentino8716
    @kaiovalentino8716 หลายเดือนก่อน +1

    Complicated way to make Tetris

  • @Swagpion
    @Swagpion หลายเดือนก่อน +1

    13:03 its not a fix, its a change. Because that is standard bag system behavior.

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      Right. Should have clarified, It was just my personal preference

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      I added a toggle for that behavior while implementing feedback from other people.

  • @Warpedd_forestnew
    @Warpedd_forestnew หลายเดือนก่อน +1

    you forgot about the linux kernel in scratch

  • @Holmen3055A
    @Holmen3055A หลายเดือนก่อน +1

    Im making a massive game there

  • @Profilesss
    @Profilesss หลายเดือนก่อน +2

    cool

  • @Truthakin
    @Truthakin หลายเดือนก่อน

    Blud learned faster than my dad left me💀💀

  • @235x
    @235x หลายเดือนก่อน

    4:50 scratch has a setting that stops a sprite from Visually rotating.

  • @user-xh1qo5bn7s
    @user-xh1qo5bn7s หลายเดือนก่อน +1

    damn you are crazy good at making tetris and playing tetris did you use any tutorials in this video?

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      Not for this project in particular, no. But I have watched Griffpatch tutorials in the past, if that counts! And I watched those before I ever got into Scratch - for some reason.

    • @user-xh1qo5bn7s
      @user-xh1qo5bn7s หลายเดือนก่อน

      damn you are really good@@XenonNeko

  • @case.n
    @case.n หลายเดือนก่อน +1

    Me over here still trying to use velocity in scratch:

  • @zhiandionisio503
    @zhiandionisio503 หลายเดือนก่อน +1

    I thought it was griffpatch video lol😂

  • @theunepicgrayscale
    @theunepicgrayscale 51 นาทีที่ผ่านมา

    I almost forgot your channel existed. Sorry man?

  • @concernedcommenter8258
    @concernedcommenter8258 9 วันที่ผ่านมา

    Oh no- he used ALL of his code inside one sprite. Wow.
    Personally, I wouldve made each type of block its own sprite, and made the UI its own sprite, and make the collision its own sprite, and the white flash its own sprite. Yeah, lots of scratch is centered around making lots of simple pieces that you pull in when you need instead of coding them, and that’s really it.

  • @user-mg9rw2de9z
    @user-mg9rw2de9z หลายเดือนก่อน +1

    Dude you can change the rotation mode of the sprites !!!

  • @Hawinzi
    @Hawinzi 7 วันที่ผ่านมา +1

    Quick question. Why did you not just make each piece its own sprite? I feel like that would end up being all around easier.

    • @XenonNeko
      @XenonNeko  7 วันที่ผ่านมา +1

      I'm not sure how that would be easier (but that might just be me. I'm not familiar with how things are usually done in Scratch). If you mean splitting the logic into different sprites, I would argue there's a lot of redundancy because the pieces have a lot of common functionality. If you mean making the pieces themselves different sprites, I'm not sure what to do in the case of line clears where pieces can get broken up. And as the board fills up, that sounds like a lot to keep track of. Either way, I find communicating information between sprites to be annoying (again that's just personal preference). If you're referring to something else entirely, please explain.

  • @ThatOneUnityGamedev
    @ThatOneUnityGamedev หลายเดือนก่อน

    4:33 you could've clicked "don't rotate" in he direction area. It keeps the movement the same but doesn't turn the sprite visually
    edit: when you said "I decided on a 30 fps system" I just said out loud "sorry to tell you, scratch has 30 30fps limit/cap..."

  • @xxsuperproductionsxx138
    @xxsuperproductionsxx138 หลายเดือนก่อน +2

    noice.

  • @snezitko
    @snezitko 24 วันที่ผ่านมา +2

    now that I think about it you didnt need to make a rotation system... you could have just made a list for example the L piece and then just going trough it so like the list would be like: (lets say that the grid is 3x3 )
    (rotation right) 1: 000111001
    (rotation down) 2: 010010110
    (rotation left) 3: 100111000
    (rotation up) 4: 011010010
    1 = there is a block
    0 = there is no block
    then you would just make it so that when you pressed left the place in the list would shift by -1, and if right the place in the list would shift by +1
    which would completly delete the issue of coding the rotation.🧇

  • @gamezboi_
    @gamezboi_ หลายเดือนก่อน

    ive never heard someone describe tetromino with letters

  • @texsolution6571
    @texsolution6571 หลายเดือนก่อน

    cyborg never see me

  • @palmossi
    @palmossi หลายเดือนก่อน +1

    0:55 spu7nix:

  • @RadioactiveBluePlatypus
    @RadioactiveBluePlatypus หลายเดือนก่อน +1

    You know you can set the sprite to not visually rotate and only rotate in code right?

    • @XenonNeko
      @XenonNeko  หลายเดือนก่อน

      I did not! Oops

  • @VDberri
    @VDberri 19 วันที่ผ่านมา +1

    I made geometry dash in scratch as well

  • @fanvr3857
    @fanvr3857 หลายเดือนก่อน +6

    it was so hard because you were coding everything in 1 sprite 💀💀

  • @Thunderclouwd
    @Thunderclouwd วันที่ผ่านมา +1

    I USE SCRATCH