figuring out gravity now
figuring out gravity now
shoutout to this thread for giving the code i needed to fix this bug, so I can finally consider this bug a close! 
also figured out that the screen bug is most likely caused by my OS so i’ll test it out when i’m done with this code!
can finally focus on adding more features to the code
gonna work on adding the sleeping animation now. gotta give a concept of energy!
Tasks:
to add:
bugs to fix:
honestly did nothing but stare at my code
kidding, i’ve been looking for ways on how to remove the bug that causes the pet to push thru with the code after
finally figured out how to add audio and stuff to the charge and attack. Plus! Shoutout to my frfiend who gave me the idea of adding audio
Because of this tho, I ended up discovering a bug that the timer still pushes thru despite the code supposedly ending. probably gonna be my next fix
(p.s. I just remembered that this is a gif and you cant hear the audio haha… so you’ll only see the bug take place in the gif)
TASK UPDATES (you may ignore this!)
to add:
bugs to fix:
after holding piplup for some time, it will start charging up. Once he is released, he will shoot at you!
figured the code when I put two and two together hehe. I’m sure there’s an easier way to do the code somehow, but if it ain’t broke, dont fix it!
TASK UPDATE:
to add:
bugs to fix:
got the press and hold thing to work! spent the whole log minutes searching how to do it, and encountered waaaay too many complicated when the code just ended up being this: await get_tree().create_timer(4).timeout
cant say i wasnt frustrated to see it work hahaha! right now, i’m figuring out how to trigger the attack on release and have it charge in the background
to add:
bugs to fix:
added an animation when piplup gets dragged!
might add the ff:
bugs to fix:
got lil bro to move around the screen
when it reaches the left side of my screen tho, it doesn’t actually go fully to the left of my screen so it ends up not bouncing off. can someone help? for context, this part of the code was done up until the 2nd to the last step of the idle code
I’m an ultimate beginner when it comes to stuff like this so do pls bear with me! any help is appreciated 
hackatime just didnt let me post but just been following the tutorial rn