Тёмный

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

griffpatch
Подписаться 365 тыс.
Просмотров 123 тыс.
50% 1

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

Опубликовано:

 

28 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 482   
@RalphyTheCoyote
@RalphyTheCoyote Год назад
If you add a daylight cycle, make the water move faster at night and slower at day.
@averageneutralguy
@averageneutralguy Год назад
suggestion : perhaps a day/night cycle would be amazing. I also love this series, keep the adventure going!
@tumandas1313
@tumandas1313 Год назад
Such a good idea!!😁
@Pipe1637
@Pipe1637 Год назад
as minecraft
@vozifyvr
@vozifyvr Год назад
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 Год назад
But good idea to animate tiles
@griffpatch
@griffpatch Год назад
Nice - I thought about adding that feature too... but some things are best left for people to experiment with themselves :) Very cool!
@skyfish2104
@skyfish2104 Год назад
It's the funny dog man
@um_idkw
@um_idkw Год назад
@@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
@niceEli
@niceEli Год назад
Ever since I started learning c# in unity I stopped watching other people’s scratch tutorials but when griffpatch posts it makes my day
@WildC47
@WildC47 Год назад
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!
@kplays_6000
@kplays_6000 Год назад
The game development community as a whole lacks tutorials of this much depth and complexity without compromising quality. Thank you, Griffpatch!!
@Nitrosplash557
@Nitrosplash557 Год назад
Thanks for these tutorials. I love watching these and seeing my game grow!
@cheesepop7175
@cheesepop7175 Год назад
wait this comment isint hearted
@JMS-ji3qp
@JMS-ji3qp 8 месяцев назад
Egg rox
@MrLochnload
@MrLochnload Год назад
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!
@RammansPizzas
@RammansPizzas Год назад
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! 😸
@loganjoy-koer5936
@loganjoy-koer5936 Год назад
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.
@cooldude_meh
@cooldude_meh Год назад
cannot wait for the next episode griffpatch! I hope it comes out soon!
@orangefruit567
@orangefruit567 Год назад
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.
@Speed-TV
@Speed-TV Год назад
Imagine dedicating your channel to teaching kids scratch, mad respect!
@vozifyvr
@vozifyvr Год назад
YESS thanks so much Griffpatch!
@griffpatch
@griffpatch Год назад
You bet!
@improvisestudios
@improvisestudios Год назад
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 Год назад
yessssssssssss pleaseeeeeeeeeeeeeee
@Wormierbird1341
@Wormierbird1341 Год назад
Ya!
@amethystexpress1398
@amethystexpress1398 Год назад
And the tutorial after that add npcs and npc interactions , online mode , and fighting npcs and players
@funfinyt
@funfinyt Год назад
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 Год назад
Your tutorials are always pleasant to see and follow :) 😺 Never stop making them ! 😻
@EE-ou4pc
@EE-ou4pc Год назад
1. Please continue this series! Please! 2. A copy and paste feature would be amazing!
@MaxwellCatAlphonk
@MaxwellCatAlphonk Год назад
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)
@SupaTNT_OG
@SupaTNT_OG Год назад
What a great series! excited for episode 10!
@SproutSkout
@SproutSkout Год назад
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 :)
@noahclendenon9127
@noahclendenon9127 Год назад
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!)
@LukeLedgX
@LukeLedgX Год назад
Yay, another tutorial I love them. Hey, Griffpatch In a future episode can you add a swimming feature to the game.
@aBeachTrooper
@aBeachTrooper Год назад
hey griffpatch, your tutorials have been really helpful on my projects! thank you.
@yashdbhat5806
@yashdbhat5806 Год назад
I like this series so much, I can't wait for the next episode.
@-CosmoCode
@-CosmoCode Год назад
Yay! Finally! An Another amazing tutorial from the only griffpatch! =D Well done!
@christelle5782
@christelle5782 Год назад
YEEEEESSSS ! I love you're work ! Continue like that it's soooo cool !
@inkerbell5456
@inkerbell5456 Год назад
Great so far! I also got the animate tile animating in the editor palette too, my copying the scripts.
@Abhilasha84
@Abhilasha84 Год назад
These tutorials are SO GOOD! ( and helpful:))
@ddshow8873
@ddshow8873 Год назад
Hello griffpatch I love all your projects on scratch, and also your tutorials are great
@crackerpooppop
@crackerpooppop Год назад
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 Год назад
Thank you so much!!
@amysplaytime2943
@amysplaytime2943 Год назад
True. Griffpatch has helped a lot I’m excited to see what this amazing man can do in the future
@NotNoobWasTaken
@NotNoobWasTaken Год назад
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
@-undertale--pro-
@-undertale--pro- Год назад
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
@jeffreynichols2251
@jeffreynichols2251 Год назад
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! :)
@WizardworksProduction
@WizardworksProduction Год назад
I love your videos! Keep doing the great work.
@garrettpatterson6128
@garrettpatterson6128 Год назад
Omg it is such a good feeling when it actually works, ty griff Keep up the great vids
@Greignaux
@Greignaux Год назад
Wow this really incredible ! Thanks you for this beautiful video !
@darkergen
@darkergen Год назад
Wow finally a new episode of the rpg! Yay!
@Ninjabuster2k
@Ninjabuster2k Год назад
I was really looking forward to this tutorial!
@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!
@ivankatic8332
@ivankatic8332 Год назад
ITS SO COOL THANK YOU GRIFFPATCH!!
@ianfarquharson2933
@ianfarquharson2933 Год назад
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.
@sidd6131
@sidd6131 Год назад
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.
@priyankapandey3834
@priyankapandey3834 Год назад
YES! Finally! Animating Tiles!
@lukasschriefer799
@lukasschriefer799 Год назад
You’re at the max because you’re the best at coding!
@TheNameIsHyp3RNova
@TheNameIsHyp3RNova Год назад
AWESOME!! I will try this out.
@FeniteFr
@FeniteFr Год назад
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 😸
@Iminsanealr
@Iminsanealr Год назад
This is something very helpful! Love the videos as always!
@griffpatch
@griffpatch Год назад
Awesome! Thank you!
@imomarik5802
@imomarik5802 Год назад
RU-vid knows that Griffpatch's videos are very important and says "New video" when i just search "g"
@thefakesammymammy
@thefakesammymammy Год назад
just wondering, when will you do the automatic layer thing?
@arkadykarpin9987
@arkadykarpin9987 Год назад
Thank you so much for such great episodes! But how soon will we see a sequel? At least roughly)
@FeniteFr
@FeniteFr Год назад
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 ✨
@JPSSUPPORT
@JPSSUPPORT Год назад
I love your tutorials❤❤❤
@user-uf7po7vs6r
@user-uf7po7vs6r 11 месяцев назад
thank you so much for making these tutorial. :)
@SpeedCuberNIVINXD
@SpeedCuberNIVINXD Год назад
Yay! It’s finally here
@breadhead46_
@breadhead46_ Год назад
It's very cool now that the editor is organized :D
@griffpatch
@griffpatch Год назад
Yeah - Been wanting to do that for some time!
@dominations9303
@dominations9303 Год назад
Hello griffpatch, just saying you are on a ROLL with this tutorial, they just get better every time 🙂
@griffpatch
@griffpatch Год назад
Hey, thanks!
@Bracket3s
@Bracket3s Год назад
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!
@Mayowa_Gaming
@Mayowa_Gaming Год назад
I think enemies would be absolutely great in this!
@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!
@Stunt7
@Stunt7 Год назад
New Griffpatch Video! :D
@vicencolusic6008
@vicencolusic6008 Год назад
Your tutorials are the best
@diamondgamer1849
@diamondgamer1849 Год назад
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
@BobChess
@BobChess Год назад
This is awesome like it's made from others platform! Super useful tutorial and very cool coding! Scratch On!
@ernestrieu5220
@ernestrieu5220 Год назад
Every time he says "please smash the like button" I immediately do it!
@griffpatch
@griffpatch Год назад
Thank you so much!!!
@josephfox9727
@josephfox9727 Год назад
please continue this series
@thegreatjw
@thegreatjw Год назад
Griffpatch, can you make a video about auto collision setting? It's hard putting the pins in place.
@Ninjabuster2k
@Ninjabuster2k Год назад
Can't wait for interiors!
@bluethingy1112
@bluethingy1112 Год назад
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 Год назад
@Ashbedwars I know. I'm asking him to continue them
@Winston0204
@Winston0204 Год назад
You should have a lot more subs for how long you've been making videos and how good they. (at least over 3M subs)
@joshidharaina2697
@joshidharaina2697 Год назад
Thank you so much for your information 😍👍🧡
@griffpatch
@griffpatch Год назад
My pleasure 😊
@resfriars5459
@resfriars5459 Год назад
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!
@CorranEveryone
@CorranEveryone Год назад
Very Fun!
@DeguProductions
@DeguProductions Год назад
Great video!
@griffpatch
@griffpatch Год назад
Thanks!
@ladypotato1327
@ladypotato1327 Год назад
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.
@partymnsterboi
@partymnsterboi Год назад
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!
@raunakqg
@raunakqg Год назад
wow! this great!
@oliversnetwork9783
@oliversnetwork9783 Год назад
Will you do an enemy tutorial in the future? I saw one of your old videos of scrolling top-down enemy code, but it was pretty basic and I was wondering if you could do an enemy pathfinding tutorial (besides the other one you made, td style pathfinding, or just running directly into walls) edit: I don't know how many of your comments you read, but do you have a schedule for future episodes in this tutorial series? eg: Enemy Code Seperate Worlds (going to a different map, like caves, tunnels, inside houses or gyms in pokemon games) Attacking and Projectiles Day/Night and Weather cycles Also, how many more episodes do you plan to have in the ser
@-CosmoCode
@-CosmoCode Год назад
When's the next video releasing? OOooh I'm soo excited griffin! =D
@slipperyslapslop9214
@slipperyslapslop9214 7 месяцев назад
I can now confidently say I spent an entire day just chewing through these.
@lspectroniztar
@lspectroniztar Год назад
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!_
@tronche2cake
@tronche2cake Год назад
I searched for your channel before even getting the notification and found the video, what kind of coincidence is that?
@griffpatch
@griffpatch Год назад
Awesome!
@luigidabro
@luigidabro Год назад
Gridlists are just the BEST
@vincentgagnow56
@vincentgagnow56 4 месяца назад
22:25 if you don't like the extra screen in the editor subract 11 from the thing made
@andrear2022
@andrear2022 2 месяца назад
how did you get the 11
@chaseyworld
@chaseyworld Год назад
Amazing 😮
@Akoppee
@Akoppee Год назад
Been following this tutorial and love it. I'm currently trying to add some functionality and add in player trails like in one of your latest videos. Every time I try it seems that the clones follow or stay under the player sprite and not lag behind like they should. Is there a way to correct this behavior?
@hubertbosak2900
@hubertbosak2900 Год назад
i love this!!!😄😄😄
@danddhampstudio
@danddhampstudio Год назад
If anyone's curious, there's an amazing RU-vid 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
@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
@maksstuffdrawz9286
@maksstuffdrawz9286 Год назад
finally new episode
@partymnsterboi
@partymnsterboi Год назад
maybe in the next episode we could use the combat costumes make enemies and make a combat system for your player
@T55sArt
@T55sArt Год назад
(Not trying to rush you or anything, the rpg series is great!) But do you know if you'll do a updated pathfinding thing? Maybe node based? Idk, id just like to see what you come up with nowadays. Id also like to see if you can like, read PNGs in scratch, not like a decoder, but one that gets the color values per pixel. Idk how it really works, i dont get how a single number represents all the color data you need at that pixel, if thats even how it works. However, after that, i wanted to make something that compares the rgb values to a set pallete of 60 inorder to convert PNGs to palletes, and then encode and decode it from base 64. Also, in the raycaster episode, do you have any advice? Im trying to implement the collision code into a game in 3D (Not scratch), where it uses the forward vector of the object and multiplies its x and z by sin and cos anytime either or of the 4 raycasters reach a low distance to a surface in all directions, but it only works for surfaces in the -z direction. However i rotate the collision vector to the closest surface and that seems to work. However it doesn't in the +z direction
@joneybob3133
@joneybob3133 Год назад
Ooh griffpatch I hope that you will do auto layered tiles soon :)😊
@RonicTheEgg
@RonicTheEgg Год назад
HAHA I KNEW WE WERE GONNA GET ANIMATIONS I saw it in the last few episode :D
@jacobdu4464
@jacobdu4464 Год назад
wow you spend so much work on this !
@bilalsiddiquebasharat9312
@bilalsiddiquebasharat9312 Год назад
I cant wait
@luciancasey6378
@luciancasey6378 Год назад
I LOVE GRIFFPATCH
@emiiliaxrosee
@emiiliaxrosee Год назад
This is so hard!! I'm crying
@serenarslan81
@serenarslan81 Год назад
hey griffpatch, how do i copy the entire screen and paste with using pen? like control + c and control + v
@themechanicalpenguin2209
@themechanicalpenguin2209 Год назад
I'm so glad that you are helping me create my dream RPG thank you!
@griffpatch
@griffpatch Год назад
My pleasure!
@kales901
@kales901 Год назад
i made a project in witch you can change the solid state of a tile in the editor (grid,not pallete) by pressing "N" using z/x the make the tiles solid/non-solid
Далее
I Trapped 200 Kids Representing 200 Brands
13:08
Просмотров 4,6 тыс.
6 Developers make a Scratch Game Without Communicating
15:00
I Spent 6 Years Making Games in Scratch
10:03
Просмотров 290 тыс.
How I Destroyed the Most Hated Scratch Projects...
8:09
Your Questions Answered 🏆 Scratch 100k Unboxing!
17:05
Top 10 Most MIND-BLOWING Scratch Projects
8:11
Просмотров 163 тыс.
NOOB vs PRO vs HACKER Scratch Game
11:07
Просмотров 318 тыс.
I Tried Learning SCRATCH In 24 Hours...
4:24
Просмотров 12 тыс.
Making an ELEMENTAL BENDING Game in Scratch!
8:46
Просмотров 123 тыс.
Minecraft But On Scratch
7:23
Просмотров 445 тыс.