| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|||
|
Great, thanks, Ill try that later when I get home
|
|
|||
|
Your program with my mod now looks like this
:ClrDraw :ClrHome :AxesOff :Lbl 1 :randInt(0,28)->A :randInt(0,45)->B :Text(A,B,"Hi" :randInt(55,28)->C :randInt(91,45)->D :Text(C,D,"Bye" :randInt(28,57)->E :randInt(0,36)->F :Text(E,F,"Holla" :randInt(0,28)->G :randInt(46,91)->H :Text(G,H,"Adios" :Goto 1 This causes it to look like your program, only each quadrant has a different word. You can change the A,B Text to whatever you want to display in the top left. Same for the others and the different quadrants. I tried to get "Whats up" to appear throughout the whole screen, only slower than the bottom, for this I wrote another program exactly like yours, only I used Y and Z, and "Whats Up?" instead of stuff and I added my delay program to make a delay so this text wouldnt overtake the other words. I also left out the clrDraw, ClrHome, and AxesOff. I inserted this right before the :Goto1 so it was like this :Text(G,H,"Adios" :PrgmWHTSUP (WHTSUP is the name of the other program) :Goto 1 This caused every word to have a delay. Do you mind telling me how to program the kill switch in? |
|
|||
|
I have never used the getKey so I guess I will have to look up how it works.
Thanks for getting me started |
|
|||
|
Ok guys, I need some help here. I want to be able to type in a name and have it flash in the middle of the screen a couple of times and then go on to do something else. I know how to do the something else, just not the flashing. I tried this:
:ClrHome :Input "Your name=",Str1 :ClrHome :Lbl 1 :Output(3,5,Str1 :prgmDelay (creates 1 second delay) :ClrHome :Repeat 1 :Repeat 1 It displayed the name on the screen, and stayed on there. What do I have to do? This is what I have for my kill switch for the other program: :Lbl 1 :prgmHELLO :getKey->A :If A=21 :Then :Goto 2 :Else :Goto 1 :Lbl 2 :ClrDraw :ClrHome :Output(4,2,"Password Correct" :prgmDelay :ClrDraw :ClrHome :End I probably overcomplicated that, and it doesnt work. Any suggestions for these 2? Last edited by Dngrsone : March 12th, 2006 at 12:02 AM. |
|
||||
|
Quote:
change "clrhome" to "clrdraw" for the second program, try putting your hello program into the code for your killswitch. what I think it's doing is putting the variable for getkey into the program hello and not transferring it over to the new program (local vs. global variables). I'd try that first and see if it does the job for you. making a killswitch is a bitch, I know.... |
|
|||
|
I figured out the first one, But Im still confused on getKey.
Also, I highly recommend reading the tutorial found at http://www.ticalc.org/programming/columns/83plus-bas/cherny/#beginning It has helped me out alot so far. It says that you should be able to make a fighting game with health, a store, different enemies, weapons, armor, etc, with graphics and animation. I still have no Idea even after reading that, how to make it, I wouldnt know how to store money, or armor. Any one have a link to a more in depth tutorial, that also explains things a little more. |
|
|||
|
Moving a Character
How do I make a character move left by pressing the left arrow?
So far I have: ClrDraw ClrHome 4->A 5->B Output(A,B,"V" While 1 getKey->G While G=0 getKey->G End If G=24 Then Output(A,B,"" B-1->B If B=0 16->B End Right now, when I push the left arrow, the program ends. What else do I need to add, what do I need to take out, and how do I replace V with something I drew |
|
|||
|
Thanks for all your help pyro.
|
|
|||
|
Can any one help me, I want to be able to store more than 10 pics on my TI-83 plus. Is there a way to do this?
|
|
|||
|
Im storing picks of a fat man walking, and a twinkie appears, and he says, "MMMMM, Twinkie. and then bends over to |