Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do i set the image/texture of an LHSprite that is loaded into xCode using levelHelper & spriteHelper?

I am using sprite sheets. So i tried to load the image the old fashioned way using CCSpriteFrameCache, but unfortunately it isnt recognizing the .pshs file :( Any Help would be great!

share|improve this question
up vote 0 down vote accepted

I have figured it out, I just added another animation which consists of 1 frame, then when i need it, i play the animation:

[mySprite stopAnimation]; //Stops CurrentAnimation
[mySprite prepareAnimationNamed:@"jumpAnimation" fromSHScene:@"Jungle"];
[mySprite playAnimation];
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.