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
»
The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
« previous
next »
Print
Pages: [
1
]
2
Go Down
Author
Topic: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs (Read 9017 times)
0 Members and 1 Guest are viewing this topic.
Jonius7
python! Lua!
LV10
31337 u53r (Next: 2000)
Posts: 1918
Rating: +82/-18
Still bringing new dimensions to the TI-nspire...
The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
on:
October 08, 2010, 06:36:26 am »
sneakpeek here!!! more coming soon!
Sneakpeek here!!!
Spoiler
For
Spoiler
:
First for every line of pixels you want to create you must create 2 lists and save separately to 2 variables, 1 will determine the x coordinate, 1 for the y coordinate eg: px1, py1
Ok here's more now
As you have looked at my screenshots from my first topic for HBs, there are 2 health bars. I zoomed the graphing window in so that my values for the variables would line up. with me so far? window x min -10 x max 10. y min -2 y max 5.44 I adjusted the window for the best fit and so that the bars wouldn't look too fat or thin
Now onto how it works
I created 4 'lines' of pixels for each bar so the first bar has variables px1 - px4 and py1 - py4 that determine how much health is in the bar. got it?
You have to trial and error to see which coordinates will work. you can also zoom in to see more clearly and zoom back out to see how it will look to the rest of the people who try the program
How to get pixels to display???
Not many people have discovered how to do this. Only Elliot way with his graphical card games and some others have got it. It took me a while before i got it too.
To get the points to plot you go to the graphing window. Press menu and change the type of graph from function to scatter plot. This is how you can put in x and y coordinates. Got it?
Then go down the bottom to the function bar, you will see s1 { ->
->
something like that. at the top put in px1 at the bottom put in py1
when you have put in lists in for these two variables, the pixels should start showing
1 function for each line of pixels so s2 will have px2 and py2 and so on...
«
Last Edit: October 10, 2010, 12:36:29 am by jhgenius01
»
Logged
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler
For
Extra To-Be-Sorted Clutter
:
Spoiler
For
Relegated Projects
:
TI-nspire BASIC
Battle of 16s
(stalled) |
sTIck RPG
(stalled) |
Monopoly
(stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God
(stalled while I go and learn some Axe)
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #1 on:
October 08, 2010, 09:39:09 am »
Cool, I'll check again for more info. For 8 pixel bars can you simply do a For() loop btw?
Logged
Snake X
Ancient Veteran
LV8
Addict (Next: 1000)
Posts: 810
Rating: +33/-8
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #2 on:
October 08, 2010, 09:58:08 am »
yay! the secret is coming...
Logged
Loved this place, still the best producers of power metal, and sparked my dreams of coding.
yunhua98
You won't this read sentence right.
LV11
Super Veteran (Next: 3000)
Posts: 2718
Rating: +214/-12
Go take a dive in the River Lethe.
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #3 on:
October 08, 2010, 10:21:45 am »
who's betting that if TI search bots find out about this they will have it disabled for the next OS version?
jk, just put the code in code tags, though
Logged
Spoiler
For
=====My Projects=====
:
Minor setback due to code messing up. On hold for Contest.
<hr>
On hold for Contest.
Spoiler
For
===Staff Memberships===
:
Have you seen any good news-worthy programs/events? If so, PM me with an article to be included in the next issue of
CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #4 on:
October 08, 2010, 11:11:49 am »
Why would TI be against this? It's not like it's an OS bug to run ndless
So, it sounds like you can plot horizontal lines of any length, am I right? This would be so nice for programming.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #5 on:
October 08, 2010, 05:48:05 pm »
Darn if TI would do that they would sink to a new all-time low
Also nice you are still around Willrand
Logged
Jonius7
python! Lua!
LV10
31337 u53r (Next: 2000)
Posts: 1918
Rating: +82/-18
Still bringing new dimensions to the TI-nspire...
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #6 on:
October 08, 2010, 09:19:53 pm »
ooh lots of commenets!
for DJ omni, i think i kind of get whtat you mean the For( loop can create animating health bars!!!
also one note, my cdalc right now is dead and i have to wait to get new batteries, fortunately i have the program on my computer i can run it through the emulator and write my tutorial from there. stay tuned!
I don't think ti would be actually against this since it's just using their incapable BASIC language. just a BASIC program. however if i were to use assembly (coding in C which i don't know how to) well that would be more prone to TI suspicion
but if they did actually sue me or something, well after TI-84SE discontinuation and the rest... it's probably getting unethical. seriously, i think Casio doesn't even go nearly as far as limiting TI-nspire BASIC language in the first place
Then again i think TI doesn't really care about what programs are released in BASIC language anyway (look at all the ones on ticalc.org) i think it's the assembly programs ti's worried about...
«
Last Edit: October 08, 2010, 09:37:41 pm by jhgenius01
»
Logged
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler
For
Extra To-Be-Sorted Clutter
:
Spoiler
For
Relegated Projects
:
TI-nspire BASIC
Battle of 16s
(stalled) |
sTIck RPG
(stalled) |
Monopoly
(stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God
(stalled while I go and learn some Axe)
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #7 on:
October 08, 2010, 10:04:28 pm »
Ya, there is no reason TI would sue you. You haven't done anything wrong. It is only the Ndless stuff and such that they want to stop, or at least that's what we think.
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
Jonius7
python! Lua!
LV10
31337 u53r (Next: 2000)
Posts: 1918
Rating: +82/-18
Still bringing new dimensions to the TI-nspire...
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #8 on:
October 08, 2010, 10:45:50 pm »
Thanks for that, now when my calc gets back online (new batteries i mean) ill make the health bars animating, i think ill post it in the original health bars topic (RPG Style Health bars for the TI-nspire)
Logged
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler
For
Extra To-Be-Sorted Clutter
:
Spoiler
For
Relegated Projects
:
TI-nspire BASIC
Battle of 16s
(stalled) |
sTIck RPG
(stalled) |
Monopoly
(stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God
(stalled while I go and learn some Axe)
willrandship
Omnimagus of the Multi-Base.
LV11
Super Veteran (Next: 3000)
Posts: 2953
Rating: +98/-13
Insert sugar to begin programming subroutine.
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #9 on:
October 09, 2010, 01:11:27 pm »
Any chance at a code example of how it's done? or at least, what the plotting command is called? I can't figure out how to graph them
The library doesn't have any commands I can find for this sort of thing.
Does it have to be OS 2.0/2.1 or does it work with lower ones?
Logged
+1/-0 karm for this message
Jonius7
python! Lua!
LV10
31337 u53r (Next: 2000)
Posts: 1918
Rating: +82/-18
Still bringing new dimensions to the TI-nspire...
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #10 on:
October 10, 2010, 12:32:26 am »
ah im getting to that, there is no actual command however... check my first post soon for the big revelation!
I have now uploaded it to ticalc.org, check it in the next few days for the program.
now i made myself a promise to give SnakeX a first opportunity...
well i owe him one and have sent the program to him! The program shall be available to everyone else very soon!
«
Last Edit: October 10, 2010, 12:50:48 am by jhgenius01
»
Logged
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler
For
Extra To-Be-Sorted Clutter
:
Spoiler
For
Relegated Projects
:
TI-nspire BASIC
Battle of 16s
(stalled) |
sTIck RPG
(stalled) |
Monopoly
(stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God
(stalled while I go and learn some Axe)
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #11 on:
October 10, 2010, 01:41:13 am »
Cool! I'Ll check out soon.
Next: Starcraft in TI-Nspire BASIC
Logged
Jonius7
python! Lua!
LV10
31337 u53r (Next: 2000)
Posts: 1918
Rating: +82/-18
Still bringing new dimensions to the TI-nspire...
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #12 on:
October 10, 2010, 01:42:35 am »
Ooh starcraft... Possibly
[rest deleted]
«
Last Edit: October 10, 2010, 02:11:05 am by jhgenius01
»
Logged
+0/-1 karm for this message
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler
For
Extra To-Be-Sorted Clutter
:
Spoiler
For
Relegated Projects
:
TI-nspire BASIC
Battle of 16s
(stalled) |
sTIck RPG
(stalled) |
Monopoly
(stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God
(stalled while I go and learn some Axe)
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #13 on:
October 10, 2010, 01:53:03 am »
I like how you said you wanted to move on from the whole code theft issue and even begged for the topic to be split, yet now you launch a provocative remark at me because I wanted to move on too by changing my mind about trying the program or not.
«
Last Edit: October 10, 2010, 02:18:01 am by DJ Omnimaga
»
Logged
Jonius7
python! Lua!
LV10
31337 u53r (Next: 2000)
Posts: 1918
Rating: +82/-18
Still bringing new dimensions to the TI-nspire...
Re: The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs
«
Reply #14 on:
October 10, 2010, 02:08:28 am »
sorry i didn't exactly mean that. It was meant to be an informal question...
Arrgh this is exactly what i feared... If i got myself banned a second time then I know it would be a permanent one...
This hasn't felt like a tutorial, i might need to restart...
«
Last Edit: October 12, 2010, 02:02:09 am by jhgenius01
»
Logged
Programmed some CASIO Basic in the past
DJ Omnimaga Music Discographist
DJ Omnimaga Discography
My Own Music!
My Released Projects (Updated 2015/05/08)
TI-nspire BASIC
TI-nspire Hold 'em
Health Bar
Scissors Paper Rock
TI-nspire Lua
Numstrat
TI-nspire Hold 'em Lua
Transport Chooser
Secret Project (at v0.08.2 - 2015/05/08)
Spoiler
For
Extra To-Be-Sorted Clutter
:
Spoiler
For
Relegated Projects
:
TI-nspire BASIC
Battle of 16s
(stalled) |
sTIck RPG
(stalled) |
Monopoly
(stalled) | Cosmic Legions (stalled)
Axe Parser
Doodle God
(stalled while I go and learn some Axe)
Print
Pages: [
1
]
2
Go Up
« previous
next »
Omnimaga
»
Forum
»
Calculator Community
»
Other Calc-Related Projects and Ideas
»
The Secret of the Health Bars for the TI-nspire! 2nd topic for HBs