Pizza RPG Part 5 - Character Animations

  Рет қаралды 15,915

Drew Conley

Drew Conley

Күн бұрын

Пікірлер: 41
@BKBees
@BKBees Ай бұрын
Man you are exactly the right pace and temperament for these. I have greatly valued a lot of your content, from youtube to gumroad to your other site. Thank you and please keep it up. I'd love to see an idea that you build as a web app but also develop a mobile app for.
@viceran_
@viceran_ Жыл бұрын
This whole playlist is such a masterclass. Thank you so much for this!
@Mrx-011
@Mrx-011 Жыл бұрын
Já estava achando estranho não ter achado nenhum BR nos commentários kkk
@appleamplifier4448
@appleamplifier4448 2 жыл бұрын
Cool video! Please continue making more Game Dev videos. They are really helpful !!
@austinmurphy9074
@austinmurphy9074 2 жыл бұрын
5000 views (video 1) -> 850 views (video 5) 4150 weenies gave up. I will be a Pizza Legend!
@lawliex1
@lawliex1 2 жыл бұрын
thank you man, I'm learning a lot!
@hypnomundi9322
@hypnomundi9322 2 жыл бұрын
Please keep doing js Game Dev this series is amazing I'm learning so much !!!
@donnygames3524
@donnygames3524 Жыл бұрын
Thank you so much for this insprirational game development videos with ur concept im currently working on a game called Code-legends
@okujava3678
@okujava3678 3 ай бұрын
You are the best!
@grobanna
@grobanna 2 жыл бұрын
My animation is running incredibly fast.
@marcosandrepennacoutinho3332
@marcosandrepennacoutinho3332 2 жыл бұрын
Mine too my friend... i do not know wath to do, cause ait does not get the corret "animationFrameLimit"...do you solve it?
@YMRGUITAR
@YMRGUITAR 2 жыл бұрын
@@marcosandrepennacoutinho3332 Hi there. I'm don't know if either of you have taken another look at this but I made the same mistake. In the updateAnimationProgress function, when you check if the animationFrameProgress is above 0 and if it is you decrement it, you need to return out of the function. Otherwise it moves onto the next part of the updateAnimationFrame function which is to increment the frame progress, this means that rather than just counting down how long is left in the animation on every frame, it updates the animation on every frame. updateAnimationProgress() { if (this.animationFrameProgress > 0) { this.animationFrameProgress -= 1; return; // This is the bit that was missing } }
@jacopostefanuto7454
@jacopostefanuto7454 2 жыл бұрын
@@YMRGUITAR In the video he actually setted the "return" inside the function..the problem persists, it goes so fast anyway
@joelgreek
@joelgreek 2 жыл бұрын
Old question but maybe someone else has the same one. I had the same problem, for me though it was just a typo in the updateAnimationProgress() where I wrote "this.animationsFrameProgress" instead of "this.animationFrameProgress".
@rizachu_
@rizachu_ Жыл бұрын
I am also having this issue regardless of the browser 😢
@reyco1
@reyco1 2 жыл бұрын
Amazing
@mattmcnett2635
@mattmcnett2635 2 жыл бұрын
Awesome pizza sauce Drew!
@EmlioGen
@EmlioGen 9 ай бұрын
I did the same logic, but instead of keyboard keys, I did it with buttons on the screen, but when I check "mousedown" and "mouseup", mousedown works and mouseup doesn't. Could anyone tell me why this is happening?
@twizt3dgaming33
@twizt3dgaming33 6 ай бұрын
this isnt working for me ... everything works right up til i try to move to see it change the animation frame it erases the character but leaves the shadow .... checking the console reveals that it cannot get reading of undefined in sprite.js line 43 and am noticing that when i manually change current animation it is remaining in idle-down so its not actually changing ... was loving the tutorial right up til now
@aidendewar
@aidendewar Жыл бұрын
when I add the npc back in a the end it is constantly running through the animation frames on the spot, have I missed something simple?
@DrewConley
@DrewConley 11 ай бұрын
Try comparing your code to the code download. Might be a simple problem
@soniamaklouf1178
@soniamaklouf1178 2 жыл бұрын
Great job Dreaw I just subscribe to your channel Do you have an idea on how much part you're gonna make for pizzalegends ?
@mitejmadan8672
@mitejmadan8672 2 жыл бұрын
around 20
@abail7010
@abail7010 2 жыл бұрын
I have a problem when it comes to updating sprites: The last flag-checking you added ( if(this.isPlayerControlled && ...) ) lets the player controlled hero to idle down, but other Person npcs on the canvas are constantly running on the spot! If I remove the player control flag, this error is resolved, and I cannot wrap my head around why! :D But anyway its a very nice and understandable tutorial that I really enjoy following along!
@abail7010
@abail7010 2 жыл бұрын
Edit: I found the error... currentAnimation was set on walk-down per default.
@TheBiz52
@TheBiz52 2 жыл бұрын
@@abail7010 Thank you for this! i had the same error and question.
@SquierMarr
@SquierMarr 2 жыл бұрын
Can you do a video on intelligent pathfinding? Im finding in my game that I need to have some characters find their way to a specific point and I can't work out how to do it. I've heard about A* but it's hard for me to understand. I think theres a real lack of less maths nerdy, more game dev focused tutorials on how to do pathfinding. It would be really great if you showed how todo something like that.
@DrewConley
@DrewConley 2 жыл бұрын
I’m right there with you… I’ve implemented a few pathfinding things, but nothing as refined as A*. Anytime I opt into a solution like that, it’s usually “I don’t know what’s happening but it works.” Maybe in the future we can break it down and make it practical.
@judgsmith
@judgsmith 2 жыл бұрын
I love this series but do not have time to do it now.
@DrewConley
@DrewConley 2 жыл бұрын
It will be here for you!
@judgsmith
@judgsmith 2 жыл бұрын
@@DrewConley Yep!!
@recappedspacial5734
@recappedspacial5734 2 жыл бұрын
I love you video because you tells how all big games makes in reality not like other youtubers ,just making videos for money , thank you Like share subscribe
@super1997guitar
@super1997guitar Ай бұрын
Awesome! Just got a question why do character move way faster in one pc and in another they just fine? I though by removing the setInterval and with the requestAnimationFrame in gameLoop would fix this problem no?
@Magistrado1914
@Magistrado1914 8 ай бұрын
Excellent course. Viewed on 2024/08/01
@jacopostefanuto7454
@jacopostefanuto7454 2 жыл бұрын
Hi Drew, insane series, keep going! XD That's a really nice way for me (not just me I guess) to improve my skills. I would like to report a problem shared by other users too (according to the comments), the character is going too fast, no matter what's the value of animationFrameLimit.. can u help us please?
@jacopostefanuto7454
@jacopostefanuto7454 2 жыл бұрын
Ok, looks like the problem is that requestAnimationFrame (Overworld) is called too many times per seconds, to resolve that issue I've just setted a settimeout so that i can decide the speed of the character OLD: requestAnimationFrame(() => { step(); }) NEW: setTimeout(() => { requestAnimationFrame(() => { step(); }) }, 1000 / 60); I suggest to set the animationFrameLimit to 4 See ya
@xXSupaKawaiiXx
@xXSupaKawaiiXx 2 жыл бұрын
I think I might try and follow along with this but try and use Godot instead. Very well done!
@guiguetzomega
@guiguetzomega 2 жыл бұрын
Cool one! It's being a fun journey!
@Relivino
@Relivino 2 жыл бұрын
Godette might not be your actual wife, but nothing stops anybody from choosing her as their waifu!
Pizza RPG Part 6 - Camera #pizzalegends
10:51
Drew Conley
Рет қаралды 12 М.
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,9 МЛН
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
Why You Should Learn RPG Maker
8:42
BinzuDev
Рет қаралды 69 М.
How to Become a Game Designer
15:08
Game Maker's Toolkit
Рет қаралды 1,1 МЛН
Pizza RPG Part 7 - Walls & Collisions
22:07
Drew Conley
Рет қаралды 15 М.
every step to actually make your dream game (then sell it)
24:27
20 Advanced Coding Tips For Big Unity Projects
22:23
Tesseract
Рет қаралды 185 М.
Blazingly Fast Greedy Mesher - Voxel Engine Optimizations
23:35
Pizza RPG Part 8 - Behaviors & Cutscenes
37:52
Drew Conley
Рет қаралды 14 М.
Balatro's 'Cursed' Design Problem
13:31
Game Maker's Toolkit
Рет қаралды 680 М.