Page 1 of 1

J3rK is learning C

Posted: Sat Dec 18, 2004 8:56 pm
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!!!

Posted: Sat Dec 18, 2004 9:02 pm
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

Posted: Sat Dec 18, 2004 10:53 pm
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:

Posted: Sun Dec 19, 2004 8:18 am
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.

Posted: Sun Dec 19, 2004 8:36 am
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.

Posted: Sun Dec 19, 2004 7:10 pm
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!

Posted: Sun Dec 19, 2004 8:02 pm
by mistasparkle*
I know C#... does that count? :D

Posted: Sun Dec 19, 2004 8:32 pm
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#.

Posted: Sun Dec 19, 2004 9:26 pm
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.

Posted: Mon Dec 20, 2004 12:29 am
by enderzero
I remember that stuff.

Here - play with my bugs.