Omnimaga

Calculator Community => Casio Calculators => Topic started by: Spenceboy98 on May 22, 2012, 11:03:55 pm

Title: Nyan Cat Animation
Post by: Spenceboy98 on May 22, 2012, 11:03:55 pm
I made a Nyan Cat animation for my Prizm. It's a big file, but it plays at a pretty good speed. I attach it here.
Title: Re: Nyan Cat Animation
Post by: parserp on May 22, 2012, 11:14:43 pm
I love you man! but, perhaps you could make the animation a little bigger and slower? :D
But other than that it is amazing :D :D
Title: Re: Nyan Cat Animation
Post by: DJ Omnimaga on May 22, 2012, 11:35:07 pm
Looks nice but I agree with Parser about how it should be larger (full screen?) and slower.
Title: Re: Nyan Cat Animation
Post by: Spenceboy98 on May 22, 2012, 11:50:04 pm
Well, if I made the picture full screen, the g3a file would be larger. It wouldn't be too hard though. The pic would be stretched. Would you want it stretched? Or make it so that the height is the full height and the width is scale to the height(centered too)? I wouldn't know how to make it slower. You could use Pover. So, do you want it bigger? Give me your preferences.
Title: Re: Nyan Cat Animation
Post by: MPoupe on May 23, 2012, 08:00:28 am
You may have array of images.
Then your main() could look like:
Code: [Select]
int main() {
  while(1) {
    int i;
    int key = PRGM_GetKey();
    if(key == KEY_PRGM_MENU) {  GetKey(&key); }
    for(i=0;i<NyanCatSize;i++)  {
       CopySprite(NyanCat[i], 0, 0, 160, 160);
       Bdisp_PutDisp_DD();
       Bdisp_AllCr_VRAM();
   }
  }
  return 0;
}
Martin
BTW: It seems "NyanCat.h" is not in the archive :-(
Title: Re: Nyan Cat Animation
Post by: Spenceboy98 on May 23, 2012, 03:13:28 pm
MPoupe, yeah, I forgot to put the NyanCat.h in, but I intended to. I might try that "i" thing.

Edit: Here it is stretched:
(http://img.removedfromgame.com/imgs/Nyan%20Cat(Stretched).bmp)

You want it like that? Or like this?

(http://img.removedfromgame.com/imgs/Nyan%20Cat(StretchedSquare).bmp)
Title: Re: Nyan Cat Animation
Post by: Eiyeron on May 23, 2012, 03:34:00 pm
the second option, but without zoom blur, please, use an "neareast neighbour" scale, please!
Title: Re: Nyan Cat Animation
Post by: Spenceboy98 on May 23, 2012, 03:48:46 pm
How would I not do a zoom blur? Just make it smaller than that? I don't really see much of a difference from the original.

Okay, I made a bigger one, but it does't show up on my calculator. It is a waaaaaaaay bigger file size. I attach it here. Also, I updated the first post with the NyanCat.h