Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
Sprites Library
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Sprites Library (Read 2892 times)
0 Members and 1 Guest are viewing this topic.
bfr
LV8
Addict (Next: 1000)
Posts: 819
Rating: +4/-0
Sprites Library
«
on:
June 13, 2006, 06:27:00 am »
Besides MLC 3.0, I have been working on some other projects (you can view the projects I'm working on at
http://bfr.ticalcs.net
.
Sprites Library is a library for 68k TI-BASIC programmers. I programmed it using C (with
http://tigcc.ticalc.org
). As of now, it only can display 8x8, 16x16, and 32x32 sprites in grayscale. But in the future, I want to imlement double-buffering, bitmaps of any size, and an on-calc sprite editor that generate the sprite data and can export it to a file. The data for the sprites is stored in a simple text file. Here is an example of what you can do now:
c1-->
CODE
ec1
spdata32("sprite","0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0xFF000000,
0x81000000, 0x81000000, 0x81000000, 0x81000000, 0x81000000, 0x810FE000, 0x81080000, 0xFF080000, 0x80000,
0x80000, 0x80000, 0xF8000, 0x80000, 0x80400, 0x807F0, 0x80400, 0x80400, 0x400, 0x400, 0x400, 0x400, 0x0,
0x0,0x0,0x0")
sprite32(1,3,20,"sprite","normal","xor")
c2
ec2
Here's an example of what I hope will be possible in the future:
c1
-->
CODE
ec1
loadsp("sprite","0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0x80000000, 0xFF000000,
0x81000000, 0x81000000, 0x81000000, 0x81000000, 0x81000000, 0x810FE000, 0x81080000, 0xFF080000, 0x80000,
0x80000, 0x80000, 0xF8000, 0x80000, 0x80400, 0x807F0, 0x80400, 0x80400, 0x400, 0x400, 0x400, 0x400, 0x0,
0x0,0x0,0x0")
loadpl("cpy")
scrncopy("light","cpy")
sprite32(1,3,20,"sprite","cpy","xor")
c2
ec2
Or something like that. You can download versions of Sprites Library
http://www.savefile.com/projects.php?pid=430839
. In case you're wondering where beta 1 is, I hosted it somewhere else, before I started using savefile I think. I completely changed the code, and released an alpha version of the new code. Beta 2 is the beta version of the new code. I'd appreciate constructive questions, comments, bug reports, etc.
EDIT: I kind of messed up the readme. In the table of contents, it lists a "Credits" section, but I forgot to make the "Credits" section >.<. I guess I'll fix that in beta 3....
Logged
bfr's website -
http://bfr.tifreakware.net
tifreak
LV11
Super Veteran (Next: 3000)
Posts: 2708
Rating: +82/-3
My Kung Fu IS strong...
Sprites Library
«
Reply #1 on:
June 13, 2006, 07:48:00 am »
Looking good! I am sure programmers in the future will find this program handy.
I am thinking about making a sprite designer program, to go along with my hex-2-sprite program. One of these days I will get around to making it...
Logged
Projects: AOD Series: 75% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Sprites Library
«
Reply #2 on:
June 13, 2006, 08:33:00 am »
wow cool if I had 68k calc I would use it for sure
Logged
saubue
Guest
Sprites Library
«
Reply #3 on:
June 13, 2006, 09:11:00 am »
Yeah, this sounds good, I think many BASIC programmers could use this.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Sprites Library
«
Reply #4 on:
June 13, 2006, 09:16:00 am »
will it be able to draw maps like xlib?
Logged
bfr
LV8
Addict (Next: 1000)
Posts: 819
Rating: +4/-0
Sprites Library
«
Reply #5 on:
June 13, 2006, 09:34:00 am »
Well, not yet, but that's a good idea.
I'll have to implement it.
EDIT: Sprites Library 1.0.0 Beta 3 finished! You download it, along with some other versions, ?
http://www.savefile.com/projects/430839
. Beta 3 has double-buffering B)
. I also put Omnimaga in the credits for being supportive
EDIT: I finished beta 4. I noticed a problem with scrncopy because it didn't really work with grayscale.
Logged
bfr's website -
http://bfr.tifreakware.net
Dragon__lance
Guest
Sprites Library
«
Reply #6 on:
June 13, 2006, 02:20:00 pm »
Sweet Progress :thumb:
too bad i don't own a 89 though...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
Sprites Library