How to Animate Game Worlds in Scratch ⚡️ FAST! - RPG #9

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • In this video, we'll be learning how to animate tiled game worlds using Scratch. This is the ninth in a series of Scratch tutorials learning how to code a tile based RPG engine in Scratch.
    Adding animation to our Scratch RPG Game worlds is so easy, and I'll show you how in under 5 mins :) - We already have the individual animation frames in our games, we just need a clever way to identify which are to animate and how to do it.
    In this episode we'll also improve the layout of the dungeon tiles in the level editor.
    🚀 Boost Your Creativity with Griffpatch
    The Griffpatch Academy will take you from "Gamer to Game Creator"
    Learn more at 👉 griffpatch.academy 👈
    😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See scratch.mit.edu
    👍 Patreon - / griffpatch
    👀 Episodes in the series:
    Ep.1 - Craft your dream Scratch Game - • RPG Tutorial | Craft y...
    Ep.2 - Infinite Scrolling & Tiles - • 🐱 Infinite Scrolling &...
    Ep.3 - I AM SPEED - • ⚠️ LAG FREE Scrolling ...
    Ep.4 - Build a LEVEL EDITOR in Scratch - • Code a LEVEL EDITOR in...
    Ep.5 - Split Screen & Multi Tile Assets - • EDIT FASTER ⚡ Tile Tra...
    Ep.6 - Layers & Onion Skinning - • LAYERS 🧅 "Onion Skinni...
    Ep.7 - Collisions Pins - • Collision Pins? 💥📌 Now...
    Ep.8 - Player Collisions - • Player Collisions + Wa...
    Ep.9 - Animate the World - • How to Animate Game Wo...
    Ep.10a - Data Serialization - • "Save My Game!" 💾 Data...
    Ep.10b - Modular Scene Saving - • Unlock the Power of Mo...
    🐱 Scratch Starter Projects with Assets - Remix this!
    scratch.mit.edu/projects/7255...
    🐱 Scratch Studio for Your projects
    scratch.mit.edu/studios/32038...
    -------------Video Chapters-------------
    0:00 Intro
    0:29 Laying down some Animating Tiles
    0:58 Animating the Tiles by Name
    3:11 Check Name and Animate!
    5:16 Palette Layout Issues
    6:11 Sprite Sheet Dividers --18--
    7:30 Scanning for Costume Names
    14:07 Stamping from the Palette Grid List
    15:30 Testing the Palette Grid
    16:46 Selected Brush Palette Index
    18:20 Hiding the extra Animated costumes in the palette
    19:37 Testing the new Tile Palette
    20:34 Fix Tile Picker
    21:16 Fix Vertical Palette Fencing
    22:14 Outro

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

  • @RalphyTheCoyote
    @RalphyTheCoyote ปีที่แล้ว +37

    If you add a daylight cycle, make the water move faster at night and slower at day.

  • @averageneutralguy
    @averageneutralguy ปีที่แล้ว +29

    suggestion : perhaps a day/night cycle would be amazing. I also love this series, keep the adventure going!

    • @tumandas1313
      @tumandas1313 ปีที่แล้ว +1

      Such a good idea!!😁

    • @Pipe1637
      @Pipe1637 ปีที่แล้ว +1

      as minecraft

  • @niceEli
    @niceEli ปีที่แล้ว +4

    Ever since I started learning c# in unity I stopped watching other people’s scratch tutorials but when griffpatch posts it makes my day

  • @MrLochnload
    @MrLochnload ปีที่แล้ว +4

    I think the best part of this series is it’s giving me ideas of how to do things in other games. The scrolling and animating sprites is so useful. Making the map editor take care of collisions and everything else has really been an eye opener. I've been working on an advance wars type game in Scratch and map building was such a chore before, but with all the ideas I got from your videos, it's a real breeze now. Looking forward to see how far you take the RPG series!

  • @Nitrosplash557
    @Nitrosplash557 ปีที่แล้ว +22

    Thanks for these tutorials. I love watching these and seeing my game grow!

    • @cheesepop7175
      @cheesepop7175 ปีที่แล้ว +1

      wait this comment isint hearted

    • @JMS-ji3qp
      @JMS-ji3qp 9 หลายเดือนก่อน

      Egg rox

  • @vozifyvr
    @vozifyvr ปีที่แล้ว +78

    I actually already did the dungeon tile thing (to organize it) on my own but something else I did is I made it where you can drag the black editor bar from the left of the tiles so you can make the tile editor sprite sheet as big as you want when finding a tile.

    • @vozifyvr
      @vozifyvr ปีที่แล้ว +9

      But good idea to animate tiles

    • @griffpatch
      @griffpatch  ปีที่แล้ว +43

      Nice - I thought about adding that feature too... but some things are best left for people to experiment with themselves :) Very cool!

    • @skyfish2104
      @skyfish2104 ปีที่แล้ว +1

      It's the funny dog man

    • @um_idkw
      @um_idkw ปีที่แล้ว +2

      @@griffpatch you should do basics on 3d projection using math and stuff instead of using a raycaster.

    • @savagediaperboy268
      @savagediaperboy268 ปีที่แล้ว

      @@griffpatch Can you show us how to add lighting

  • @loganjoy-koer5936
    @loganjoy-koer5936 ปีที่แล้ว +6

    Even though I don't use Scratch as much anymore, I still learn creative ways to do things from your tutorials, as most of the concepts in Scratch transfer over to more popular programming languages.

  • @kplays_6000
    @kplays_6000 ปีที่แล้ว +2

    The game development community as a whole lacks tutorials of this much depth and complexity without compromising quality. Thank you, Griffpatch!!

  • @RammansPizzas
    @RammansPizzas ปีที่แล้ว +22

    This Series is looking awesome, sadly, I didn't have any reason to use it. But with BATDR's Release, I might make a 2D Version of that game. Obviously, not the whole Game, but maybe some Boss Fights and Abilities, anyway. I know this will be great as always! I'll start scratching once I'm done with Homework! See ya and keep scratching! 😸

  • @cooldude_meh
    @cooldude_meh ปีที่แล้ว +4

    cannot wait for the next episode griffpatch! I hope it comes out soon!

  • @WildC47
    @WildC47 ปีที่แล้ว +6

    My recommendations for the future episode -
    *Enemies (Zombies, etc.) to fight with the sword (Enemies will mostly spawn in the dungeons)
    *Opening doors and entering houses and the dungeons
    *Adding an inventory
    *Adding Items: Chests, Keys, doors etc.
    *Health Bar
    *NPCs or other characters to talk to
    *A day/night cycle
    EDIT: I'm also making lots of edits to think of other cool stuff!

  • @Speed-TV
    @Speed-TV ปีที่แล้ว +2

    Imagine dedicating your channel to teaching kids scratch, mad respect!

  • @funfinyt
    @funfinyt ปีที่แล้ว +4

    The rpg tutorial is awesome! I’ve been having a lot of fun with it, and I’ve always wanted to make one of these. Please keep making more

  • @FeniteFr
    @FeniteFr ปีที่แล้ว +5

    Your tutorials are always pleasant to see and follow :) 😺 Never stop making them ! 😻

  • @orangefruit567
    @orangefruit567 ปีที่แล้ว +11

    I Think The Next Episode should be the automatic layers! (I saw that in the 2nd devlog) Because it is really annoying to switch layers all the time.

  • @SproutSkout
    @SproutSkout ปีที่แล้ว +2

    After watching these tutorials for a while I realized these were the same sprites used in mini mini farm! Pretty cool to see those sprites get used in here :)

  • @EE-ou4pc
    @EE-ou4pc ปีที่แล้ว +5

    1. Please continue this series! Please!
    2. A copy and paste feature would be amazing!

    • @MaxwellCatAlphonk
      @MaxwellCatAlphonk ปีที่แล้ว +1

      But that also requires a selection feature and layer exxlusive/inclusive selection and difficult to make stuff. But i DO want to see more "Geometry Dash Level Editor" features to the editor (a cool one would be halfspacing, which lets you move blocks along the grid by HALF a block)

  • @vozifyvr
    @vozifyvr ปีที่แล้ว +4

    YESS thanks so much Griffpatch!

  • @noahclendenon9127
    @noahclendenon9127 ปีที่แล้ว +5

    I love these videos! I'm bursting at the seams waiting for the next one! I wonder what it will be about? I assume that an RPG would require a bit more than just a map, so maybe enemies? Items? A health system?
    Or maybe you'll add the ability to transition to different rooms so you can make real dungeons connected to an overworld map?
    THE POSSIBILITIES ARE ENDLESS!
    (No rush though! Take as much time as necessary, and breaks are fine!)

  • @improvisestudios
    @improvisestudios ปีที่แล้ว +41

    Maybe next episode, since the dungeon tiles are fixed, we should do a door tutorial, where you can enter dungeons and houses.

    • @cooldude_meh
      @cooldude_meh ปีที่แล้ว +3

      yessssssssssss pleaseeeeeeeeeeeeeee

    • @Wormierbird1341
      @Wormierbird1341 ปีที่แล้ว +1

      Ya!

    • @amethystexpress1398
      @amethystexpress1398 ปีที่แล้ว +2

      And the tutorial after that add npcs and npc interactions , online mode , and fighting npcs and players

  • @inkerbell5456
    @inkerbell5456 ปีที่แล้ว +2

    Great so far! I also got the animate tile animating in the editor palette too, my copying the scripts.

  • @aBeachTrooper
    @aBeachTrooper ปีที่แล้ว +1

    hey griffpatch, your tutorials have been really helpful on my projects! thank you.

  • @SupaTNT_OG
    @SupaTNT_OG ปีที่แล้ว +2

    What a great series! excited for episode 10!

  • @-undertale--pro-
    @-undertale--pro- ปีที่แล้ว +1

    This tutorial will help and when I saw the extra blank tiles in the palette I was excited because my game requires more than just the already set tiles

  • @LukeLedgX
    @LukeLedgX ปีที่แล้ว +2

    Yay, another tutorial I love them. Hey, Griffpatch In a future episode can you add a swimming feature to the game.

  • @Resseguie
    @Resseguie ปีที่แล้ว

    Oh the complexities and interdependencies are adding up! It's looking great.

    • @griffpatch
      @griffpatch  ปีที่แล้ว

      I know right... I always regret too much when I get to this point lol - Perhaps a grand variable renaming session is in order!

  • @yashdbhat5806
    @yashdbhat5806 ปีที่แล้ว +1

    I like this series so much, I can't wait for the next episode.

  • @ddshow8873
    @ddshow8873 ปีที่แล้ว +2

    Hello griffpatch I love all your projects on scratch, and also your tutorials are great

  • @ianfarquharson2933
    @ianfarquharson2933 ปีที่แล้ว +1

    LETS GO EPISODE 9 YAY
    0:31 finally organized dungeon tiles ive been hoping this got fixed
    animating water yay!
    5:57 another grid list?
    6:55 oh smart idea
    15:38 finally
    other awesome stuff today lets gos
    can't wait for the next episode, keep up the great work!!!
    PLEASE add auto layering its so anoying the editor with the layers
    ive been crazy busy making an epic world with a dungeon, but I can't show you.

  • @-CosmoCode
    @-CosmoCode ปีที่แล้ว

    Yay! Finally! An Another amazing tutorial from the only griffpatch! =D Well done!

  • @garrettpatterson6128
    @garrettpatterson6128 ปีที่แล้ว

    Omg it is such a good feeling when it actually works, ty griff Keep up the great vids

  • @Abhilasha84
    @Abhilasha84 ปีที่แล้ว +2

    These tutorials are SO GOOD! ( and helpful:))

  • @FeniteFr
    @FeniteFr ปีที่แล้ว +1

    I didn't follow it during the early access because I followed all the could game serie this week! 🌐😸
    And wow your videos are so much better now 😉 I think now you explain more how the code works, and you add animations/musics so that very pleasant to watch 😸

  • @christelle5782
    @christelle5782 ปีที่แล้ว +1

    YEEEEESSSS ! I love you're work ! Continue like that it's soooo cool !

  • @Greignaux
    @Greignaux ปีที่แล้ว +1

    Wow this really incredible ! Thanks you for this beautiful video !

  • @WizardworksProduction
    @WizardworksProduction ปีที่แล้ว +1

    I love your videos! Keep doing the great work.

  • @crackerpooppop
    @crackerpooppop ปีที่แล้ว +21

    Yay! Love these tutorials. Also, you should take breaks as much as you want, your videos are so amazing and the editing is great! It must be difficult to make them, so everyone understands if you take breaks. :)

    • @griffpatch
      @griffpatch  ปีที่แล้ว +9

      Thank you so much!!

    • @amysplaytime2943
      @amysplaytime2943 ปีที่แล้ว +2

      True. Griffpatch has helped a lot I’m excited to see what this amazing man can do in the future

    • @NotNoobWasTaken
      @NotNoobWasTaken ปีที่แล้ว +1

      i think i know why he has not did a RPG tutorial for 2 months ALMOST 3... not a good year to start of griffpatch

  • @jeffreynichols2251
    @jeffreynichols2251 ปีที่แล้ว +3

    I came up with a different system for tile animations, where I instead took any sprite containing > and added round(TICK/4)mod(last letter of costume name) to the current costume. This system lets me create new animated tiles whose animation sequences are not 5 or 8 if I ever need to! :)

  • @darkergen
    @darkergen ปีที่แล้ว

    Wow finally a new episode of the rpg! Yay!

  • @Ninjabuster2k
    @Ninjabuster2k ปีที่แล้ว

    I was really looking forward to this tutorial!

  • @dominations9303
    @dominations9303 ปีที่แล้ว +1

    Hello griffpatch, just saying you are on a ROLL with this tutorial, they just get better every time 🙂

  • @ernestrieu5220
    @ernestrieu5220 ปีที่แล้ว +1

    Every time he says "please smash the like button" I immediately do it!

    • @griffpatch
      @griffpatch  ปีที่แล้ว +2

      Thank you so much!!!

  • @ivankatic8332
    @ivankatic8332 ปีที่แล้ว

    ITS SO COOL THANK YOU GRIFFPATCH!!

  • @sidd6131
    @sidd6131 ปีที่แล้ว +1

    Im loving this new tutorial series(y'know cuz it's made by you)but I was wondering if you could ever continue dev logs maybe not for an rpg but they were fun to watch.

  • @user-uf7po7vs6r
    @user-uf7po7vs6r ปีที่แล้ว

    thank you so much for making these tutorial. :)

  • @priyankapandey3834
    @priyankapandey3834 ปีที่แล้ว

    YES! Finally! Animating Tiles!

  • @TheNameIsHyp3RNova
    @TheNameIsHyp3RNova ปีที่แล้ว

    AWESOME!! I will try this out.

  • @protokyne
    @protokyne ปีที่แล้ว

    This is just beautiful. My preconception of Scratch being for noobs has changed after watching this. How Scratch’s standard has changed so wildly!

  • @Iminsanealr
    @Iminsanealr ปีที่แล้ว

    This is something very helpful! Love the videos as always!

    • @griffpatch
      @griffpatch  ปีที่แล้ว

      Awesome! Thank you!

  • @breadhead46_
    @breadhead46_ ปีที่แล้ว +1

    It's very cool now that the editor is organized :D

    • @griffpatch
      @griffpatch  ปีที่แล้ว +1

      Yeah - Been wanting to do that for some time!

  • @FeniteFr
    @FeniteFr ปีที่แล้ว +2

    Woohoo I've succeed to reach the end of this episode! 💥 I personally add a «repeat 0-length of palette grid mod 18:
    Add ( ) to palette grid» at the end of the «scan costume names» script because there will be a bug if the last line isn't 18 tiles and that we don't have this ✨

  • @SpeedCuberNIVINXD
    @SpeedCuberNIVINXD ปีที่แล้ว

    Yay! It’s finally here

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

    I can now confidently say I spent an entire day just chewing through these.

  • @MayowaGaming
    @MayowaGaming ปีที่แล้ว

    I think enemies would be absolutely great in this!

  • @Stunt7
    @Stunt7 ปีที่แล้ว +1

    New Griffpatch Video! :D

  • @JPSSUPPORT
    @JPSSUPPORT ปีที่แล้ว +1

    I love your tutorials❤❤❤

  • @Bracket3s
    @Bracket3s ปีที่แล้ว +1

    Thanks! I really like these videos,can you keep making more? Me and my brother have been having a code contest so this is all I can say see ya!

  • @imomarik5802
    @imomarik5802 ปีที่แล้ว +1

    TH-cam knows that Griffpatch's videos are very important and says "New video" when i just search "g"

  • @arkadykarpin9987
    @arkadykarpin9987 ปีที่แล้ว +3

    Thank you so much for such great episodes! But how soon will we see a sequel? At least roughly)

  • @josephfox9727
    @josephfox9727 ปีที่แล้ว +1

    please continue this series

  • @vicencolusic6008
    @vicencolusic6008 ปีที่แล้ว

    Your tutorials are the best

  • @lukasschriefer799
    @lukasschriefer799 ปีที่แล้ว +2

    You’re at the max because you’re the best at coding!

  • @BobChess
    @BobChess ปีที่แล้ว +1

    This is awesome like it's made from others platform! Super useful tutorial and very cool coding! Scratch On!

  • @partymnsterboi
    @partymnsterboi ปีที่แล้ว +1

    maybe in the next episode we could use the combat costumes make enemies and make a combat system for your player

  • @danddhampstudio
    @danddhampstudio ปีที่แล้ว

    If anyone's curious, there's an amazing TH-cam channel called TheGreenFlash, and they have tutorials on 3d. I know some people have been wanting that so I just wanted everyone to be aware that 3d in scratch does exist. Also, Griffparch has his 3d scratch game and you can probably dissect the code and find out how he did it

  • @CorranEveryone
    @CorranEveryone ปีที่แล้ว +1

    Very Fun!

  • @joshidharaina2697
    @joshidharaina2697 ปีที่แล้ว +1

    Thank you so much for your information 😍👍🧡

  • @Luckyshape
    @Luckyshape ปีที่แล้ว

    Time: Devlog 1
    griffpatch: *blinks*
    Time: Tutorial Part 9

  • @Ninjabuster2k
    @Ninjabuster2k ปีที่แล้ว

    Can't wait for interiors!

  • @partymnsterboi
    @partymnsterboi ปีที่แล้ว +1

    the possibilities are endless😀

  • @YourRealGuy
    @YourRealGuy ปีที่แล้ว

    I have waiting dor epsiode 10. Ladder climbing, bridge walking, going into houses, text engine dialouge boxes, and so much more!

  • @resfriars5459
    @resfriars5459 ปีที่แล้ว +1

    Hey man! I have a student at my school in 8th grade who is building a cool RPG game using scratch and your amazing videos! He was wondering when part #10 of the RPG Scratch videos comes out? Please let me know!

  • @luigidabro
    @luigidabro ปีที่แล้ว

    Gridlists are just the BEST

  • @bluethingy1112
    @bluethingy1112 ปีที่แล้ว +3

    I know you are busy doing the RPG series, which is great! But can you possibly work on the platformer or tile scrolling platformer? It would be great! keep up the good work!

    • @bluethingy1112
      @bluethingy1112 ปีที่แล้ว +1

      @Ashbedwars I know. I'm asking him to continue them

  • @themechanicalpenguin2209
    @themechanicalpenguin2209 ปีที่แล้ว +1

    I'm so glad that you are helping me create my dream RPG thank you!

  • @diamondgamer1849
    @diamondgamer1849 ปีที่แล้ว +1

    Can you make a video where you tell people where to place the collision pins (I'm really confused on where to place them) and I also love your videos. Keep up the great work

  • @raunakqg
    @raunakqg ปีที่แล้ว

    wow! this great!

  • @-CosmoCode
    @-CosmoCode ปีที่แล้ว

    When's the next video releasing? OOooh I'm soo excited griffin! =D

  • @Scratch3.0Tutorials
    @Scratch3.0Tutorials ปีที่แล้ว

    Two things which in my opinion would make this from good to amazing:
    1. Doors
    2. Collision on specific layer i.e. walking under a bridge is fine but if on top of it you collide with the edges

  • @lspectroniztar
    @lspectroniztar ปีที่แล้ว +1

    Thanks so much!! I'm not watching this series, but I think it's cool! Also, _please_ do the text engine tutorail one last time, _PLEASE!_

  • @thefakesammymammy
    @thefakesammymammy ปีที่แล้ว +3

    just wondering, when will you do the automatic layer thing?

  • @maksstuffdrawz9286
    @maksstuffdrawz9286 ปีที่แล้ว

    finally new episode

  • @chaseyworld
    @chaseyworld ปีที่แล้ว

    Amazing 😮

  • @vijaysam
    @vijaysam ปีที่แล้ว

    4:20 you are really very thoughtful

  • @DeguProductions
    @DeguProductions ปีที่แล้ว +1

    Great video!

  • @hubertbosak2900
    @hubertbosak2900 ปีที่แล้ว

    i love this!!!😄😄😄

  • @Winston0204
    @Winston0204 ปีที่แล้ว +1

    You should have a lot more subs for how long you've been making videos and how good they. (at least over 3M subs)

  • @tronche2cake
    @tronche2cake ปีที่แล้ว +1

    I searched for your channel before even getting the notification and found the video, what kind of coincidence is that?

  • @RonicTheEgg
    @RonicTheEgg ปีที่แล้ว

    HAHA I KNEW WE WERE GONNA GET ANIMATIONS
    I saw it in the last few episode :D

  • @thegreatjw
    @thegreatjw ปีที่แล้ว +1

    Griffpatch, can you make a video about auto collision setting?
    It's hard putting the pins in place.

  • @jacobdu4464
    @jacobdu4464 ปีที่แล้ว

    wow you spend so much work on this !

  • @brsquadscratchr
    @brsquadscratchr ปีที่แล้ว

    Animations! Yay!

  • @Kefachuk
    @Kefachuk ปีที่แล้ว

    I understand that it has been hard to make this video but now it's done and it is awesome :)

    • @griffpatch
      @griffpatch  ปีที่แล้ว

      Hey there, thanks yes - Just not quite enough time!!! :)

  • @rimberioxgaming
    @rimberioxgaming ปีที่แล้ว

    This is so hard!! I'm crying

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

    22:25 if you don't like the extra screen in the editor subract 11 from the thing made

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

      how did you get the 11

  • @luciancasey6378
    @luciancasey6378 ปีที่แล้ว

    I LOVE GRIFFPATCH

  • @bilalsiddiquebasharat9312
    @bilalsiddiquebasharat9312 ปีที่แล้ว

    I cant wait

  • @joneybob3133
    @joneybob3133 ปีที่แล้ว

    Ooh griffpatch I hope that you will do auto layered tiles soon :)😊

  • @ladypotato1327
    @ladypotato1327 ปีที่แล้ว +1

    So, are you still planning to make the full screen editor you mentioned in Ep. 4? The one that uses an Editor value of 2.

  • @JaiLeeroy
    @JaiLeeroy ปีที่แล้ว

    I hope we can learn how to cross bridges and ladders in soon. Maybe when this map is used for your multiplayer example we can address this the griffpatch way? I have seen some solutions and even came up with my own but I would really like to see how you do it.