To Terminal.WriteLine(), or Not to Terminal.WriteLine() and a quandry

I wanted to take a minute to try and figure out WHY my greeting was not showing up at the top of the screen. I soon figured out after writing a method/function to count the lines of code that the game terminal would allow. My assumption is that the game terminal only shows 12 lines of code. This INCLUDES empty/new lines. Once the method ShowMainMenu2() is executed it goes through the code so fast that it was hard for me to tell what exactly was going on. I am sure there is a debug feature that would slow this down. BUT, I thought it would be cool to try and figure out a way to have the terminal “slowly” type out the lines. I am working on this now and will post once it is done. I am posting this because I can only imagine how anyone who added more than 12 lines of code must feel if this is their first go round with code. It could and was and would be very frustrating. My advice is to let everyone know that the game terminal has a limited number of lines. Reason, because in the previous lectures we were asked to write our own selection menu and introduction. Just my two cents. I hope my time is not wasted here and this helps someone in the future.

Another thing that I noticed ( See next picture for a visual). If you allocate a bunch of spaces it does NOT register those spaces. It’s like it executes and shows from the bottom up. Not really sure what this means or how it is working in this manner. I would love some feedback if you (the reader) understand what I am seeing here.

I put this in the “Talk” section because I believe it is a valid and interesting thing to talk about and expand our (we, the students ) level of understanding!

Thanks so much for your feedback or just contemplating this interesting tidbit.

1 Like

Placeholder :brick:

Okay, I tried and failed at slowing down the typing within the terminal. I did figure out how to write it out in unity, just not inside our terminal window. I may have to come back to this once I am a super coder in like 10 years. HAHA… I will check back to see if anyone has figure it out.

Privacy & Terms