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

sniffbaron

Members
  • Content count

    9
  • Joined

  • Last visited

Community Reputation

100 Neutral

About sniffbaron

  • Rank
    Newbie
  1. Thx alot, now it works perfectly :-)
  2. Hi again. The book did tell me how to set up the project, and I do infact have a basic understanding of c++ I'll double check that i'v done everything right (again) and see if I can get it working. It may be because the examples of the book are for the 2008 version of visual c++, while I have the 2010 version. Would this be an issue?
  3. Hi again. I reading the book "Beginning game programming" by Jonathan S. Harbour, and I just followed the instructions of the book. It is supposed to be a win32 project and it worked for the author. here is the code [code] // Beginning Game Programming, Third Edition // Chapter 1 - HelloWorld program #include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { MessageBox(NULL, "Motoko Kusanagi has hacked your system!", "Public Security Section 9", MB_OK | MB_ICONEXCLAMATION); } [/code]
  4. Hi, I am trying to learn myself c++, but I have run into some issues. When I try to compile a program in visual c++ express I get the error 1>------ Build started: Project: HelloWorld, Configuration: Debug Win32 ------ 1>LINK : error LNK2001: unresolved external symbol _WinMainCRTStartup 1>c:\users\jonas\documents\visual studio 2010\Projects\HelloWorld\Debug\HelloWorld.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Hope sombody have some ideas of what to do
  5. Thank you. I'll se if I can get it working now
  6. Thx for the help, don't know why I had the "answer" variable at all. But what should I do to make this work? And if you red the introduction at the start of this thread you would see that the point of this game is that you pick a number and the computer guesses it. Just somthng I wantet to try out
  7. Thx, but it's still not working properly [code] else { answer = randnumber; cout << "The number is " << randnumber << ". I made it in " << tries << " tries"; } [/code]
  8. Hi. I just tried making a program that let's you pick a number and then the computer will find it, but I'm getting stuck in an infinate loop and I need some help. [code] #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main() { int maxnumber = 100; int minnumber = 1; int number; int tries = 0; int answer; srand(static_cast<unsigned int>(time(0))); int randnumber = rand() & maxnumber + minnumber; cout << "Pick a number\n"; cin >> number; do{ int randnumber = rand() & maxnumber + minnumber; if(randnumber > number){ cout << randnumber << endl; maxnumber = randnumber; ++tries; } else if(randnumber < number){ cout << randnumber << endl; minnumber = randnumber; ++tries; } else { randnumber = answer; cout << "The number is " << randnumber << ". I made it in " << tries << " tries"; } }while(answer != number); system ("pause"); return 0; } [/code]