Sup Forums BTFO This guy creates a video game without using loops or Arrays

Sup Forums BTFO This guy creates a video game without using loops or Arrays

gist.githubusercontent.com/alessonforposterity/832da4fab11e10609dad/raw/258df12378399919ae088ba8731a7571d9c2c947/drgn.txt

>guy creates a video game without using loops or Arrays

Sounds like a typical indie dev

>all that code for a shitty platformer
he's just shit at programming you idiot
he's probably too stupid to understand how loops and arrays work or doesn't know they exist

I can't really imagine writing a whole game without using loops or arrays unless it effectively runs itself and doesn't accept user input of any kind, because how else would you accept controls?

I don't even see any gotos in this code.

Wasn't the entirety of Terraria written in if statements?

>there are people who only know baby-tier programming concepts such as oop end eop
>these people can't understand how to even program without arrays or loops
What the fuck? Read a book nigger.

>Not using arrays

literally replaced by generic lists anyway

>or Arrays
>t using loops
idiot op doesn't know about gameloop

i would reccomend reporting this thead as an ad for some shity game Sup Forums

does author of this game manualy putpixel exery pixel on the screen on every possible resolution

also any images already mean array of color data

CS grad tier

How do you keep the game loop running and redrawing the screen without a fucking loop?

Recursion.

Recursion is still a loop.

Not him but Id guess he wants to use recursive functions.

WOW LET ME JUST SYSTEMATICALLY PUT PIXELS DOWN AT EVERY POSSIBLE RESOLUTION FOR EVERY POSSIBLE OUTCOME

I hope nobody is actually defending this garbage code.

It's a lie. He's using a game framework that handles the main loop and he just implements a method the framework will then invoke.

How did this guy create a game if he doesn't understand loops and arrays?
I mean what software did he use that even a retard can create games?
The only time I've worked with GUIs I used Qt, and would like to make some shitty games too.

Did you just assume someone's gender on Github?

Barron looks like his mom

>scanned drawings
holy shit

Is it this easy to get your game on Steam?
I better start writing my boilerplate variables.

recursion is a loop, nigger

use rpgmaker or some other shitty software like this

If the language supports tail-call optimization it's implictily converted to a loop, if it doesn't, it would crash due to call stack overflow.

>windows only
>costs money
um

Is it really an array if it's hidden behind a library??

I think the Microsoft game library he uses maintains its own loop and all you do is write functions for events like user input or collisions.

Oh yes loops that is very important.

why did anyone respond to this thread?
Is just saying BTFO enough to trigger everyone ffs

My stack is the stack that will pierce the heavens.

this.

>THEY'RE NOT LOOPS, THEY'RE HOOPS!! :DDD

holy shit this is just bad programming

#region cancel knockback
if ((touchLe1 == true || touchRe1 == true) && e1HP

>without loops or arrays
easy as fuck, just use recursion and linked lists. anyone who can't do this is a codemonkey and shouldn't bother doing anything other than writing shitty code for other people

why oop is baby tier?