• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

Dean Harding

Members
  • Content count

    2228
  • Joined

  • Last visited

Community Reputation

546 Good

About Dean Harding

  • Rank
    Contributor
  1. Sounds more like you're trying to write a 'bot, rather than a trojan. But still, there are legitimate reasons for writing a global hook. For example, here is a program I wrote that installs a global mouse hook that translates middle-button clicks into left-button double-clicks. It includes source, so should get you started.
  2. Quote:Original post by Jason Doucette But, while we're on the topic of thread affinities... what exactly is the likelihood that a program will be moved from one CPU to another during execution? It happens all the time. The "soft" affinity that a thread gets which "usually" keeps it on the same thread is very soft. It'll jump between CPUs a lot more than you may think.
  3. Quote:Original post by Dean Harding My other vote would be for Rory Blyth. Some of his stuff is just pure gold (like this one) Sorry, I just can't help linking to this post of Rory's - this is why he's on my list of favourite bloggers -- it's generally not for his technical content :)
  4. Quote:Original post by KaptainKomunist John Dvorak all the way. That's a joke, right? I'd vote for Larry Osterman. He's not as prolific as some of the others, but the quality is usually pretty high. My other vote would be for Rory Blyth. Some of his stuff is just pure gold (like this one)
  5. Quote:Original post by Mithrandir So it seems that you won't be able to watch next-gen DVD movies on your computer unless you buy a special computer from an OEM. You can buy stand alone monitors with HDCP. The thing about HDCP that's scary is the key revocation list. Basically, if a content provider doesn't like your player, they can just revoke the encryption key of your player, rendering it useless. So let's say Company X makes HD-DVD (or Blu-Ray) players, and they comply with the media companies requests (i.e. no unencrypted HD outputs). That's fine, you're nice and legal so it doesn't worry you. Until Evil Corp. comes along and steals Company X's encryption key. They produce players which output unencrypted HD. So what do the media companies do? They put Evil Corp. (and hence Company X's) key on the key revocation list. Now everybody who legally purchased a Company X player and only legal media has a $500 paper weight. That's scary. Disclaimer: I don't know about the actual technology used, I'm just going by what I've read, so it may be possible to "ignore" the key revocation list. But the thing is, media players will be contractually obliged to honour it in order to get a key in the first place. But that's not to say that Evil Corp. will have to honour it since they've got stolen keys anyway. So would there be any point in revoking keys at all? That just raises the question, why have key revocation lists to begin with if Evil Corp. can just ignore them?
  6. In general, you can't know your "IP address" as seen from the outside world, even if you create a server socket. This is because your computer may be behind a NAT, which you don't have control over. You can find your network adapter's IP address (which the link provided by RayNbow shows you how to do that) but that's not necessarily what the rest of the world will use to connect to you.
  7. Of course. You can use both the managed libraries and the unmanages libraries from C++, just depends if you're doing mostly-managed stuff or mostly-unmanaged stuff I guess.
  8. This page has a sample which parses the output from the nslookup command on Windows.
  9. Applications are Unicode by default in VSC++ 2005 (it's faster than Ansi, since no coversions need to be done - the Windows NT API is Unicode underneath, Ansi APIs have their parameters converted to Unicode underneath). So basically, instead of what you have you want: wchar_t *g_wszClassName = L"MyClassName"; hwnd = CreateWindowEx( WS_EX_CLIENTEDGE, g_wszClassName, L"A simple test program", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 400, 250, NULL, NULL, hInstance, NULL);
  10. Each call to send is one packet. By "a packet will arrive, or it won't" they mean that you don't have to worry about "invalid" packets - if the network layer detects an invalid packet, it'll just drop it without telling your application - as if the packet never arrived. When you call recv, you have to make sure the buffer you pass in is big enough to hold your biggest packet (it's best to define a "maximum packet size" - say 512 bytes, and never send anything bigger) otherwise it may get truncated and recv returns an error (the rest of the data is lost).
  11. Quote:Original post by Lode Hmm yeah I've seen this blog before, but, is it official :) Er, yes it's official. That was blogged by one of the developers - seems rather strange that they'd outright lie... Anyway, I just tried it myself and can confirm that it works.
  12. Quote:Original post by Lode Does this IE7 render translucent png's correctly, like all modern browsers (except IE6) do? Yeah, it does.
  13. Quote:Original post by Nemesis2k2 Sorry, that was a little snappy. No worries :)
  14. This blog explains your problem. Have you tried dalep's solution? It should work.
  15. Quote:Original post by Nemesis2k2 I know, but it doesn't change the fact that it can't. Of course, I was just trying to give the reason...