The C# Files

Video Game Discussions and general topics.

Moderators: AArdvark, Ice Cream Jonsey

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

The C# Files

Post by Ice Cream Jonsey »

OK, Pinner learned this without too much trouble, but he's much older and smarter than I am. Let's kick things off!

OBJECTIVE: Ultimately, implement the first level of Mr. Do!... but in C#!

REASON FOR THIS INSANE OBJECTIVE: Most languages are pretty boring to learn. I could shuffle data, create some structures, inherit some... unn... zzZZZzZZZZzzZZ!! Whoa, fell asleep there, guys!

REASON FOR THIS OBJECTIVE: Well, to learn it and see if it's a language I could stomach programming in, and maybe get a better job.

INITIAL GOAL: OK, Pinner sent me over the source to Hexwar! Version 0.00000047! Let's see if I can get a sample chunk of code to compile for starters!

It's on!
the dark and gritty...Ice Cream Jonsey!

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

INITIAL GOAL: Complete! Ben sent me code. Which totally compiled.

Hmm, looks like he set up his display in something called "Form1.cs". The second goal... Figure out how the hell he did that, and if that is done by programming it or by drawing boxes and dragging shit!
the dark and gritty...Ice Cream Jonsey!

mhuiraich
Posts: 39
Joined: Thu Aug 26, 2004 2:13 am

Rehash

Post by mhuiraich »

I did alot of work in C/C++ and Visual C++ when I was working in the field from (93 counting interships, etc) 96 to 2002. It's been a long while though, or so it seems.. maybe you could throw me a few programs or subs to mess with.. or I'll find/start some myself.. it'll give me something to do between teaching classes.

B

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Re: Rehash

Post by Ice Cream Jonsey »

mhuiraich wrote:I did alot of work in C/C++ and Visual C++ when I was working in the field from (93 counting interships, etc) 96 to 2002. It's been a long while though, or so it seems.. maybe you could throw me a few programs or subs to mess with.. or I'll find/start some myself.. it'll give me something to do between teaching classes.
I'd be happy to! Right now I am just working the basics, though. I am going to try to get my version of "Hello, World!" up and running soon. For the uninitiated, here's my version of "Hello World!"

INPUT NAME:
___(user inputs name)____
IS (input) YOUR NAME? Y/N
_Y_
(input), YOU'RE A SONT.


(Sont is an intentional mispelling, thanks to the work of Michael Sherwin, Age 10, back when he originated this program in IBM PCjr BASICA.)
the dark and gritty...Ice Cream Jonsey!

Lysander
Posts: 1693
Joined: Tue Jul 08, 2003 12:39 pm
Location: East Bay, California.

Post by Lysander »

What's up with all of those _s? That looks a tad arbitrary to me.[/b]
paidforbythegivedrewbetterblowjobsfundandthelibertyconventionforastupidfreeamerica

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

Easily distracted, I have found a tutorial thingie for writing an Asteroids game.

Here's the link: http://www.codeproject.com/csharp/HUCSharpAsteroids.asp

I'll build to the first level of Do.

FIRST MISSION WITH THE NEW CODE: Compile it. Take nothing for granted.

SECOND MISSION FOR THE NEW CODE: OK, the guy mentions that there are no UFOs and that the asteroids are not jagged, but pretty round. Fixing those issues would be a good thing to do.

I'll report back when that's complete.
the dark and gritty...Ice Cream Jonsey!

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

UPDATE: Well come on now, the demo file (Asteroids.exe) doesn't run. I haven't even tried to compile it. (Took two hours to install C#, though.)

This is what I hate about languages not called "Hugo." Nothing works.

Anyone know what time it is? I do. TIME TO FIND A NEW DEMO.
the dark and gritty...Ice Cream Jonsey!

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

The "You're a SONT" files!!!! A REALITY!

I will upload this so anyone who has the .NET framework can emjoy it.
the dark and gritty...Ice Cream Jonsey!

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

Accomplishments:

o Was able to actually compile a C# Asteroids program (that didn't use C#) and dork around with it, changing stuff and making it terrible and unuseable.


CURRENT TASK:

OK, I found a tutorial for making a simple maze game. All that is involved is moving a guy around and avoiding "monsters" until you get to the exit. It's in ANSI. My goal is to implement the first level of Pac-Man based on this code. So:

o Add dots
o Create the first level map
o Change the colors
o Save the score
o Make the monsters not move completely randomly, but change in a random direction when they hit a wall
o Add power pills
o Make monsters eatable when the power pill thing is active

TIME LIMIT: October 8th, 2004.
the dark and gritty...Ice Cream Jonsey!

User avatar
Ice Cream Jonsey
Posts: 30069
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

This would have gone a lot faster if I had actually brought home my code from work the last four days. I'm EXTENDING THE DEADLING!!! October 11th!!!
the dark and gritty...Ice Cream Jonsey!

Post Reply