|
463
|
Developer / Technical / Re: Can anyone help me with this? (C++)
|
on: December 02, 2010, 12:08:34 PM
|
visual studio spits out equality/assignment warnings?
Are we talking VS2010? I'm still using 2008.
It works in VS2008 (and 2005, fwiw), too. You just need to set the warning level in your project to "Level 4 (/W4)"
|
|
|
|
|
464
|
Player / General / Re: Looking for gamepad suggestions
|
on: December 02, 2010, 11:58:11 AM
|
I have one of these:  I also have the Logitech Rumblepad and Dual Action pads, though I'm not a big fan of the Dual Shock layout and I mostly just use them for compatibility testing, so I can't really vouch for how good they are. I'm curious about the Razer Onza. It's basically a 360 gamepad made by Razer (that's also PC-compatible, of course). I've been really happy with Razer mice, but I haven't ponied up the cash to try this one out yet. Edit: Actually I guess it's not even for sale yet.
|
|
|
|
|
466
|
Player / General / Re: Do you wear glasses?
|
on: November 12, 2010, 08:47:12 AM
|
|
I wear glasses in the evenings. During the day I prefer contacts. I like the way they make me look, though. Sometimes I wonder if I should start wearing them all the time.
|
|
|
|
|
469
|
Player / General / Re: Things that Suck
|
on: October 28, 2010, 10:49:25 AM
|
|
coming home to find that my cats have woken my computer by jumping on the keyboard
coming home to find that my cats have strewn toilet paper all along the hall
coming home to find that my cats somehow lost their collars under the couch
|
|
|
|
|
471
|
Player / General / Re: Let's talk about pets!
|
on: October 25, 2010, 01:45:50 PM
|
I just recently adopted two flame point Siamese cats. They're about four months old. Their names are Samus and Lara. Samus is the smaller one, and she's a little more timid and well-behaved. Lara is a little more independent and rebellious but she gets really snuggly when she's sleepy.  Also Samus likes to jump up on my shoulders sometimes, which is totally the reason I adopted these two instead of the other orange tabbies I was looking at. 
|
|
|
|
|
473
|
Developer / Technical / Re: Wraparound worlds
|
on: October 22, 2010, 12:47:24 PM
|
For example, if your world width is 5 then the numbers -3, 2, 7, 12, 17 and so on are all equivalent because taken mod 5 they all equal 2.
You have to be careful with taking the modulus of negative numbers, though. The result might not always be what you expect. In C++, (-3 % 5) returns -3, not 2. That is to say, for x < 0, x % y == -((-x) % y). I can't tell you how many times that one's screwed me over. 
|
|
|
|
|
474
|
Player / Games / Re: So... Super Meat Boy.
|
on: October 20, 2010, 07:06:00 PM
|
|
Played through the first three worlds and a few levels of the fourth so far. It's a good balance of challenge, difficulty, and frustration. The end-of-chapters cutscenes are hilariously demented. Just really great style and presentation all around.
|
|
|
|
|
476
|
Developer / Technical / Re: Random terrain generation
|
on: October 19, 2010, 01:54:52 PM
|
I made a simple Worms-like game once with procedurally generated 2D side-view terrain.  Basically what I did was generate a 2D noise image (e.g., Perlin noise), then used a threshold value to determine which points were solid and which were non-solid. The user could slide this threshold value up or down to adjust the amount of solid terrain in the level before starting the game. This solution was pretty simple to implement, but it had some artifacts that would need to be addressed if I were to ever try something like that again. One of the biggest problems was that you could end up with small bits of terrain floating in midair or tiny holes in the middle of the ground. A cleanup pass could help smooth out some of these sorts of things. Also it was pretty memory-intensive. I'd imagine the granularity of the terrain could be adjusted so that you're not storing solidity information for every single pixel, then maybe you could run marching squares over your points to build a surface. Oh and since I mentioned Perlin noise, I should also add that if you're interested in Perlin noise, you might have seen this page, and if you have, you should take it with a grain of salt, because while it does present some good information about how to construct homogeneous noise, it's not Perlin noise. 
|
|
|
|
|
477
|
Player / General / Re: Your First Computer?
|
on: October 19, 2010, 07:48:49 AM
|
Some IBM-compatible Commodore 286 with 640KB of RAM (but MS-DOS used about 128KB of that, so I only had 512KB for games), 4-color CGA graphics, and two 5.25" disk drives. I loved the chunky feeling of inserting those gigantic floppy disks and clicking the lock into place. Computers were so much more tactile back in the day.  Learned GW-BASIC on that thing when I was like 5 or 6. Good times. Next machine was an IBM 386 Windows 3.1 box with something like 2MB RAM and a 20MB hard drive? I forget. Upgraded to QBASIC on that thing. <3 SCREEN 7 <3 Then in like '97 we got a sweet super-gimmicky 200MHz Windows 95 machine. It was an IBM Aptiva S (my parents had a thing for IBM back then) that came out during the heyday of gimmicky PC designs. It had a wireless three-button mouse (no wheel, though); the speakers were integrated into the monitor (ha, remember that?), and the monitor sat on top of this little external disc drive thing. I basically never touched the actual desktop box. It sat on the floor and collected dust.  Oh yeah and it also came with a flight stick and a folder full of games discs (some demos, but mostly full games). Sooooo gimmicky in retrospect, but I thought it was the coolest thing ever when I was 13. I guess I've had about four machines since then, but they've all been fairly uninteresting. My most recent one was also the first one I built myself (got it back in June '08), and I'm going to build another one next weekend.
|
|
|
|
|
478
|
Player / General / Re: Do you smoke?
|
on: October 19, 2010, 07:31:02 AM
|
I bought a smokeless e-cigarette and a few packs of zero-nicotine cartridges recently because they're all the rage where I work. I think I've used it like twice. 
|
|
|
|
|
479
|
Player / General / Re: Exercise
|
on: October 14, 2010, 07:28:20 AM
|
|
I do thirty minutes on an elliptical about three times a week. I was doing more last year (up to an hour a day fives day a week), but I'm not trying to lose weight anymore, just trying to work out enough that I can eat whatever I want and not have to worry about it.
|
|
|
|
|
480
|
Player / General / Re: What is your Nationality/Ethnicity?
|
on: October 13, 2010, 12:07:38 PM
|
|
1/4 Italian (maternal grandfather is 2nd generation Italian-American, as I recall), and 3/4 ...other stuff. I know there's some British in there somewhere -- might be mostly British for all I know -- and a tiny bit of Native American, but I don't know beyond that.
Born in Texas, lived all over the States, and now back in Texas.
|
|
|
|
|