Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Everything posted by DrewGreen

  1. this might be of interest to you.
  2. DrewGreen

    Collision Detection

    Come to think of it the &&s should probably be ||s. It's one nested statement. Sorry I should have explained - separating them out will lead to this implementation returning true in cases where there is no collision taking place. For example when the ball & paddle bounding box/collision rectangles satisfy the conditions for x (i.e. left & right) but not for y (top & bottom): o --- or vice versa: --- o A collision would be detected every time the two objects occupied rougly the same space on either the x or y axis. My fantastic ascii art shows a scenario where this would return true (more importantly, the ball would never go out of play) What you're after is the area where both of these are true (i.e. the intersection) [Edited by - DrewGreen on June 2, 2006 12:24:15 PM]
  3. DrewGreen

    Collision Detection

    if (bottom1 < top2) return true; if (top1 > bottom2) return true; if (right1 < left2) return true; if (left1 > right2) return true; Reconsider this part of the Collide function. I haven't tested this on a machine but try replacing it with: if ((bottom1 < top2) || (top1 > bottom2)) if ((right1 < left2) || (left1 > right2)) return true; edit: changed && to || [Edited by - DrewGreen on June 2, 2006 12:55:05 PM]
  4. DrewGreen


    linky edit - the description doesn't do it justice unfortunately, it's fairly heavy going & fast paced but has tons of useful intros to many of those topics.
  5. DrewGreen

    Are you a crappy programmer?

    Quote:Original post by Endar Quote: You model all your code in UML before you write it. Enthusiastic UML modeling is typically done by those who aren’t strong coders, but consider themselves software architects anyway. Modeling tools appeal most to those who think coding can be done in conference room by manipulating little charts. The charts aren’t the design, and will never be the design, that’s what the code is for. I'm not in the work force yet, but I do a lot of programming, and the only time I actually did a serious amount of UML work (more than just modelling the highest 4-5 classes) was a group project. That was ridiculous. I'm no UML fanboy but I think the author has missed the point somewhat - as you say, there is a great deal more to UML/OCL than just a few class diagrams. "The charts aren’t the design, and will never be the design, that’s what the code is for." suggests to me a lack of understanding purely by the failure to recognize design (high level solutions to system requirements) and code as two almost entirely discrete entities (although obviously the code/solution fits the design). There is nothing to imply you're making a mistake by modelling the design in UML or whatever other tool you wish to use before writing the code, in fact the dev lifecycle/methodology you're using may require it. Equally there's nothing wrong with updating them as you go. (although personally I haven't yet encountered a situation where I'd do it this way unless I was using it just for documentation purposes). Otherwise an informative read that I more or less agree with. [Edited by - DrewGreen on May 17, 2006 9:36:15 AM]
  6. DrewGreen

    does any1 know this game of life pattern?

    Yep, that's an oscillator. I wrote my own version a while back and possibly made a discovery myself - on a 256x256 grid this pattern will eventually reach a stable state but not before creating some coolness as well: 10101 00000 00100 01110 00100 00000 10101 (1 = living cell, 0 = dead) I also added an option to mess with the rules of the game (i.e. change the number of neighbours required for birth/death, 0-8) but interestingly couldn't find another configuration except for Conway's where things look "realistic". a few others to try if you haven't already: Pulsar (leads to the oscillator in your picture) 010 111 101 111 010 Glider 010 011 101 Queen Bee Shuttle 1100 0010 0001 0001 0001 0010 1100 Pentadecathlon 1111111111
  7. DrewGreen

    Felt/cloth effect in photoshop?

    Thanks I'll give that a whirl - it's a definite timesaver over the usual airbrushed shadow/highlight method I use.
  8. DrewGreen

    Felt/cloth effect in photoshop?

    Genius! So simple it's embarrassing. That site is a great find by the way, I've found a couple of brushes that look like they'll do the trick nicely, so I'll try a combination. Jarrod: Unfortunately not. Not really a 3d guy, I've got milkshape but that probably won't cut it.. thanks for the tip though.
  9. DrewGreen

    Felt/cloth effect in photoshop?

    Fair enough. I agree there's not much detail but was hoping people might have seen the ads. I found a better example: and a few felt pictures that are helping to inspire me. I haven't started on the art yet so can't post any of my own work - I'm no artist but am capable of reasonable results with a lot of effort so my approach has been to 'research my subject' before I draw anything. If it helps, the first image is pretty close to what I want to achieve, the theme of the game involving finger puppets. edit: also the 2 images at the bottom of this page, however I don't own a copy of ZBrush. [Edited by - DrewGreen on May 7, 2006 8:13:06 PM]
  10. DrewGreen

    God speaks to him and he can see your soul...

    Quote: Bush called Merkel "authentic, open and direct." "My what a small penis you've got" sorry, couldn't help myself. Not intended as bush-bashing btw
  11. DrewGreen

    Gun sounds in games

    I can't say I'm too bothered about how real a game's arsenal sounds, as long as it's satisfying - and most are (my favourite's the Barrett .50 cal sniper rifle in DF2). Then again I've never fired a real gun either. Maybe a force feedback mouse would help... :) OT: Whilst we're on the subject of sound effects, what really gets me are the sounds used in every film/tv show/whatever for a) metal doors opening (ignore the music), and b) police radio chatter. I don't have a sample for the police chatter but it's on the GTA 1 soundtrack - specifically the "Five George K" and "[something] is apparently secure from ground level, we're gonna retour beepetybeep" (or that's what I can make out) parts. It's also made appearances in various cop shows. When you've heard it before it kind of ruins the suspension of disbelief. The door sound is off futurama but it could be from anywhere, & again when I notice it it ruins the illusion as I then start thinking about why they can't get some new samples. Grr. Maybe it's just me.
  12. DrewGreen

    Fear Mongering

    Anyone seen Brass Eye?.... http://en.wikipedia.org/wiki/Brass_Eye#2001_paedophilia_special
  13. DrewGreen

    What's the best way to MAKE games!

    Although a lot of people are going to disagree with this I'll say it anyway - drag and drop titles such as Klik & Play or The Games Factory are capable of some pretty good games with virtually no programming, if you aren't bothered about learning to code then this is a great way to get results quickly & easily.
  14. DrewGreen

    Mulitplayer Zombie Game?

    Not as such, but if zombie monkeys will suffice, TimeSplitters 3: Future Perfect has a survival zombie monkey onslaught mini-game. It's also multiplayer but the two are almost mutually exclusive.
  15. It's cable, admittedly ntl has a habit of having dodgy connections (mini rant: because it's done on the cheap) but I have the problem when it's working for everyone else, workgroup access is also unavailable. I've just moved here but it's been working fine for the last 2 years so I doubt the network/line is the problem.
  16. yeah, that's the thing - the signal strength is usually between 90-100% when the connection is actually working. As for the drivers, I had a look there and tried the ones for _v5 (didn't detect the card) and _v2 (didn't work but looked to be the most likely contender as the hardware version is 2. I've decided their driver labelling system is total bollocks & can't for the life of me figure out where the ones I need are hidden) nice diagrams btw :) edit: mine's / / __________ / | |_/ |__________| - - [Edited by - DrewGreen on April 23, 2006 1:05:57 PM]
  17. This is something I'd quite like to know as well. However, I offer some educated guesses: a) it works on your machine, use that as the recommended requirements, release, and hope for the best. b) find out how much memory it's eating up in task manager, figure out the number of necessary images being stored in graphics memory at any one time (& how much memory that equates to), recommend the graphics card supports whatever api version you're using, and maybe find out how long it takes for sections of code to execute & adjust (somehow) the results for slower processors, depending on chipset. c) determine the specs that work during beta testing, assuming you can find enough people. or a combination of all three.
  18. DrewGreen

    Real-life Earth Flyby

    Awesome find, I'm really into sifting through images on the Mars Lander Rover & Cassini sites & hadn't heard of Messenger - when was it launched & what's it for? [Edited by - DrewGreen on April 22, 2006 12:13:45 PM]
  19. DrewGreen

    What are the symptoms of overheating?

    Before you go out and buy a load of cooling equipment give the fans and heatsinks a good clean if you haven't already (I swear by compressed air) - my system has an annoying alarm that beeps when it gets too hot & spending 5 minutes cleaning fixes this for at least a few months, depending on dust levels in the room. On a related note, a while ago I saw a video of someone playing Quake (3?) & showing what happens when you take the heatsink off a pentium versus an athlon - has anyone seen this recently & know where I can get a copy? It was cool.
  20. DrewGreen

    worst error message EVER

    Quote:Original post by John Schultz GME pwnz BSOD Damn straight
  21. DrewGreen

    Looking for a good C++ to UML tool

    Thanks everyone, those both look like they're worth checking out. (I didn't even know I could use Doxygen like that!) Quote:Original post by Tradone "You draw your own UML diagrams, and from those UML diagrams, classes are formed, and you can program visually and with your mouse instead of with your keyboard." I don't know if this is possible, but I was going to make one even though it sucked and was very elementary. Good idea no? A very good idea. At uni we had Rational Rose 2001 which is capable of doing this (it also happens to cost a fat wad of cash) with c++ and java, although it only outputs a "skeleton" version (i.e. the routines won't actually do anything) - I don't know whether that's what you meant though.
  22. DrewGreen

    Educational PC

    Quote:Original post by Monder I think LOGO could be a good tool for introducing kids to coding, it's very easy to use and gives immediate visual output. I remember using this at school about 10 years ago. My mum's a primary school teacher and it's still in use today as part of the ICT key-skills stuff kids have to learn in the UK. It's definitely a winner when you can drive a robotic turtle around the classroom. Though back to the original point, I can't see many young children being too impressed with learning machine language - attention spans being what they are and all (it's hard enough for me to pay attention even now that I'm interested). I think programs like Alice (www.alice.org) are more likely to succeed thanks to the intuitive, readable flow-chart system it uses - kids can understand this without too much effort as it's familiar to them, yet it is still able to teach about programming structures without getting bogged down in semantics.
  23. DrewGreen

    Anyone know much about speakers?

    Personally if I had £200 to spend on speakers I'd look into separates instead of the crap targetted at the pc market. Might I suggest browsing through the bargain section of Richer Sounds before you settle for logitech or creative - I got a couple of decent sounding speakers (Eltax Monitor III) a few years ago for £50, and a cambridge audio a500 amp for £100. They're only stereo & aren't exactly amazing by audiophile standards but I've yet to hear anything tagged as a "PC Multimedia Speaker System", 5.1 or otherwise, come anywhere close. Your friend is correct in that expensive systems sound way better than cheapo systems, but £200 still falls into the cheap category unfortunately, after taking into account the 5.1 support. Add another 500-1000 quid onto that price & you're starting to get into the 'expensive' sector. Also don't forget, the part about 505W is not referring to RMS but PMPO. I know speakers are better cos they make more noise but some quality headphones (f.e. mid-range Sennheisers) will be infinitely better than any hifi for the same price. Although I admit it's not as much fun if you can't hear that fat bassline from the next room or advertise your FPS bodycount to the neighbours.. [wink]
  24. DrewGreen

    Guess The Film Scene 2!

    yup well that was over quickly :( :)
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!