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
»
TI Calculators
»
TI-BASIC
»
Lightning!
« previous
next »
Print
Pages:
1
[
2
]
3
Go Down
Author
Topic: Lightning! (Read 9460 times)
0 Members and 1 Guest are viewing this topic.
Builderboy
Physics Guru
CoT Emeritus
LV13
Extreme Addict (Next: 9001)
Posts: 5673
Rating: +613/-9
Would you kindly?
Re: Lightning!
«
Reply #15 on:
March 25, 2010, 11:34:20 pm »
Yeah, and that could also give a nice effect too!
Logged
Gale
LV4
Regular (Next: 200)
Posts: 115
Rating: +1/-0
Ti-84+ Silver Edition
Re: Lightning!
«
Reply #16 on:
March 26, 2010, 04:55:43 pm »
what real(# would i use from xLIB or Celtic? and i would use lines, but i'm trying to keep program size to an absolute minimum, as the game itself will take a lot of mem (it's gonna be a moving sprite rpg with one or two detailed towns)
Logged
remember me as a time of day...
{AP}
LV8
Addict (Next: 1000)
Posts: 981
Rating: +74/-3
I am Webmaster!
Re: Lightning!
«
Reply #17 on:
March 26, 2010, 05:05:20 pm »
You'd use real(3 most likely. It works exactly like RecallPic but with some other features.
real(3,pic_num,logic,update_LCD
pic_num = Number of the pic. (0-255)
logic = How the pic is displayed.
0 = Overwrite
1 = AND
2 = OR
3 = XOR
update_LCD =
0. Doesn't update
1. Updates screen
For what you want, you'd just need "real(3,3,0,1" and "real(3,5,0,1".
Also, note that a Pic takes up a LOT of memory so it would probably be smaller to use several line commands over a 2nd picture.
Of course, if you plan on using xLIB or CIII anyway, the pics can be archived so it will take less RAM to use pics.
Up to you.
«
Last Edit: March 26, 2010, 05:07:18 pm by {AP}
»
Logged
If you have Google+, join me!
Gale
LV4
Regular (Next: 200)
Posts: 115
Rating: +1/-0
Ti-84+ Silver Edition
Re: Lightning!
«
Reply #18 on:
March 26, 2010, 05:13:52 pm »
hmm. well i have everything archived all the time anyway (i use CalcUtil). but yeah, i mostly cared about RAM because my friend has a normal TI-84, and almost all of his arc and ram are in use, and since he's doing the storyline, he should be able to use it P:
Logged
remember me as a time of day...
SirCmpwn
Guest
Re: Lightning!
«
Reply #19 on:
March 26, 2010, 05:34:42 pm »
^CalcUtil++
Logged
Gale
LV4
Regular (Next: 200)
Posts: 115
Rating: +1/-0
Ti-84+ Silver Edition
Re: Lightning!
«
Reply #20 on:
March 26, 2010, 05:36:31 pm »
Quote from: SirCmpwn on March 26, 2010, 05:34:42 pm
^CalcUtil++
haha best app i've ever found besides omnicalc ^^
Logged
remember me as a time of day...
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Lightning!
«
Reply #21 on:
March 26, 2010, 06:20:49 pm »
We are a bit offtopic, but I am curious about something: Do you mean calcutil runs every single archived program on your calc in any way? I mean for example, if I have
EXEC EDIT NEW
*LOL
*PRGMLOL
*ZLOL
ZSPRITE
*ZZZ
prgmLOL contains:
Code:
[Select]
:A+1->A
:prgmZZZ
:prgmZLOL
Will prgmZZZ/ZLOL commands return a ERR:ARCHIVED?
Back on topic, I personally would prefer using lines for drawing lightning, simply because pics are a waste of space (unless the bolts are really complex and stuff).
«
Last Edit: March 26, 2010, 06:22:52 pm by DJ Omnimaga
»
Logged
Gale
LV4
Regular (Next: 200)
Posts: 115
Rating: +1/-0
Ti-84+ Silver Edition
Re: Lightning!
«
Reply #22 on:
March 26, 2010, 06:22:42 pm »
nope, i'm pretty sure it wont. pictures cant be archived though. to run archived pics you can just use xLIB anyway
so yeahh, now i can clear my ram pretty haphazardly and have around 19-20k RAM at all times P:
«
Last Edit: March 26, 2010, 06:27:06 pm by Gale
»
Logged
remember me as a time of day...
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Lightning!
«
Reply #23 on:
March 26, 2010, 06:37:17 pm »
aaah ok I see now. I was wondering cuz I was unsure to which extent CalcUtil worked with archived stuff. But yeah my point is that even if archived the pics still took a lot of memory
. I mean, in ROL3, if I decided to draw the lightning bolt inside a pic instead of an archived subroutine, I would have ran out of pic, first, (ones that can be sent fine ungrouped, that is), and secondly I would have wasted about 500 bytes of archive
I guess it's up to you, though, but remember you can't just use pics for every single thing in the programming world. Sometimes it's best to either draw stuff manually to save space, abuse programs to run archived subprograms like XCOPY or xLIB (if you use it alerady) or use smaller sprites. It depends of opinions, though. I just had bad memories of downloading games abusing pictures before, only to realise the abuse of pics made them so huge that the author could only add maybe 4 or 5 map in the game
Logged
Geekboy1011
The Oneironaut
Donator
LV11
Super Veteran (Next: 3000)
Posts: 2031
Rating: +119/-2
Dream that Awakening dream
Re: Lightning!
«
Reply #24 on:
March 26, 2010, 06:39:56 pm »
one word about calcutil its very glitchy with omnicalc and a few other asm programs
i had to reset my os cause if it X.x so be sure to backup often X,x
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Lightning!
«
Reply #25 on:
March 26, 2010, 07:22:51 pm »
wasn't the code also stolen from NoShell, but with more functions added? I wonder if it works on OS 2.5xMP too
Logged
Gale
LV4
Regular (Next: 200)
Posts: 115
Rating: +1/-0
Ti-84+ Silver Edition
Re: Lightning!
«
Reply #26 on:
March 26, 2010, 08:03:44 pm »
i wouldn't doubt that it was stolen from NoShell, it's almost identical haha
Logged
remember me as a time of day...
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Lightning!
«
Reply #27 on:
March 26, 2010, 08:40:52 pm »
BrandonW said it was. Idk if the author of calcutil asked permission, but BrandonW said he didn't mind since Noshell isn't really updated anymore and buggy
Logged
mapar007
LV7
Elite (Next: 700)
Posts: 550
Rating: +28/-5
The Great Mata Mata
Re: Lightning!
«
Reply #28 on:
March 27, 2010, 06:41:50 am »
The calcUtil credits refer to NoShell and Brandon iirc.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Lightning!
«
Reply #29 on:
March 28, 2010, 12:52:09 pm »
aaah ok, that's good at least
Logged
Print
Pages:
1
[
2
]
3
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
TI Calculators
»
TI-BASIC
»
Lightning!