0
votes
0answers
2 views

Long 2D animation

I know that XNA supports spritesheets at a maximum size of 4000x4000px. How to do a long animation when a frame has 500x500px for example ? I want to keep the quality so, I don't want to use smaller ...
0
votes
0answers
49 views

What's the function to Stretch a sprite?

My goal is to find the function to stretch a sprite like my example below, and then get it to animate during a certain time. It is like an interpolation, where the starting point is the original ...
1
vote
1answer
560 views

Loading images in XNA 4.0; “Cannot Open File” Problems

Okay, I'm writing a game in C#/XNA 4.0 and am utterly stumped at my current juncture: Sprite animation. I understand how it works and have all the code in place, but my ContentLoader won't open my ...
0
votes
2answers
156 views

Why does my sprite animation sometimes runs faster? [closed]

I don't know why each time I call the Update_Animation function, my sprite animation runs faster. Is it caused by gameTime? How to fix it? Here's the relevant code: class Character { // ...
2
votes
0answers
224 views

Animation library for XNA [closed]

I'm looking at implementing an existing XNA Animation library into my engine. I would ideally like to be able to use BVH animations, but I'm not sure on which is a good library to work with. Any ...
2
votes
1answer
441 views

XNA: Good way to queue up animations

I'm writing an AnimatedSprite class that has an Animation object (which itself contains a sprite sheet). The AnimatedSprite plays certain animations during key input. My problem is that how do I ...
2
votes
1answer
282 views

When animating sprites, why subtract frametime when switching between sprites instead of resetting elapsed time to zero?

I am currently on chapter 3 of the book "Learning XNA 4.0". At the end of this chapter is a section on changing the animation speed of sprites. timeSinceLastFrame += ...
2
votes
1answer
438 views

Xna GS 4 Animation Sample bone transforms not copying correctly

I have a person model that is animated and a suitcase model that is not. The person can pick up the suitcase and it should move to the location of the hand bone of the person model. Unfortunately the ...
3
votes
2answers
630 views

XNA 4.0: Trouble Aligning an Animating Sprite (Texture Origin)

I'll try to explain this as best as I can. I'm trying to build a game where there exists a "Surfer" who is surfing down a rail. I have a sprite sheet for the surfer however I have been running into ...
0
votes
2answers
327 views

XNA 4.0: Animating a moving 2D sprite (not via user input)

I see a lot of tutorials explaining how to do 2D Sprite Animation with sprite sheets, based on the user's input (i.e. Move Left, Move Right ) etc.. etc.. I have already incorporated an ...