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 TI-BASIC 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. TI-Basic => TI-BASIC
Author Message
Jedd
1980 Pong World Champion


Elite


Joined: 18 Nov 2003
Posts: 823

Posted: 20 Nov 2003 11:25:52 pm    Post subject:

i've been programming on my ti83 for a while, but ive never gone beyond reading the stupid booklet it came with or just trying stuff. can someone explain to me what sprites are exactly and how i can use them in my games? thanks.
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 20 Nov 2003 11:58:27 pm    Post subject:

when you have a graphical game, you dont rewrite the whole screen each time the character moves. instead, you write the "background" once, and the character or "sprite" (usually 8by8, 12by12, or 16by16 pixels) moves around over the background.
Back to top
Jedd
1980 Pong World Champion


Elite


Joined: 18 Nov 2003
Posts: 823

Posted: 21 Nov 2003 12:16:20 am    Post subject:

thanks, that makes sense now. looking around at the other forums ive got a pretty good understanding now. how would you make a sprite that covers the whole screen? or do you?
Back to top
Darth Android
DragonOS Dev Team


Bandwidth Hog


Joined: 31 May 2003
Posts: 2104

Posted: 21 Nov 2003 12:23:19 am    Post subject:

you dont. that would be a background. now, you can "scroll", or move the background as the character walks/moves, but cant think why else you would want a sprite the size of the screen...
Back to top
Arcane Wizard
`semi-hippie`


Super Elite (Last Title)


Joined: 02 Jun 2003
Posts: 8993

Posted: 21 Nov 2003 02:39:18 am    Post subject:

Keep in mind sprites are slow in basic and thus full-screen one's should never, ever, be used.

I'm afraid it might disturbe the time-space-continuĆ¼m.
Back to top
AlienCC
Creative Receptacle!


Know-It-All


Joined: 24 May 2003
Posts: 1927

Posted: 22 Nov 2003 07:17:09 am    Post subject:

You may or may not find this useful for your sprites:
TI-Basic Routines (aliencc.com)

Its something I wrote a few years back, and its almost as quick as it gets in basic if I remember correctly.

--AlienCC
Back to top
DarkerLine
ceci n'est pas une |


Super Elite (Last Title)


Joined: 04 Nov 2003
Posts: 8328

Posted: 22 Nov 2003 02:41:13 pm    Post subject:

The Sprite Usage topic has using sprites explained. Also, there are lots of sprites in the Sprites topic
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