I MUST KNOW PLEASE RESPOND
Alright, here's my story. I've been working my ass off forever because when I'm older I hope to work for a company that makes video games and be a programmer. So, I looked through this and I knew almost all of it. Question!!!:
The part with the madness character and the jumping. When you have the code:
if (Key.isDown(Key.SPACE) && !jumping) {
the !jumping part, does that create a statement? Or is that a set function? What I mean is, could I create something like,
!hitpoints
and and then a new statement would be hitpoints?
So if I assigned a movie clip (badguy) with a certain amount of "hitpoints" using that kind of code, and had it minus whenever he was hit, I could just have the code subtract from "hitpoints"? I don't make much sense, I know, sorry but this would be a huge breakthough for me I this is true. So many more possibilities!!! Thank you so much!
-Evan Greenstone