I definitely think it would be possible. Lots of animations and images would be needed, but now with image flipping that should help some. You could just make their animations change based on the location of the main character.
GamersRejoice said: I definitely think it would be possible. Lots of animations and images would be needed, but now with image flipping that should help some. You could just make their animations change based on the location of the main character.
yes, but for one character, you will need like 50 images just for rotation, lol.
It's possible, but you'll never be able to play this on 3gs or lower, not with gs (: If done exactly like that I mean, with LOTS of enemies, particles for weapon and all. For the rotation, you simply check the angle of the vector between player and enemy, and change animations set accordingly. So if angle is between value and value, animate like this, elseif and so on. About the sprites required, you can just have two frame for walking (they're zombie, so little steps), with 8 direction of rotation, that makes 16 frame per character.
Yeah, I know that ANgle Stuff, but not sure if it will work even on a iPhone 4, because you need to much images, Like 1 every 5 Degress.. something like that, Lol. Or You think with Less images will be ok?
I would think that up, up right, right, right down, and down images would work great. Then you could just flip the up right, right, and right down images.
actually, in age of zombies, they seem to have just 8 direction. So one set each 45°. As I said, if you just use two images for the walk, you can manage with 16 images for enemy, which isn't too bad. Then it depends if gamesalad makes use of images already stored in memory, so that each image set is loaded only once and you can create 10 or more same enemies without having all the sets loaded in ram each time. EDIT: yeah, forgot they added flip sprites (: So that would be 8 images, even less.
Comments
For the rotation, you simply check the angle of the vector between player and enemy, and change animations set accordingly. So if angle is between value and value, animate like this, elseif and so on.
About the sprites required, you can just have two frame for walking (they're zombie, so little steps), with 8 direction of rotation, that makes 16 frame per character.
Cheers.
But it wouldn't require TOO much work to animate the game in a similar fashion. You would just need 5 directions total, and 3 would be image flipped.
EDIT: yeah, forgot they added flip sprites (: So that would be 8 images, even less.