|
161
|
Community / Creative / Re: How to mak website???
|
on: February 22, 2011, 08:11:21 PM
|
I'm hardcore and coded my own blog from scratch >:O
Indie cred +1 I would recommend against this if you are in to coding or if you are a perfectionist – before you know it, you'll be re-implementing wordpress in ruby or python instead of, idk, updating your blog or making games. so true, and 95% of the time it's nowhere near as feature complete as wordpress. I made a custom blog setup... but from the start I decided I wouldn't do anything fancy, I literally write the html for my posts in a text editor and paste it into phpmyadmin. Although.... I never did totally finish it, I should redo i--.... wait, no! bad! I need to make games!
|
|
|
|
|
163
|
Developer / Technical / Re: The grumpy old programmer room
|
on: February 22, 2011, 08:03:30 PM
|
So code an editor with as little GUI as possible. Make it all cryptic hotkeys and mouse motions; it's quite fun that way and acceptable for in-house tools.
This is exactly what I'm doing. And the stuff I can't fit into keyboard shortcuts I make available through a dropdown dev console. When I get to making my editor, I'll probably be using vim-style key-mappings...
|
|
|
|
|
166
|
Player / General / Re: You Might Be a Programmer if....
|
on: February 21, 2011, 11:44:27 PM
|
You might be a (C/C++) programmer if you use "Segmentation fault," "Segmentation fault," or "*Segmentation fault" in everyday conversation.
(*although I think divide by zero actually says something about a 'floating point error' or something to that effect... it'll vary by OS/etc I suppose...).
|
|
|
|
|
167
|
Developer / Playtesting / Re: Minecraft (alpha)
|
on: February 21, 2011, 07:36:52 PM
|
Have you guys heard of this FortressCraft game? It's practically Minecraft for XBox, with higher resolution. It really doesn't seem legal at all to me :| http://www.fortresscraft.com/I have no problem with Minecraft-ish games (heck, I'm working on a rendering system based on it right now because it's a fun programming/optimization problem, (although I don't intend to make anything Minecraft-y gameplay-wise, if I make a game of it at all...)). That said, this game looks completely and utterly awful. It's like they took the idea of minecraft and jammed in all the stupid and unecessary graphics effects they could fit. Bump mapping and dynamic lighting don't do it any favors visually, the baked lighting in Minecraft is one of the nicest parts in my opinion (very simple to implement too, just a little recursion and some vertex colors). I'm a bit disappointed with the direction Minecraft is taking. I am looking forward to someone taking the concept and doing something even cooler with it.
I know right? Y'know in spite of what I said above, I aaaaaaam making a rendering system based on it, and I aaaam a poor college student... 
|
|
|
|
|
168
|
Player / General / Re: You Might Be a Programmer if....
|
on: February 21, 2011, 06:45:30 PM
|
|
You write your english paper in vim.
Said english paper has tons of random semicolons (some grammatically valid, some not so much...).
You put punctuation after quotes: "blah",
|
|
|
|
|
169
|
Developer / Technical / Re: Visual Studio Extensions
|
on: February 20, 2011, 04:39:43 PM
|
|
When I used VS, I think I used ankh svn for a bit and that was about it...
I use (g)vim with a bunch of addons though... - ctags taglist thing - omnicpp complete - a color picker thingy - NERDTREE - mini buf explorer - Conque Shell - maybe another couple
Way more efficient than I ever was with VS...
|
|
|
|
|
170
|
Developer / Technical / Re: Post if you just laughed at your code.
|
on: February 20, 2011, 03:17:59 AM
|
An old co-worker who was responsible for basically the entire engine we used had a habit of using "yo" for debug prints. Thus large amounts of logspam looked like this:
my logspam looks more like this: omg OMG omfg OMG omg OMFG omfg omg OMG FUCKKKKKKKKKKKKKKK OMMMGGGGGG
That looks familiar... (though lately, I use "dubyah tee eff" a lot for some reason...) I'm always a little afraid when I open source things that I left one or two of them commented out somewhere...
|
|
|
|
|
172
|
Player / General / Re: Programming
|
on: February 18, 2011, 01:36:35 PM
|
The buildl process is not the hardest part of programming... nor is memorizing syntax and function calls. The hardest part is using your brain, which you have to do with any language you work with.
QFT. A big part is just learning to think about and relate things in a different way, the the actual syntax and process isn't so important. That said, the build process can be a pain... I hate visual studio in this regard, way too much clicking and looking through rarely used options to get to the most frequently set stuff... (I started using scons a while back and I think I'm in love... sooo much more straightforward).
|
|
|
|
|
174
|
Developer / Technical / Re: Post if you just laughed at your code.
|
on: February 17, 2011, 08:29:57 PM
|
This is more just ugly code than funny, but it made me laugh... I was trying to compare a couple arrays of shorts with a lexicographical_compare, but for some reason the compiler wasn't finding "lexicographical_compare"... So I wound up doing this ugliness: return std::string(reinterpret_cast<const char*>(&c1.coords),sizeof(short)*3) < std::string(reinterpret_cast<const char*>(&c2.coords),sizeof(short)*3); Turned out I forgot to put the "std" in front of lexicographical_compare...  In other news lexicographical is fun to say. 
|
|
|
|
|
175
|
Player / General / Re: Something you JUST did thread
|
on: February 17, 2011, 12:13:23 AM
|
|
Randomly decided to set up a github account. Migrating from svn didn't really work, so I just started a new repo for my current project (given how slow and/or down sf.net's svn has been lately I hadn't been able to commit to the old repo much anyways...).
|
|
|
|
|
176
|
Developer / Technical / Re: The grumpy old programmer room
|
on: February 16, 2011, 04:55:28 PM
|
You wrote 4000 lines of code without saving? Really? Ouch. I impulsively press Ctrl-s every few lines. I don't even realize I'm doing it.
Being a vim fanatic, I impulsively press Esc - :w - Enter... which means I wind with lots of random :w's and line breaks in my files whenever I use any other editor...
|
|
|
|
|
180
|
Community / Versus / Re: [insert Awesome Game Name]
|
on: February 15, 2011, 04:17:05 PM
|
Read up on how minecraft seems to do lighting and pretty much replicated it (with minecraft textures for added effect...): Still needs mucho optimization, but so far so good... Still no gameplay, but whatever, I'm having fun, and that usually eventually leads to something resembling a game.... 
|
|
|
|
|