Author Topic: Silly things you did as a noob  (Read 18044 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Silly things you did as a noob
« Reply #46 on: July 18, 2010, 10:13:55 pm »
And another silly thing about the 9001-byte platformer: The code for movement (left/right) is written 3 times identically one after another for no reason at all.




Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Silly things you did as a noob
« Reply #47 on: July 18, 2010, 10:18:58 pm »
lol x.x

I remember back then when experimenting I sometimes did that to try having multi keypresses, but it obviously didn,t work :(
« Last Edit: July 18, 2010, 10:19:40 pm by DJ Omnimaga »
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline 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.
    • View Profile
Re: Silly things you did as a noob
« Reply #48 on: July 18, 2010, 10:21:54 pm »
well, I once tried to "Goto randInt(0,10"
and have labels from 0-10.
I was trying to save "If" Statements.

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>

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Silly things you did as a noob
« Reply #49 on: July 18, 2010, 10:24:29 pm »
I kinda wish that was possible, though, back then :P

Altough of course we can always fake labels and just use a loop and some huge if conditions inside :P
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Silly things you did as a noob
« Reply #50 on: July 18, 2010, 10:27:14 pm »
Seeing all this made me go back and play my first legit program BWORM. It was a worm game where the worm was 2x2 squares that moved 3 pixels per frame. The goal was a three pixel wide line. (notice a problem?) Since this game was made long before I knew what lists were, I used all the variables to store the coordinates of the points. But x and y for every point took way to much memory. So I changed it to x.y where y was a decimal and x was the whole part.

So I started playing it, it was holding at a steady 2 fps, and once I got to about 15 points on screen, it started moving faster. Eventually it was jumping 8 pixels per frame. Not only was it nearly impossible to hit the 1x3 goal, but it was such a big jump that the worm could cross itself.

After I made it, I realized it was so bad that I didn't even try to go optimize it.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Silly things you did as a noob
« Reply #51 on: July 18, 2010, 11:28:55 pm »
When I first started programming, I did everything by trial-and-error, so when I first used Menu, I thought we *had* to use 1 for the first choice, 2 for the second, etc. The program ended up having several Lbl 1s :D




Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Silly things you did as a noob
« Reply #52 on: July 19, 2010, 01:22:35 am »
One of my very first Basic games was Breakout.  But dont get excited because it was no good :P The physics was set up so that the ball always bounced off the paddle the same angle, meaning that every single game was exactly the same.  I also was trying to get around getkey's quick key repeat with timers and lots of variables, but it just made it hard to use :P and lables lables lables means lots of memory leaks! Yayyy!.


Although probably the game with the most leaks was my very early Basic Shift game :P After the 3 built in Levels it got a memory error x.x

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Silly things you did as a noob
« Reply #53 on: July 19, 2010, 03:30:48 pm »
wow you had a pure BASIC shift game? I didn't knew lol
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Silly things you did as a noob
« Reply #54 on: July 19, 2010, 03:36:26 pm »
I made Brian Teaches Typing when I remembered Mario Teaches Typing from elementary school. I didn't know about strings, so I stored 1-26 to A-Z. You typed without spaces and then the calculator multiplied the whole 70 variable number together and matched it with the correct answer. It even gave words per minute.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Silly things you did as a noob
« Reply #55 on: July 19, 2010, 06:23:55 pm »
1)My first game was a text RPG where every single line was either a menu or a Lbl.  Most of the menus only had two choices, and one always ended in death.
2)When I finally learned how to use the Disp command I would use spaces to format text.  I was scared of the multiple-argument Output( .

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Silly things you did as a noob
« Reply #56 on: July 19, 2010, 06:34:38 pm »
1)My first game was a text RPG where every single line was either a menu or a Lbl.  Most of the menus only had two choices, and one always ended in death.
2)When I finally learned how to use the Disp command I would use spaces to format text.  I was scared of the multiple-argument Output( .

You were scared of Output( and yet you used Menu(? It wasn't until after I learned assembly that I tried to use Menu(. Catalog help just wasn't making any sense to me.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline MRide

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 711
  • Rating: +14/-0
  • You can't see this.
    • View Profile
Re: Silly things you did as a noob
« Reply #57 on: July 19, 2010, 07:44:22 pm »
Well, the programming tutorial in the handbook explained how to use Menu( , but not Output( .  I was also unaware of what any other commands besides Menu, Lbl, Goto, or Disp did.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Silly things you did as a noob
« Reply #58 on: July 19, 2010, 08:35:41 pm »
I had an hard time understanding menu(). When I got it, I was disappointed that it only allowed 7 choices >.>

Also, one thing I did as newbie for NPC convos in a RPG was using Pause "text" for long speeches. So to read the entire text you had to scroll left and right. That said, the idea may not have been that n00bish, though, and it actually looked cool and took very few space on the screen ;D. But still remains the fact it was a really cheap way to display huge text and avoiding coding an entire text routine ;D
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Silly things you did as a noob
« Reply #59 on: July 19, 2010, 09:01:52 pm »
Also, one thing I did as newbie for NPC convos in a RPG was using Pause "text" for long speeches. So to read the entire text you had to scroll left and right. That said, the idea may not have been that n00bish, though, and it actually looked cool and took very few space on the screen ;D. But still remains the fact it was a really cheap way to display huge text and avoiding coding an entire text routine ;D
Actually, I like that idea. As you say it takes up very little space, plus it means if you want to wait for the user to press enter before displaying the next line (like you might in an RPG), it's done automatically for you, no getKey routines involved. The only downside would be actually having to scroll left and right for really long text, of course.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).