Omnimaga

Calculator Community => TI Calculators => Calculator C => Topic started by: MathStuf on July 21, 2005, 02:51:00 pm

Title: Sprite Manipulator
Post by: MathStuf on July 21, 2005, 02:51:00 pm
http://nerdyproductions.sobertillnoon.com/programs/sprites.php will take data from a sprite and convert it to a format or shift/flip it. It will also interlace grayscale so that it works with the TileMap that comes with ExtGraph.
Title: Sprite Manipulator
Post by: DJ Omnimaga on July 21, 2005, 02:58:00 pm
nice :)smile.gif

btw about the grayscale interlacing does it actually interlace it to reduce the flickering effect or just for other purposes? on the 83+ we have to interlace it to reduce the flickering effect
Title: Sprite Manipulator
Post by: MathStuf on July 22, 2005, 04:11:00 am
The TileMap engine requires it to be interlaced. But sprites themselves need to be separate planes (unless ExtGraph expands to accomodate them). BTW, I had no idea that it had to be interlaced on the 83+...I made interlacing in the script for TileMap thinking that it was the only place it was going to be used...
Title: Sprite Manipulator
Post by: DJ Omnimaga on July 23, 2005, 12:59:00 am
ah cool then. I wish I had a program that takes a grayscale sprite (3 level, 4 level, 5 level, etc) and make all the layers with checkered pattern I need for making grayscale in my BASIC games, that would save me lot of time for sprite making, which is the hardest part of making grayscale games in BASIC
Title: Sprite Manipulator
Post by: necro on October 08, 2005, 02:39:00 pm
QuoteBegin-Kevin+23 July 2005, 6:59-->
QUOTE (Kevin @ 23 July 2005, 6:59)
ah cool then. I wish I had a program that takes a grayscale sprite (3 level, 4 level, 5 level, etc) and make all the layers with checkered pattern I need for making grayscale in my BASIC games, that would save me lot of time for sprite making, which is the hardest part of making grayscale games in BASIC  

 could you make a demo of the grey scale effects showing how you interlaced the pics...maybe I could come up with some thing
Title: Sprite Manipulator
Post by: DJ Omnimaga on October 08, 2005, 03:15:00 pm
I need to make new sprites first O_Oshocked2.gif
Title: Sprite Manipulator
Post by: MathStuf on October 08, 2005, 03:41:00 pm
I may have a multi-planed version (other than 1 and 2) working by the end of next week if I work on it. I've actually been fixing some things recently in it and making it remember what you last did with it (like height, width, and the like).
Title: Sprite Manipulator
Post by: DJ Omnimaga on October 08, 2005, 03:47:00 pm
I need to post how I make 4-5 level grayscale sprites for xLIB someday. Its quite complicated but maybe someone could make a sprite/tilemap  editor that convert the pics into all the appropriate layers
Title: Sprite Manipulator
Post by: MathStuf on October 08, 2005, 03:48:00 pm
Once you make it, my script could interlace it. (And I get multi-planing done).
Title: Sprite Manipulator
Post by: DJ Omnimaga on October 08, 2005, 03:56:00 pm
would be cool :)smile.gif

5 level grayscale isnt really worth it for z80 calcs, 4 level do a good job, but would be cool anyway for title screens :)smile.gif
Title: Sprite Manipulator
Post by: necro on October 09, 2005, 03:16:00 am
QuoteBegin-Kevin+8 October 2005, 21:56-->
QUOTE (Kevin @ 8 October 2005, 21:56)
would be cool :)smile.gif

5 level grayscale isnt really worth it for z80 calcs, 4 level do a good job, but would be cool anyway for title screens :)smile.gif

 well, I came up with my own way and I am working on a basic program to create a sprite and put it onto the pics of your choice with dithering, I also found that dithering/interlacing entire pics of gray scale in 4 or 5  would be incredibly slow and complex in basic (and would require a large amount of free ram, lots of masterful string manipulation, ect) so I stopped trying at it.

hope to get it up and working soon for upload.
Title: Sprite Manipulator
Post by: Spellshaper on October 09, 2005, 08:51:00 am
nice one!


I personally think 5 or 4 level grayscale on the Z80 series isn
Title: Sprite Manipulator
Post by: DJ Omnimaga on October 09, 2005, 09:12:00 am
err I think you are confusing gs levels. Actually desolate is 4 levels: black, dark gray, light gray and white. Reuben is 3 level: black, medium gray and white. 5 level is the max I could get to look decent with black, dark gray, medium gray, light gray and white but I think its better to stick with 3-4 levels so its easier to make sprites on the computer
Title: Sprite Manipulator
Post by: MathStuf on October 09, 2005, 09:21:00 am
Oh, I was talking planes (which creates 2^(number_of_planes) colors available). The script does B/W and 4-color grayscale already.
Title: Sprite Manipulator
Post by: DJ Omnimaga on October 09, 2005, 09:39:00 am
well I was talking to spellshaper :Pblah.gif
Title: Sprite Manipulator
Post by: MathStuf on October 09, 2005, 09:42:00 am
What you posted let me know that I don't need to update the manipulator :)smile.gif .
Title: Sprite Manipulator
Post by: DJ Omnimaga on October 09, 2005, 09:49:00 am
well I might post the pic layers so you know how I make 4 level grayscale look good in 83+ BASIC but its extremly complicated and tedious to do all that by hand :(sad.gif
Title: Sprite Manipulator
Post by: necro on October 10, 2005, 02:10:00 pm
Ok, it works for three level...I still need to test four level.  The question is, would you rather have a version that just gives you a 8X8 grid to adjust the values of, and just give out the 0/1 pattern for each buffer of the sprite or should I make a complex method to draw the sprites?