Hey there I thought I'd follow my dream, and show you guys me following my dream
Which is making a video game, and I heard down the grapevine that?
Pretty much all you need is notepad and a will
So I don't really have a will not
expecting to die yet, but apparently you should make a will in case just in case but
It's fine. It's fine we'll uh.. We'll sort it out so either way. Let's uh
let's get started shall we
so simple uh
process of elimination
here, we'll start with the basic so
static
void
uh, you know
main string
bam
Aargh boom there. We go we got that bitch started now. We're good now. We're ready now
we gotta start this puppy off, okay here we go
var source
File name equals
path dot combined
Environment current directory
And then this is where we're going to be getting the actual directory that we're in right now
Uh this will be calling the uh inputs actually
Inputs that CFG just so it knows where to get it
Okay
Good, so it knows where to actually get the buttons, all right
We're gonna be doing the same thing here so we can actually copy and paste this this is gonna be great
This is gonna save us a lot of time get us right into making the things. Uh this is going to be the
graphics dot CFG settings that we have set
Alright, good. Ooh ooh oo! We almost fucked up close it
Close it always close your shit. We're gonna build problems. All right. You got it good. Okay?
Strength input
Okay
Now here is where we're gonna want to put our actual visuals
So we have the graphics we don't have the actual level design here set so we're gonna go ahead and do this right now, okay.
I-i
had to
Shut up. It's okay, here we go, so
Var Stream equals a file to open read, and then this is going to be uhh
Let's see. What was it-what was the file called here for this
uh
September 2nd
Yeah, something like that. That should be fine
okay, we got that there
and then this is going to be using
var reader equals new
Video oh wait, I'm sorry. I'm sorry. Sorry so sorry a new stream reader
Video game
Okay, and then BAM
hold on, want to make sure to close this up just in case I forget
Wait did we close it off before?
Now we don't need to we're fine. This is this is all in it. This is all encompassing
Don't worry. We're gonna be fine. Don't be afraid okay, and then the final thing we need here input equals reader
dot read to end
Actually excuse me
Player
Play to end
So what's gonna happen here..
Is it's going to when we start this program..
Which we're actually gonna save now by the way, so I'm gonna say uh change directory. It's fine
uhh let's see here, so we're gonna save it as
First video game, and we're gonna save it as a dot bat file to actually run it
There we go. Oh those are some old leftover files. Don't worry about those and
and.. save. All right, so what's gonna happen here
Ooh ooh wait wait!
Hoof.. almost
Fucked it up, all right, so what's gonna
Happen is we're gonna run this file, and it's going to call our directory for the inputs that CFG
It's gonna call our directory for the graphics so it knows the actual visuals to use it's gonna open up the September 2nd file
Which is already made. It's gonna open up the video game file. Which is what we're making right here
This is the file that we're making right now, and then it's gonna make the player have to play to the end of the game
All right? So let's uhh pull this open and see if this worked
Huh..
Fingers crossed
All right looks like that worked so uh yeah. Thanks a lot for watching me make my first game. It's pretty hard, but
and we got through it together so
Catch y'all another time
later guys