1:30 You can also use Lists and Matrices. 3:04 I wouldn't put that ClrHome within the loop, it's simple, but not ideal for advanced programming. It'd be better if you displayed a white space on the space you want to clear. (You could do this by doing Output(A,B," "):Output(C,D," ") right before your first output commands ) 7:19 There's a faster, more advanced way to do the screen boundary check & button press check, I can share some code for it if you'd like. 9:45 it's not necessarily 'memory', it's the CPU that's super slow. Personally I wouldn't reuse a variable for a completely different purpose in the same program, it can make debugging a *pain* if your program doesn't work. The calculator has a decent amount of RAM, you don't need to be *that* reserved with it. :) 12:37 oooh I see now what you did, that's pretty nifty. I think I can give you some better optimized code than all those if statements. If you could give me the entire program, I'll do what I can to optimize it! 16:06 Nice tip. I know I was very nitpicky with you, but overall I thought you did a very nice job explaining the code as you went! How long have you been programming? Since 10 years ago? I look forward to future videos!
I believe that using List or Matrix variables having a slightly slower call time than the built in simple letters. The ClrHome certainly leads to a lot of noticeable flicker, but I figured it would be simpler to do a simple ClrHome rather than two Outputs. Honestly the two Outputs would not be much extra work and it wouldn't increase the size of the program by much. I'd love to see some of your better boundary checking and optimized logic. The full program is what is shown in this video. I wrote this code in my very first few weeks programming on the TI-83/84 series and it has held up as one of the better games I've written, I believe. The code has not evolved much since that time, though I've tried several variations of the core concept. I will try to get some more videos out that cover techniques such as Lists and Matrices for more variable storage, as well as String manipulation for graphics, Matrices for map data, String Spriting, Plot Spriting. What are other topics you think would be helpful to cover?
So I was having a lot of trouble with the whole score thing and I turns out that I accidentally didn't put a comma before my qoute so it threw off the whole score board
You probably forgot an If statement and have B+1->B somewhere in the loop being executed. If your AI logic happens before your player movement, the player input is overwritten. As TheLastMillennial noted, using the same variable for different purposes can lead to bugs that are tough to catch and fix. Double check that the line B+1->B has an If F=26 and B
I'm sorry, but getKey->K is the only way to use getKey, as K is short for [K]ey. Any other variable used with getKey should be disallowed. Change my mind.* Also, A,B and C,D are very odd representations of player and computer co-ordinates, as X and Y are typically used for player positioning (sometimes S and T, also, if you need a second set of X,Y co-ordinates for the player.) and A and B for COM position. Please note that I'm joking, but, using K to store the value of getKey DOES make more sense, mnemonically.
Thank u so much, it helps with all the tips because I just got my t I 83 yesterday and it makes me look cool
1:30 You can also use Lists and Matrices. 3:04 I wouldn't put that ClrHome within the loop, it's simple, but not ideal for advanced programming. It'd be better if you displayed a white space on the space you want to clear. (You could do this by doing Output(A,B," "):Output(C,D," ") right before your first output commands ) 7:19 There's a faster, more advanced way to do the screen boundary check & button press check, I can share some code for it if you'd like. 9:45 it's not necessarily 'memory', it's the CPU that's super slow. Personally I wouldn't reuse a variable for a completely different purpose in the same program, it can make debugging a *pain* if your program doesn't work. The calculator has a decent amount of RAM, you don't need to be *that* reserved with it. :) 12:37 oooh I see now what you did, that's pretty nifty. I think I can give you some better optimized code than all those if statements. If you could give me the entire program, I'll do what I can to optimize it! 16:06 Nice tip.
I know I was very nitpicky with you, but overall I thought you did a very nice job explaining the code as you went! How long have you been programming? Since 10 years ago? I look forward to future videos!
I believe that using List or Matrix variables having a slightly slower call time than the built in simple letters. The ClrHome certainly leads to a lot of noticeable flicker, but I figured it would be simpler to do a simple ClrHome rather than two Outputs. Honestly the two Outputs would not be much extra work and it wouldn't increase the size of the program by much.
I'd love to see some of your better boundary checking and optimized logic. The full program is what is shown in this video. I wrote this code in my very first few weeks programming on the TI-83/84 series and it has held up as one of the better games I've written, I believe. The code has not evolved much since that time, though I've tried several variations of the core concept.
I will try to get some more videos out that cover techniques such as Lists and Matrices for more variable storage, as well as String manipulation for graphics, Matrices for map data, String Spriting, Plot Spriting. What are other topics you think would be helpful to cover?
When he talks it gives me time lol
Your comment is 4 years old. Please reply
@@Asian_Kidyour comment Is 1 year old, please reply
@@wibawabo6978 no
@@wibawabo6978ur comment is 1 month old pls reply
Speedrunning vids: How to make tag on a calculator. The longer you survive, the higher the score. When you get caught, you lose.
I hope this works for me lol. Last time I tried to make a game on my calculator i miserably failed because of some error I didn’t know how to fix.
it worked for me on my ti-83, so cool.
So I was having a lot of trouble with the whole score thing and I turns out that I accidentally didn't put a comma before my qoute so it threw off the whole score board
Same
Dope dude!! 👍😄
My figure will automatically move to the right and I can't move left, only up and down. What did I do wrong?
You probably forgot an If statement and have B+1->B somewhere in the loop being executed. If your AI logic happens before your player movement, the player input is overwritten. As TheLastMillennial noted, using the same variable for different purposes can lead to bugs that are tough to catch and fix. Double check that the line B+1->B has an If F=26 and B
I'm sorry, but getKey->K is the only way to use getKey, as K is short for [K]ey. Any other variable used with getKey should be disallowed. Change my mind.*
Also, A,B and C,D are very odd representations of player and computer co-ordinates, as X and Y are typically used for player positioning (sometimes S and T, also, if you need a second set of X,Y co-ordinates for the player.) and A and B for COM position.
Please note that I'm joking, but, using K to store the value of getKey DOES make more sense, mnemonically.
So it says it won’t work when I first open it up. I go to the error and it says it’s at the output(a,b,”0
Output(c,d,”x
What type of error is it?
@@johnwasiluk1789 I'm having the same error its a domain error
I tried the program on my ti 84 and when the computer hits the left side of the screen I also get a domain error
@@johnwasiluk1789 domain
@@johnwasiluk1789 its a domain error
i haven o idea how to get the letters for the code i thonk im dumb i have :1> then i dont know
Quick disclaimer this is a positive criticism
My Ai was so broken it was avoiding me and sometimes when I was trying to die
For me it shows error archived
You may need to go into your calculator's memory settings and unarchive any of the variables used in this program
mine says there is a domain error after awhile
i think its just your calculator's memory, mine is doing the same thing
What button do you use to play
this is just the drowning hand meme
Very cool, but can i adjust the speed?
You can always add in lines where you overwrite a value in a dummy variable to slow it down, but to speed it up you can only really free up RAM.
How do you get a blank space?
Alpha and then Zero
@@savannahgalicia8454 How did you just comment the CZcams logo
How do I get a arrow?
Press Sto
8:45
Where do you find the / on ti 83 plus
"/" is the division symbol
4:53
I did this on my Ti-83plus and my character won't move at all.
make sure you have the getkey-> command correct, as well as the If statements regarding the variable you are storing the key into.
Its not working
How do I make the arrows?
The STO button, right above the On/Off button
10:39
4:53
8:14
????
F