Author |
Message |
|
elfprince13 Retired
Super Elite (Last Title)
Joined: 11 Apr 2005 Posts: 3500
|
Posted: 16 Sep 2005 07:45:31 pm Post subject: |
|
|
File Name :: The no-Lib TI-Basic guide Maps and Sprites
Author :: elfprince13
Category :: Ti-83plus Basic Routines
Description ::
A lengthy and detailed guide to programming sprites and maps in ti-basic without the use of Asm-libs. Examples are for the 83+ series, but it can be applied to the other calcs as well.
Credits for examples:
BomberMan - Travis Fischer
Donut Quest and FindSprite - Mikhail Lavrov (DarkerLine)
QuestGRPG - me (elfprince13)
Updated Wed, Nov 30 2005 9:26 pm
View File |
|
Back to top |
|
|
Weregoose Authentic INTJ
Super Elite (Last Title)
Joined: 25 Nov 2004 Posts: 3976
|
Posted: 16 Sep 2005 08:41:49 pm Post subject: |
|
|
Nice... This is very well done. The information has fine structure and contains plenty of important tips, both novice and expert. The sprite rotation table near the bottom is invaluable. I can tell that you really put some effort into this—good job! :biggrin: The optimizing is good practice, but I'd like to see just how much of that every reader can change for him or herself.
Last edited by Guest on 16 Sep 2005 08:42:12 pm; edited 1 time in total |
|
Back to top |
|
|
elfprince13 Retired
Super Elite (Last Title)
Joined: 11 Apr 2005 Posts: 3500
|
Posted: 18 Sep 2005 03:36:56 pm Post subject: |
|
|
Thnx...It took me three days to do this. There IS a reason I recommended it for advanced programmers. and quest could probably have about 100 bytes cut out of it too. It also took forever too find those fonts. the main website on google that had a link to them was down (fast_rpl), and I couldnt find them on ticalc.org either. even education.ti.com didn't have them |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 18 Sep 2005 03:53:24 pm Post subject: |
|
|
TI-Connect has those fonts I think. |
|
Back to top |
|
|
elfprince13 Retired
Super Elite (Last Title)
Joined: 11 Apr 2005 Posts: 3500
|
Posted: 18 Sep 2005 08:03:06 pm Post subject: |
|
|
TI-Connect install a different font set, with different names. they look different too...I checked. Graph-LInk does install those fonts, but I have dial-up and my parents make me log my online minutes
Edit:
I hope Kevin sees this file.....perhaps grayscale without Omnicalc would be possible, with some modifications to the example progs in here.
Last edited by Guest on 18 Sep 2005 08:15:20 pm; edited 1 time in total |
|
Back to top |
|
|
DJ Omnimaga http://i-lost-the-ga.me
Calc Guru
Joined: 14 Nov 2003 Posts: 1196
|
Posted: 01 Oct 2005 09:44:11 am Post subject: |
|
|
sry for taking that long to add it to Omnimaga archives :ninja: |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 01 Oct 2005 10:54:38 am Post subject: |
|
|
elfprince13 wrote: I hope Kevin sees this file.....perhaps grayscale without Omnicalc would be possible, with some modifications to the example progs in here. [post="56246"]<{POST_SNAPBACK}>[/post] I have attempted pure Basic grayscale... when it is gray it still doesn't look right... at least not when the whole screen is grayscale. Individual pixels are possible, individual lines are possible...
Last edited by Guest on 02 Oct 2005 05:53:33 pm; edited 1 time in total |
|
Back to top |
|
|
DJ Omnimaga http://i-lost-the-ga.me
Calc Guru
Joined: 14 Nov 2003 Posts: 1196
|
Posted: 01 Oct 2005 12:24:58 pm Post subject: |
|
|
homescreen grayscale is possible, I tried, but it doesnt look fine on the SE because of the slow LCD drivers |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 01 Oct 2005 12:38:22 pm Post subject: |
|
|
Yeah, well, I'm of the opinion that even if you had homescreen grayscale the homescreen ugly would outweigh the grayscale pretty. |
|
Back to top |
|
|
elfprince13 Retired
Super Elite (Last Title)
Joined: 11 Apr 2005 Posts: 3500
|
Posted: 01 Oct 2005 07:41:21 pm Post subject: |
|
|
I've done crappy grayscale with this
while 1
recallpic 1
recallpic 2
clrdraw
end
it would work for a title screen, or single screen map, and sprites could be done with a set of pointOn, pointOff commands.....it just don't lnow how well it would work. |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 01 Oct 2005 08:02:52 pm Post subject: |
|
|
For drawing tiles, in theory, one could do something like:
For(each tile
RecallPic 1
draw 1st part of the tile
StorePic 1
RecallPic 2
draw 2nd part of the tile
StorePic 2
ClrDraw
End
'twould be slow though... |
|
Back to top |
|
|
elfprince13 Retired
Super Elite (Last Title)
Joined: 11 Apr 2005 Posts: 3500
|
Posted: 01 Oct 2005 08:10:45 pm Post subject: |
|
|
oh yeah...it would be fun to do just to prove a point though |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 01 Oct 2005 08:24:28 pm Post subject: |
|
|
*le sigh* If only 83+ Basic had a RplcPic command...
I've found another neat trick while thinking about this though, good perhaps for grayscale text. Write something on the homescreen, then write something on the graph screen using the large font. You can then quickly switch between the two using
Code: Repeat 0
Disp
DispGraph
End
Almost no flicker.
Edit: is there any quick, simple function that will always make the current graph screen "dirty"? (so that it is regraphed or cleared when next shown)
Last edited by Guest on 01 Oct 2005 08:26:28 pm; edited 1 time in total |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 01 Oct 2005 09:20:00 pm Post subject: |
|
|
Maybe assign something to Y1, like Y1 itself?
Y1->Y1 |
|
Back to top |
|
|
Weregoose Authentic INTJ
Super Elite (Last Title)
Joined: 25 Nov 2004 Posts: 3976
|
Posted: 01 Oct 2005 09:25:26 pm Post subject: |
|
|
The best method that I can see is to prepare a STAT PLOT with [font="courier new"]{0} in the Xlist and [font="courier new"]{Ymax+1} in the Ylist.
Your function would then be [font="courier new"]{0→Xlistname.
Last edited by Guest on 01 Oct 2005 11:01:40 pm; edited 1 time in total |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 01 Oct 2005 10:36:39 pm Post subject: |
|
|
Thanks guys, but I'm afraid my next idea didn't work. Of course maybe I was setting my sights a tad too far... 8-level grayscale in pure Basic... |
|
Back to top |
|
|
elfprince13 Retired
Super Elite (Last Title)
Joined: 11 Apr 2005 Posts: 3500
|
Posted: 02 Oct 2005 03:23:34 pm Post subject: |
|
|
dang that would be sweet,
what was the logic/concept behind the idea? |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 08 Oct 2005 05:44:58 pm Post subject: |
|
|
An extension of the Disp/DispGraph idea. I was thinking that the thing that makes RecallPic 1 / RecallPic 2 / ClrDraw ugly is the ClrDraw. So I was thinking of showing the homescreen, invalidating the graph screen, then displaying a picture, showing the homescreen, invalidating the graph screen, displaying the next picture. You wouldn't ever see the blank screen that ClrDraw creates. It was too slow however. |
|
Back to top |
|
|
tifreak8x
Elite
Joined: 27 Aug 2005 Posts: 956
|
|
Back to top |
|
|
|