Author Topic: Nyan Cat Animation  (Read 6948 times)

0 Members and 1 Guest are viewing this topic.

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Nyan Cat Animation
« 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.
« Last Edit: May 23, 2012, 04:50:57 pm by Spenceboy98 »
I like milk.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Nyan Cat Animation
« Reply #1 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

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Nyan Cat Animation
« Reply #2 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.

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: Nyan Cat Animation
« Reply #3 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.
« Last Edit: May 22, 2012, 11:52:14 pm by Spenceboy98 »
I like milk.

Offline MPoupe

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 168
  • Rating: +30/-1
  • The coder of yesterday
    • View Profile
    • My web site about Casio calculator
Re: Nyan Cat Animation
« Reply #4 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 :-(

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: Nyan Cat Animation
« Reply #5 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:


You want it like that? Or like this?

« Last Edit: May 23, 2012, 03:27:36 pm by Spenceboy98 »
I like milk.

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: Nyan Cat Animation
« Reply #6 on: May 23, 2012, 03:34:00 pm »
the second option, but without zoom blur, please, use an "neareast neighbour" scale, please!

Offline Spenceboy98

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 547
  • Rating: +59/-2
    • View Profile
Re: Nyan Cat Animation
« Reply #7 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
« Last Edit: May 23, 2012, 04:55:02 pm by Spenceboy98 »
I like milk.