Simple Program Game for the TI83/84

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 53

  • @marsekle
    @marsekle Місяць тому +1

    its kinda easy. if i wanted to make multiple x's to chase me how would i do that?

  • @onlyvirly2c
    @onlyvirly2c 3 роки тому +4

    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.

  • @darrenlau1899
    @darrenlau1899 5 років тому +11

    When he talks it gives me time lol

    • @Asian_Kid
      @Asian_Kid Рік тому +1

      Your comment is 4 years old. Please reply

    • @wibawabo6978
      @wibawabo6978 10 місяців тому +1

      ​@@Asian_Kidyour comment Is 1 year old, please reply

    • @Asian_Kid
      @Asian_Kid 10 місяців тому +1

      @@wibawabo6978 no

    • @Magictoxxigaming
      @Magictoxxigaming 8 місяців тому

      @@wibawabo6978ur comment is 1 month old pls reply

  • @samrostetter228
    @samrostetter228 5 років тому +4

    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

  • @TheLastMillennial
    @TheLastMillennial 6 років тому +3

    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!

    • @johnwasiluk1789
      @johnwasiluk1789  5 років тому +1

      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?

  • @BentleyKingToebeansOwenRhett
    @BentleyKingToebeansOwenRhett 2 місяці тому

    Speedrunning vids: How to make tag on a calculator. The longer you survive, the higher the score. When you get caught, you lose.

  • @MMman2b8
    @MMman2b8 6 років тому +9

    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

  • @dhiruseh
    @dhiruseh 6 місяців тому +1

    For me it shows error archived

    • @johnwasiluk1789
      @johnwasiluk1789  5 місяців тому

      You may need to go into your calculator's memory settings and unarchive any of the variables used in this program

  • @hailceaser2003
    @hailceaser2003 11 місяців тому

    it worked for me on my ti-83, so cool.

  • @sticktock2448
    @sticktock2448 4 роки тому +1

    Dope dude!! 👍😄

  • @Joey42568
    @Joey42568 2 роки тому

    i haven o idea how to get the letters for the code i thonk im dumb i have :1> then i dont know

  • @larce4158
    @larce4158 5 років тому +2

    My figure will automatically move to the right and I can't move left, only up and down. What did I do wrong?

    • @johnwasiluk1789
      @johnwasiluk1789  5 років тому +3

      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

  • @jacobz4421
    @jacobz4421 5 років тому +3

    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

    • @johnwasiluk1789
      @johnwasiluk1789  5 років тому +1

      What type of error is it?

    • @robbyeaucoin9612
      @robbyeaucoin9612 5 років тому +1

      @@johnwasiluk1789 I'm having the same error its a domain error

    • @colinzastrow1fan871
      @colinzastrow1fan871 4 роки тому +1

      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

    • @oscarr1161
      @oscarr1161 2 роки тому +1

      @@johnwasiluk1789 domain

    • @oscarr1161
      @oscarr1161 2 роки тому +1

      @@johnwasiluk1789 its a domain error

  • @Nickthegamer-jk4dk
    @Nickthegamer-jk4dk 3 роки тому

    8:45

  • @Nickthegamer-jk4dk
    @Nickthegamer-jk4dk 3 роки тому

    4:53

  • @ChozoSR388
    @ChozoSR388 9 місяців тому

    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.

  • @taytumackerman3264
    @taytumackerman3264 4 роки тому

    Quick disclaimer this is a positive criticism
    My Ai was so broken it was avoiding me and sometimes when I was trying to die

  • @ChildoGODreal
    @ChildoGODreal 4 роки тому +1

    Very cool, but can i adjust the speed?

    • @johnw4853
      @johnw4853 4 роки тому +1

      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.

  • @justmyles4425
    @justmyles4425 4 роки тому +2

    What button do you use to play

  • @stickdoodles7177
    @stickdoodles7177 4 роки тому +1

    How do I get a arrow?

  • @D_KEEF
    @D_KEEF 4 роки тому +1

    mine says there is a domain error after awhile

    • @rich3326
      @rich3326 4 роки тому

      i think its just your calculator's memory, mine is doing the same thing

  • @legodarthvader3567
    @legodarthvader3567 4 роки тому

    I did this on my Ti-83plus and my character won't move at all.

    • @johnwasiluk1789
      @johnwasiluk1789  4 роки тому +1

      make sure you have the getkey-> command correct, as well as the If statements regarding the variable you are storing the key into.

  • @lizgilbes6200
    @lizgilbes6200 4 роки тому +1

    How do you get a blank space?

  • @aziaanimates9885
    @aziaanimates9885 3 роки тому

    10:39

  • @booyadee3148
    @booyadee3148 5 років тому

    Where do you find the / on ti 83 plus

  • @pikterra64
    @pikterra64 3 роки тому

    Its not working

  • @axelwuffofficial
    @axelwuffofficial 4 роки тому

    How do I make the arrows?

    • @johnw4853
      @johnw4853 4 роки тому

      The STO button, right above the On/Off button

  • @Nickthegamer-jk4dk
    @Nickthegamer-jk4dk 3 роки тому

    4:53

  • @bruhmoment3395
    @bruhmoment3395 5 років тому

    8:14