Author Topic: Sprite request for Nostalgia  (Read 84727 times)

0 Members and 1 Guest are viewing this topic.

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: Sprite request for Nostalgia
« Reply #285 on: October 28, 2010, 10:02:54 pm »
Would RLE compression be efficient for this? I wonder if it would be too slow...

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Sprite request for Nostalgia
« Reply #286 on: October 28, 2010, 10:04:52 pm »
He could also make the 'medium sized' ones into multiple sprites displayed on a black background so that he doesn't have to save as much empty space.
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite request for Nostalgia
« Reply #287 on: October 28, 2010, 10:19:50 pm »
Actually, there's a lot of compression he could do. The middle line could be represented as either a series of lines stacked vertically, sprites linked horizontally, or simple filling of the buffer data inside the line with $FF. I'm not sure which of these would be most compact, but he could simply do trial and error to see which works best. The comet-like image would best be represented as one combination of sprites that is simply redrawn at different x values every frame, and vertically flipped every other frame. As for the four-pointed star and the explosions, they have 4 and 7 distinct sizes respectively, the images for which would each have to be stored, but only once. They could then be redrawn in whichever multiple frames they appear in. Even better, these two shapes are symmetrical both horizontally and vertically, so you would only need sprites to represent one quadrant for each scaled version and draw the other three quadrants by flipping the sprites horizontally, vertically, or both.

EDIT: Scratch the line drawing idea, forgot you can't draw white lines.
« Last Edit: October 28, 2010, 11:37:23 pm by Runer112 »

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: Sprite request for Nostalgia
« Reply #288 on: October 29, 2010, 03:15:34 am »
About white lines, couldn't he just inverts the screen then draw black lines the re-invert the screen (to get around the lack of white lines support)?
« Last Edit: October 29, 2010, 03:15:58 am by DJ Omnimaga »

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite request for Nostalgia
« Reply #289 on: October 29, 2010, 04:44:22 pm »
In case you were wondering, I've been working on this for you FinaleTI. So far I have the first 9 frames done at only about 800 bytes. With things like the header and the Pt-On() ignored, as these would already exist if it were part of your larger program, it's more like 650 bytes.

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Sprite request for Nostalgia
« Reply #290 on: October 29, 2010, 04:49:56 pm »
Thank you so much, Runer!


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite request for Nostalgia
« Reply #291 on: October 29, 2010, 05:37:00 pm »
The hardest part is making a routine to draw horizontally and vertically symmetrical sprites of arbitrary size correctly, so you'll only need one quarter of the data you would otherwise need for the star and explosion images. But it's coming along.

EDIT: Now the hardest part is converting about 800 bytes of picture into 100 individual 8x8 sprites.
« Last Edit: October 29, 2010, 10:23:21 pm by Runer112 »

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: Sprite request for Nostalgia
« Reply #292 on: October 29, 2010, 11:20:13 pm »
wow nice. That seems hard, though. Good luck! Will there be a lot of hard coded stuff??
« Last Edit: October 29, 2010, 11:20:44 pm by DJ Omnimaga »

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Sprite request for Nostalgia
« Reply #293 on: October 29, 2010, 11:32:59 pm »
I do have some BASIC programs I made to grab 8x8 sprites from a picture, I you wanna use them. They do require Celtic III/DCS7, but I could change that if you need.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline Runer112

  • Moderator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2289
  • Rating: +639/-31
    • View Profile
Re: Sprite request for Nostalgia
« Reply #294 on: October 30, 2010, 12:39:02 am »
Enjoy :) Subtract the header and the size of the Pt-On() routine and it's only slightly larger than 2 pictures!
« Last Edit: October 30, 2010, 12:52:08 am by Runer112 »

Offline Magic Banana

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 371
  • Rating: +77/-1
  • It's not an apple, it's a ... magic banana.
    • View Profile
Re: Sprite request for Nostalgia
« Reply #295 on: October 30, 2010, 03:07:35 am »
I'm not sure what's more impressive: the compression used to make this or the amount of detail in those comments.

Either way, it looks great on calc. Nice work, Runer112 ;D
I do sprites and stuff, so yeah.

Quote from: yunhua98
i'M NOT SURE WHAT A SWORD SKILL IS BUT HERE'S THE SWORD ANIMATION FROM THE TWO SPRITES ON PG 13

Offline shmibs

  • しらす丼
  • Administrator
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2132
  • Rating: +281/-3
  • try to be ok, ok?
    • View Profile
    • shmibbles.me
Re: Sprite request for Nostalgia
« Reply #296 on: October 30, 2010, 05:11:28 am »
Runer: that is amazing and i now know who to contact(assuming you have the time) when trying to deal with picture compression(which i am anticipating to be a huge issue in what i am currently working on)

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Sprite request for Nostalgia
« Reply #297 on: October 30, 2010, 05:13:01 am »


That is reallly goood!
« Last Edit: October 30, 2010, 05:13:14 am by ScoutDavid »

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Sprite request for Nostalgia
« Reply #298 on: October 30, 2010, 08:45:04 am »
Enjoy :) Subtract the header and the size of the Pt-On() routine and it's only slightly larger than 2 pictures!
Thank you so much! Now I can try to finish up the map routine. ;D


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Sprite request for Nostalgia
« Reply #299 on: October 30, 2010, 09:24:06 am »
Wow, great job Runer!  Thanks! ;D