Author Topic: Sprites, Please?  (Read 29675 times)

0 Members and 2 Guests are viewing this topic.

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: Sprites, Please?
« Reply #30 on: September 22, 2010, 03:15:29 pm »
Actually, you can display hex sprites in BASIC.
http://www.ticalc.org/archives/files/fileinfo/385/38508.html
tifreak's hex2sprite program is pretty useful.


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 MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Sprites, Please?
« Reply #31 on: September 22, 2010, 03:18:57 pm »
Ooohhhhh....How fast is that?

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: Sprites, Please?
« Reply #32 on: September 22, 2010, 03:21:11 pm »
From what I remember, this was pretty slow, though. He used it in Age Of Darkness Revenge, I think, and each sprite took 2 seconds to render on a regular 83+

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: Sprites, Please?
« Reply #33 on: September 22, 2010, 03:24:50 pm »
Considering that it's pure BASIC and it supports 3 sizes, it's not too bad.


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 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: Sprites, Please?
« Reply #34 on: September 22, 2010, 03:35:35 pm »
Yeah true. I just wasn't too sure if it would be practical in-game, since people got annoyed at The Reign Of Legends 3 map loading speed (about 3 tiles a second)

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Sprites, Please?
« Reply #35 on: September 22, 2010, 06:06:20 pm »
So if I use that, does anyone know if the pic to line converters on ticalc work?

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: Sprites, Please?
« Reply #36 on: September 22, 2010, 06:24:46 pm »
So if I use that, does anyone know if the pic to line converters on ticalc work?
Let's see, I keep making these and deleting them, so...

":
For(B,0,7 //Y Loop
For(A,0,1 //X Loop
Ans+sub("0123456789ABCDEF",1+pxl-Test(B,4A+3)+2pxl-Test(B,4A+2)+4pxl-Test(B,4A+1)+8pxl-Test(B,4A),1
End
End
End
sub(Ans,2,length(Ans)-1

That stores the Hex of an 8*8 sprite in the top left-hand corner of the screen to Ans. :)
« Last Edit: September 22, 2010, 06:25:00 pm by ztrumpet »

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Sprites, Please?
« Reply #37 on: September 22, 2010, 07:51:49 pm »
My spriter also exports the image you make into hexadecimal. But what is this picture to line thing you're talking about? Like what is done in Contra and such?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline nemo

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1203
  • Rating: +95/-11
    • View Profile
Re: Sprites, Please?
« Reply #38 on: September 22, 2010, 08:02:23 pm »
Code: [Select]
"                                       .one space
For(A,0,15
Ans+sub("0123456789ABCDEF",sum(seq(2^(3-B)pxl-Test(iPart(A/2),B+8fPart(A/2)),B,0,3))+1,1
End
sub(Ans,2,16

i think this is the smallest way to get an 8x8 sprite to hex in basic. written by yours truly. it's probably the slowest too, though. but speed is negligible in this situation, i think.


Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Sprites, Please?
« Reply #39 on: September 22, 2010, 10:50:12 pm »
Ok, I have no idea what sprites you are using, but I'm assuming the ones that are in this thread. So, I took each picture and made a .bmp file of each one pressed into the top left corner. That way if you wanna manually put them on your calculator you can. If you don't then I have put the picture files in the .zip file too. I also got the hexadecimal code for each one and typed it out into the .txt file that is there. Also, just in case of some typos, I put the actual string of hexadecimal code for each one there too. I will work on a program that will take a image on the graph screen and with a few simple inputs will convert it into line commands from a list.

If you want to move the picture around to a different part of the screen you can use the program I created here.
« Last Edit: September 22, 2010, 10:50:31 pm by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Sprites, Please?
« Reply #40 on: September 22, 2010, 11:15:47 pm »
The programs I am talking about (pic to line) are like these:
http://www.ticalc.org/archives/files/fileinfo/379/37930.html
http://www.ticalc.org/archives/files/fileinfo/231/23126.html

Thanks, meishe.  Did you have to resize the bitmap?  When I tried, the quality on calc was greatly dimished.

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: Sprites, Please?
« Reply #41 on: September 22, 2010, 11:20:53 pm »
Mhmm I wonder how reliable those are. I should try them out someday. Do they create massive files for complex pics, though?

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Sprites, Please?
« Reply #42 on: September 22, 2010, 11:22:48 pm »
Yeah, that's what I was wondering.  The second one looks a little better (just based off the description)

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: Sprites, Please?
« Reply #43 on: September 22, 2010, 11:23:48 pm »
Graphmastur also made such program before, but with complex pics (such as Illusiat 13 title screen) you get an ERR:MEMORY and it takes minutes to display/convert.

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Sprites, Please?
« Reply #44 on: September 22, 2010, 11:39:06 pm »
Is there a copy of that around here?  I trust graphmastur's work more than some file from ticalc.