ZeldariaLvl 41
... * waits for something to happen *
... * waits for something to happen *
Your problem is the while loop, you do not need it, the CDO collision should take care of it
wow anyway I am back and ready for action! how are you doing zeldaria? I think that I just had probably the worst day at school in this entire school year but so far I am doing fine!
ok but what about fixing the position glitch? How do I get the player to go PAST Y 300 without it breaking??
OH OH OK i see
click debug sprites on the debug console and you'll see your problem
the player hitbox is too tall, fix the sprite drawing
theres a button to the right of the animation editor which removes all blank space
ok!
HA-HA PERFECT! YESSSSSSSSSS
hello there! I am back and ready for action as I said in another discussion to add clarity. I am ready to talk. Let's hope you are willing to listen
Zeldaria
ok good but I think you should still listen about that jump system
So how are ya doing? Zeldaria
*fixes gravity *
OMG BOING BOING BOING (it makes the player jump like a frog XD)
I see what you are trying to do. I wonder...
Also quick question, when you create a sprite using group.add(createSprite());
, what do you then call the sprite created?
I need to know so I can basically create a thing where you touch a group sprite and then after a set amount of time, it destroys that sprite alone;
I can probably do a group.remove(sprite) but I need the name of the sprite 1st
Zeldaria
because you havent defined the sprite as a variable, you have to access it like
group[numberthatspriteisinthegroup]
for example,
group[0].x += 1;
//moves the first sprite in the group
ah ok! Thx!
Here's the reason I asked: I'm adding platforms that, after you touch them, disappear after a few seconds and I needed to figure out how to y'know access the sprite so it is specific to what platform the player is touching and stuff
And--the BROKEN group is literally BROKEN
it won't destroy the sprite you touch at ALL!
HOW AM I SUPPOSED TO ONLY DESTROY A SPECIFIC SPRITE IN A GROUP WITHOUT HAVING TO DO A BUNCH OF NAMING JUNK?!
Zeldaria
hold on let me do a rlly easy asignment then Ill help