J3rK is learning C

MAIN DISCUSSION FORUM - Games, Politics, Tech, Film, Music, Arts, Culture, Travel, teh Intarweb or whatever else is on your mind.

Moderator: enderzero

Post Reply
User avatar
R3C
Star Post
Posts: 6220
Joined: Mon Mar 24, 2003 4:59 pm
Location: Boot Sector

J3rK is learning C

Post by R3C »

... learning C. Perhaps in some months, we shall make Donkey after all. Rixler, Seth and I are planning to make a graphics library using OpenGL, for 2D, and simple 3D graphics. We had codeblast 9000 last night, where we made textmode sinus patterns and such. (Think C64 sprites whirling around the screen, but with ascii instead.) Most of everything was done by Seth and Rixler, but I actually managed to help a little, and I'm starting to understand this business. Got me a nice book, installed the older (non-bloated) Visual Studio, compiler, etc. So far I can do some VERY simple things. Hopefully that will change soon. I've got tons of good sample programs to muck with after last night. WORD!!!

User avatar
R3C
Star Post
Posts: 6220
Joined: Mon Mar 24, 2003 4:59 pm
Location: Boot Sector

Post by R3C »

Here, give this a whirl. Use ? to get the usage for it. You can edit the values in the .cfg file to make different patterns. The first couple settings in the config file set the size of your command window, so you should be in a fairly high resolution for the ones we defaulted to. You can change it to make it smaller. Another thing, you'll need to set the screen mode to 80 by 50 in the .cfg file if you want to go full-screen. Otherwise just use windowed mode. Here's the file:

http://home.comcast.net/~j3rk/sine7.zip

In the next couple of weeks, I'm going to attempt to create ASCII plasma by myself. We'll see how it works. :D

User avatar
McNevin
Post Apocalyptic
Posts: 2802
Joined: Mon Mar 17, 2003 12:39 pm
Location: Lat: 47.6062095, long: -122.3320708
Contact:

Post by McNevin »

COOL! maybe I should learn...

For all you lazy heads out there, just drag the cfg file and drop it on the exe, if you are to lazy to open a dos window.

Very cool! :shades:
Image

User avatar
R3C
Star Post
Posts: 6220
Joined: Mon Mar 24, 2003 4:59 pm
Location: Boot Sector

Post by R3C »

Thanks Admiral! Yes, the language doesn't actually look too difficult. If I look at the source for this thing, I mostly grasp what's going on. I just need to learn it well enough to write it myself.

User avatar
R3C
Star Post
Posts: 6220
Joined: Mon Mar 24, 2003 4:59 pm
Location: Boot Sector

Post by R3C »

Oh, by the way, if it's flickering for you, change the font size for the command window to something smaller, like 8x8.

User avatar
Beeeph
Hitching Post
Posts: 684
Joined: Thu Mar 20, 2003 10:02 pm
Location: BALLS COCK SHIT

Post by Beeeph »

It should be a prerequisite for all monkeys to speak the most wonderfully fast language of C. It's a technology the sigma team can never truly grasp, thereby giving us the advantage. Good W3RK, J3RK!

User avatar
mistasparkle*
Hitching Post
Posts: 666
Joined: Thu Jun 12, 2003 1:31 am
Location: monkeyball

Post by mistasparkle* »

I know C#... does that count? :D

User avatar
Beeeph
Hitching Post
Posts: 684
Joined: Thu Mar 20, 2003 10:02 pm
Location: BALLS COCK SHIT

Post by Beeeph »

Indeed it does! Much more overhead than C, but has built in garbage collection routines. That'll come in handy when battling sigma via web services! I do believe the Monkifier 1.0 was written in C#.

User avatar
R3C
Star Post
Posts: 6220
Joined: Mon Mar 24, 2003 4:59 pm
Location: Boot Sector

Post by R3C »

I'm starting with standard C because I'm mostly learning in order to to be able to program microcontrollers. (Though it will also help my automation skills for software testing.) Learning how to do these fun things like plasma, and sine things is a good way to keep me from getting bored in the learning process.

User avatar
enderzero
Site Admin
Posts: 3442
Joined: Mon Mar 17, 2003 2:40 am
Location: Highland Park, Los Angeles, CA
Contact:

Post by enderzero »

I remember that stuff.

Here - play with my bugs.

Post Reply