• 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.

Puzzler183

Members
  • Content count

    1919
  • Joined

  • Last visited

Community Reputation

540 Good

About Puzzler183

  • Rank
    Contributor
  1. The C++ standard at least says that expression will never fail. Your friend is wrong. Congratulations.
  2. Nevermind, figured it out... Some of the sites just lie; the correct formula was the logarithm one.
  3. After much Googling, I wasn't able to find a good source of information on information entropy and how to calculate it from a stream of binary data. A few of the sites I read lead me to beleive that this would work (C#): float chiSq = 0; float expected = (float) length / freq.Length; for (int i = 0; i < freq.Length; ++i) chiSq += (freq[i] - expected) * (freq[i] - expected) / expected; Console.WriteLine("Length: " + length); Console.WriteLine("Chi-Squared: " + chiSq); Console.WriteLine("Entropy: " + (float) length / chiSq); Where freq is the frequency table (usually 256 elements), and length is the length of the input. However, this value seems to grow arbitrarily and I was wondering how entropy bits per actual byte is calculated?
  4. Pardon my generalization but a lot of black people call each other that. I don't care if it's non-offensive when they call each other that; it's why the word is still around (I hear it at least 100 times from black people for every time I hear it from someone else). This is the same kind of double standard that let's them have a black cultural center (whereas, if I started a white cultural center, I would be labeled a racist), etc. And this double standard exists with almost every minority (see: the Gay Games in Chicago just recently; bet I couldn't have the straight games without being labeled a homophobe). I don't hate any culture/group/race. I just feel that if minorities want equality, then they have to be equal, not more equal.
  5. So let me get this straight. Black people still call each other niggers, but yet, they get offended when someone puts up a billboard that is obviously not racist but yet has a connection to some obscure thing from more than a century ago? Right...
  6. Well, I kind of thought about that approach, but that basically triples the amount of work I should be doing.... I guess I could just roll my own with a string builder...
  7. I've recently been using regex in C# to do my string matching and replacing, however, I can't figure out a good way to do something. I have two strings x and y, and every instance of x needs to be replaced with y and vice versa in some larger text. The problem is, I can't just do a replace all x with y and then all y with x because I'll just end up with all x's (instead of swapping them). In case I haven't made myself clear, I need to do something like this: x = "apples" y = "oranges" original text = "I like apples but hate oranges" new text = "I like oranges but hate apples" In PHP, I just did this by specifying an array of patterns and replacements but C# doesn't seem to have this option. Any ideas or will I have to do it myself?
  8. So I guess The Ship is coming out on Steam in a little more than an hour. Anyone going to buy it/already has?
  9. Don't forget MP3 BEATING COMPRESSION! Oh wait that's supposed to be in general programming.... OH WAIT.
  10. There is definitely a strip unused symbols thing. Perhaps it's time to get a new (better) compiler (newer GCC is FAR better than old MSVC).
  11. Smitty is the only one of you that read more than the thread title. And he's dead on: you're forgetting to dereference a pointer somewhere probably.
  12. Let's face it guys. LessBread is dead on. Dreddnafious Maelstrom can't even be bothered to use proper grammar (your shift key is located to the left of your z key), let alone come up with counterpoints. If you think global warm is fake, look at the HGUE losses in the ice sheets (which would, by the way, slow down the temperature rise).
  13. Quote:Original post by JBourrie Standard C++ cross-platform way to do it That's awesome. Until you realize that the resolution of that is absolute shite... ;-)
  14. And I'll keep using iTunes because WMP's library thing is positively shite. WMP works for movies though...
  15. You should probably check ur megahurtz 4 free since it looks like they've been st0l3d.