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

wood_brian

Members
  • Content count

    374
  • Joined

  • Last visited

Community Reputation

193 Neutral

About wood_brian

  • Rank
    Member
  1. I have some examples on my website.  There's also an archive that you can download on the getting started page.  The code in the archive demonstrates sending binary messages between different programs.
  2.   I switched from using select to poll in a couple of programs a few months ago.  The interface of poll is easier to work with.
  3. [quote name='incertia' timestamp='1352777750' post='5000445'] If you have an older version of VS11, all you need to do is update it. Just download the updated compiler and install it. [/quote] I installed the new version: Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 How do you tell if this is a pre-release version or not?
  4. [quote name='Martins Mozeiko' timestamp='1352682696' post='5000073'] The first link is for updated VS2012 C++ compiler. It was released after VS2012. Read about it here: [url="http://blogs.msdn.com/b/vcblog/archive/2012/11/02/visual-c-c-11-and-the-future-of-c.aspx"]http://blogs.msdn.co...uture-of-c.aspx[/url] The second link is for normal VS2012. [/quote] I'm thinking about using the "normal" version. I have an older version of VS11 already. Would it be good to remove the older version before downloading and installing the newer version?
  5. I'm trying to figure out what version of Visual Studio to use for updating some marshalling benchmarks. In the past I posted about a build problem while building a Boost test and someone pointed out that the version of the compiler I was using is a pre-release version -- Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50214.1. This version sounds like a pre-release version also: http://www.microsoft.com/en-us/download/details.aspx?id=35515 I'm not sure if the VS 2012 version here http://www.microsoft.com/visualstudio/eng/downloads#d-express-windows-desktop is a pre-release version or not. Is there a way to tell? Tia.
  6. [quote name='hplus0603' timestamp='1352567020' post='4999668'] Java doesn't have to be so bad. Consider that Minecraft is written in Java. As is many large enterprise web applications, such as online banking etc. And if it makes you happy, Java is less resource hogging than Ruby (used by Twitter) or PHP (used by Facebook) or Python (used by Google) :-) [/quote] Facebook was heavy on PHP, but then they decided to start using C++ more. I don't have Android experience, but I've heard C++ is an option there.
  7. I would recommend using a more specific type than int in your marshalling code. The meaning of int can change between platforms. This line: ZeroMemory(&inStream, sizeof(inStream)); looks questionable. I didn't see the definition of that function, but maybe you don't need to call that function. If you are interested in switching to binary serialization, I could be of more help.
  8. The [url="http://webEbenezer.net"]C++ Middleware Writer[/url] serializes objects so they can be sent across a network. There are links to examples on the home page.
  9. [quote name='Telastyn' timestamp='1344450666' post='4967476'] While that would be nifty, one of two things needs to happen if module support is added:[list=1] [*][b]Legacy compilation is supported. [/b]Then you're still in largely the same boat. The compiler can't make shortcuts because it needs to deal with the legacy gotchas that make it horrible today. [*][b]Legacy compilation is not supported. [/b]Then the expansive pile of existing code that is one of C++'s few strengths is useless. Then you get to wait N years for all of the library writers to modularize their code. [/list] And that's [i]after[/i] all of the spec writers settle on a good way to bolt modules onto the language (while still supporting template behaviors? good luck), and after all of the compiler writers actually implement the behavior in something vaguely resembling a standard way. [/quote] I believe they've decided on the first option in terms of supporting legacy compilation. The legacy issue is difficult, but not sure there's a better way. There could be an option in the compiler if you're working on a newer project to provide the faster build times.
  10. [quote name='rip-off' timestamp='1344296002' post='4966852'] What you read on "some random forums" was probably referring to generalised and/or automatic serialisation. Such tools may not designed for space optimisation. For example, they may not allow you to express domain specific knowledge such as the range of a "health" variable, etc. [/quote] All the serialization libraries I know of eliminate padding that compilers have added. They also allow marshalling of single bytes. They may not support bit level access though. I'm not aware of a library that supports that.
  11. [quote name='frob' timestamp='1344444404' post='4967434'] Many books have been written about improving C++ build times. Exactly which of the thousands of slow patterns your code uses is something we cannot tell. Many powerful and useful design patterns have slow compile times in C++ compilers. C++ compile times are slow. It will always be slow due to the design of the language. [/quote] I'm not sure why you say that. There's work to add support for modules to C++ [url="http://www.youtube.com/watch?v=8SOCYQ033K8"]http://www.youtube.com/watch?v=8SOCYQ033K8[/url]
  12. [quote name='Demx' timestamp='1343948665' post='4965668'] is boost a good library for this ? [/quote] There are a lot of good libraries in Boost. The serialization library in Boost has [url="http://webEbenezer.net/comparison.html"]some weaknesses[/url] though. [quote] btw currently i'm using a static array to send the players data from server to clients: [code] struct data { Player array[50]; } [/code] But this will send an array with 50 elements even if less people are logged in the game. That's why i want to try and put a dynamic array, but i read that serialization greatly increases the size of the struct so at the end is it worth it ? [/quote] Where did you read that?
  13. [quote name='Demx' timestamp='1343934514' post='4965623'] ok so is there any way to send a dynamic array in the struct i'm sending ? [/quote] Yes, use a [url="http://en.wikipedia.org/wiki/Serialization#C_and_C.2B.2B"]serialization library[/url] .
  14. Depending on how Player is defined that may not work. It would probably be better to use a marshalling/serialization library.