I have been (trying to) porting a bullet engine over to another game code for some time now. One of my hiccups is that fact that the character isn't firing the bullet, despite my best efforts. I have a Bullet class and a BulletCache class.
One of my big question relates to the use of the method:
-(id) initWithBulletImage
{
// Uses the Texture Atlas now.
if ((self = [super initWithSpriteFrameName:@"bullet1big e0000.png"]))
{
}
return self;
}
This method is supposed to use the Zwoptex texture pack: however, my bullet texture pack features 8 bullets facing in 8 different directions, and it is its own texture pack; the game came pre-loaded with other item Packs and they are all in the same texture; mine isn't. I have bullet1big.plist file as well, but I am stumped where I need to go from here. Do I need to instead call a CCAnimation method to call the texture of bullets (so that it knows which bullet to fire in each direction?)