9/19/2023 0 Comments Dude stop game sprites![]() So again, it has all the frames, it's just not cycling. It'll still be frozen, but it'll be frozen on straight legs vs walking legs, depending on which frame I set as the start point in ay. if I console.log to getTotalFrames() on the sprite and then go left or right it gives 4 for each, respectively (and 1 for the facing forward, as it should).Ĭ) if I manually set the starting frame, it will change. Still no ideas.Īfter some digging around with console.logs I've diagnosed that:Ī) the program is indeed NOT CYCLING through the frames in its frame array (turning left or right, the current frame is only either 0 or 5, but if I checkout a previous commit where it worked, it goes 0,1,2,3 and 5,6,7,8 respectively)ī) the program HAS ACCESS to the frame array. while the three characters just stand there with their sprites staying still. BUT the sprite walk animations still don't work. A/N: For some reason, Dude Stop, a game that makes everyone LOVE/hate you. That one wasn't a glitch, I just had accidentally enclosed it in an if block that was dependant on whether the game had started yet. For instance I have bow and I need to stop playing animation on frame 2. But animatedsprite didnt want to stay on the one frame. Anyone ever encountered something like this before? I've been googling for over an hour now to no avail. When you press button your bow will ready to shot an arrow. ('clickToStart', true) Īgain, the second to last thing in update () is working fineĮverything else however, is stuck on one frame. The Blob (Ultimate Smash Friends) The Awesome Possum (Ultimate Smash Friends) 15 minute character sprite. Break it, abuse it, skip the tutorial, ignore tips and tricks in. ![]() In preload: ('dude', 'assets/runner/kel2.png', ), 'Dude, Stop' is a puzzle game, where the main goal is to not follow the rules and make everybody hate you. ![]() I of course put the old sprite back in because that's the only thing I'd changed, but nope, this bug seems to be permanent. But SUDDENLY, after I added a new sprite, 2/3 of the above animations stopped working (the walk cycle, and the title). I also have an animation for a cat swishing its tail.Īll three were working fine the entire duration of the project. I have animations for my sprite (walk animations) as well as an animated title that displays to prompt the player to click (just a trick so ensure the audio will play properly). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |