This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's z80 & ez80 Assembly subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. Z80 & 68k Assembly => z80 & ez80 Assembly
Author Message
Ben Trettel


Member


Joined: 17 Jul 2003
Posts: 153

Posted: 14 Sep 2003 02:49:04 pm    Post subject:

I asked Adm.Wiggin about his sprite program, and he said it wasn't stable and isn't efficient yet. Could someone make a sprite program that reads the sprites from strings in a hex format, and a string can store many sprites all the size specified. Something like this:
{2,8,1,0,0,0:Asm(prgmSPRITE
String #, Size(Same for X and Y), Sprite #(In the string), Sprite location X, Sprite location Y, Logic(AND/OR/XOR/Ect)

Something like that. Razz Could someone make a prog like this quickly for me?
Back to top
Tyraniek


Member


Joined: 07 Jun 2003
Posts: 133

Posted: 15 Sep 2003 12:20:14 am    Post subject:

That's not easy. But it is interesting and possible to do in asm ! However, I don't have enough time...

Could you a little bit more explain how you would use it (I don't really understand how you use String # and Sprite #. And what would your string look like ?)
Back to top
JacobdeHaan


Member


Joined: 10 Jul 2003
Posts: 165

Posted: 15 Sep 2003 01:01:43 am    Post subject:

Well, I won't even think about attempting this, but I would like to know how you plan on doing it, so I have the same questions as Tyraniek.
Back to top
Ben Trettel


Member


Joined: 17 Jul 2003
Posts: 153

Posted: 15 Sep 2003 04:56:48 am    Post subject:

The string would look like a bunch of hex code slammed together. Or another form of code, like binary. Sprite # would chose a sprite in the "list". If the size of the sprite was 8, it would skip whatever the size of 64 pixels in hex code is that many times in the string, chop of the size of 64 pixels from that spot and draw it on the graph screen.
I figured a way like that would save space compared to useing Pics with OmniCalc, because the size of the file is not limited and can be smaller than pics. I need this numbered system because that's pretty much how I store my levels in my RPG. Back several months ago(Around March), I make the calculations to use OmniCalc in a way like this. This program I described would elimiate the need for such calcuations, so if the program is as fast or faster than OmniCalc, my program would be faster than before, so a program like this would be very useful to me.
Sometimes I wish I knew asm...
Back to top
Adm.Wiggin
aka Tianon


Know-It-All


Joined: 02 Jun 2003
Posts: 1874

Posted: 15 Sep 2003 07:59:51 pm    Post subject:

i replyed to you... check ur pms...
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    »
» View previous topic :: View next topic  
Page 1 of 1 » All times are UTC - 5 Hours

 

Advertisement