hmm. Problem with sprite animation managers like this is that one you have a sprite sheet where every image on it isnt the same width and height the rectangle you set in the constructor of the new animation doesnt work for all of the images in the animation. And that is rather difficult to fix in code....
@XxArkhamxAsylumxX I do apologise. This has always worked for me. And the height and width of each image wasn't my fault.. I'm not a designer and such :3
This is probably the best and simplest tutorial I've seen on XNA sprite animation. I have been looking for something like this for far too long. Awesome work man!
@KingGoomba19 I have uploaded one in the comments (Unfortunately it didn't upload as a PNG).
But basically, it's a line of images and you can only see one image at a time. When pressing a button, the image will scroll, giving the impression that the image is moving.
Oh I think I'm gonna skip over all the stuff that beginners want to know about.... ffs.
Capature 3 weeks ago
@Capature There are 10 tutorials before this for a reason.
oyyou91 3 weeks ago 4
thanks man just started on XNA from C# last minth grwat help...
johnkav105 1 month ago
Comment removed
Snoken2ss 2 months ago
Argh, it says that it can't find "flame man". Should i save the file in regular png, or something else?
Snoken2ss 2 months ago
@Snoken2ss Have you put the picture in the right place? And is the name the same in the code as it is in the file?
oyyou91 2 months ago
@oyyou91 Nevermind, i fixed it ;) Thanksfor this tutorial! I love you! (No homo)
Snoken2ss 1 month ago
@oyyou91 how come my image doesn't give the impression that it's moving? o.O...it only shows the same exact pose...I used the Flame Man too btw...
florachu2121 2 months ago
@florachu2121 Are you updating the movement?
You'll have to double check your code and compare it to mine.
oyyou91 2 months ago
@oyyou91 yeah i did recheck 10 times before i posted a comment T___T
why oh why cruel world...
florachu2121 2 months ago
@florachu2121 That's odd.. To say the least.
oyyou91 2 months ago
hmm. Problem with sprite animation managers like this is that one you have a sprite sheet where every image on it isnt the same width and height the rectangle you set in the constructor of the new animation doesnt work for all of the images in the animation. And that is rather difficult to fix in code....
XxArkhamxAsylumxX 3 months ago
@XxArkhamxAsylumxX I do apologise. This has always worked for me. And the height and width of each image wasn't my fault.. I'm not a designer and such :3
oyyou91 3 months ago
nice, nice ;)
omgimtheboss 3 months ago
This is probably the best and simplest tutorial I've seen on XNA sprite animation. I have been looking for something like this for far too long. Awesome work man!
TheOlympians2S2K 5 months ago
What can and does a sprite sheet look like?
KingGoomba19 7 months ago
@KingGoomba19 I have uploaded one in the comments (Unfortunately it didn't upload as a PNG).
But basically, it's a line of images and you can only see one image at a time. When pressing a button, the image will scroll, giving the impression that the image is moving.
oyyou91 7 months ago
show us your projects! ( castle defence and pokemon! ;D ) anyway nice job. really nicely explained
alfaxen1 8 months ago
@alfaxen1 Aha no! I'm keeping them to myself until I've finished, then I shall share them :P
And thank you (:
oyyou91 8 months ago