At 2/18/25 02:57 PM, coolCartz427 wrote:At 2/18/25 02:51 PM, coolCartz427 wrote:At 2/18/25 12:45 PM, CrimsonKero wrote:At 2/18/25 12:28 PM, coolCartz427 wrote:At 2/18/25 12:00 PM, CrimsonKero wrote:At 2/18/25 11:59 AM, coolCartz427 wrote:At 2/18/25 11:47 AM, CrimsonKero wrote:At 2/18/25 11:35 AM, coolCartz427 wrote:At 2/18/25 10:58 AM, CrimsonKero wrote:At 2/18/25 09:37 AM, coolCartz427 wrote:im sorry to bother and keep talking but im just making sure that ppl are still engaged in this cuz i rly want to learn and create in this program. its hard to live life and at the same time think ppl ignore you. this will be the only time i vent i swear on harambe's grave (heh heh he's a monke)
but thx to the ppl who are coming here and teaching me! i rly appretiate it and i hope to do more with yall :P
Anyway, here's the raw file (from the image you couldn't see)
https://www.newgrounds.com/dump/item/0a5fa4ee6488a4d8c95fffecd522d800
oh alright so is this just an example for me to use on my own pacman project? just kinda confused. as if im not that enough lol
Read the comments and compare to your own project.
already im seeing the improvements. its looks a lot cleaner. i really have to thank you its great getting help. u made this?
Yes, in half an hour, using only your code as reference.
Remember to display the "cosmetic" costumes AFTER all the collision checks are made.
ok im sorry that im back yet again. i somewhat put the code from yours into mine and the movment is good pretty much like he doesnt twitch when touching a wall, but im having trouble with costumes and sometimes getting stuck. just tell me whats wrong and ill fix it. i wanna do this by myself :]
(and i just figured out i cant use the dump. aw man.)
My version is dependent on the costume name being the way it is.
The code says "switch costume to join(P) (variable)", so your costumes need to be named P0, P1, P2, P3 and P4, for it to work.
Furthermore, the costume variable also animates the death sprite, so animate Pacman dying with 11 extra frames going up to 15. My project should contain the exact graphics for reference.
omg thx for the dump access! so btw i changed the costumes to P_ and it now does show the pacman frames which is sweet. however the purple hit box still shows up and pac is still openign and closing his mouth when against the wall so ill send you the project zip and thatll make it a lot easier.
nvm im confues as hell. i feel too needy with this stuff but i dont want to be. its hard to feel like ur so unintelligent or stupid. idk if i can still do the pacman project or start with something more easier.
it is crucial that you develop the following skills:
- follow exact behavior of a piece of code step by step during execution using your brain or pen & paper
- calculate exact outcome of a piece of code using your brain or pen & paper
- compare the behavior of two codes (e.g. two alternatives, or old version vs. new version)
exactness. never guess. these three skills must be developed mostly unassisted. you need to be completely independent from explanations from AI or from experts. you need to conceive explanations yourself. a teacher is only helpful if Socratic method is applied (but in lack of thereof one you can apply it yourself on yourself).
set apart substantial time to analyze your code and develop a complete picture of the entire program
if you applied the advice of people blindly, you did it wrong. so keep this in mind: every time you receive help, do the following:
- determine exactly the faults of the current implementation using your brain
- determine exactly the differences between current and suggested implementation (using your brain)
- take time to understand completely every new construct you face (reading lots of documentation etc.)
when you are learning, most time needs to be spent studying and analyzing and less coding or asking for help. but keep asking for help, technology is full of perils and traps and dead ends and red herrings.
and when you face difficulties, do ask for help, but before doing so, try to figure out the root cause of the problem, hypothesize fixes, make experiments etc.
p.s.: regarding the thing that blocks pictures: that's okay, maybe that's more healthy in the current era, and you are forced to read more anyway, which is again healthy. always trust your parents. always trust their decisions and respect them. always remember that they are your only real reliable friends in the very long run
</lecture>