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

markrodgers11

Members
  • Content count

    29
  • Joined

  • Last visited

Community Reputation

149 Neutral

About markrodgers11

  • Rank
    Member
  1. Damn, well that's still pretty cool. I wouldn't really use it for commercial anyways, just was curious if I could develop on their engine w/o paying for a license, thanks guys!
  2. I came across this picture online and was curious how all these games have been derived from Quake? Is there some sort of public license-free source code of quake that we can use to develop from? If so does anyone know if its even worth it and if so where you could acquire this source? Not to mention, if they are all available, which would be best to develop from? Quake 1,2,or 3 src? [spoiler] [/spoiler]
  3. Well don't I feel stupid... thanks man! So just double checking, if I download DirectX SDK, I will be able to develop in C++ using DX10?
  4. I'm having issues finding directx 10 sdk.. this is the link i found but im not sure whether it is dx10 or dx11.. I'm looking for 10. EDIT: Maybe this is dx10? http://www.microsoft.com/en-us/download/details.aspx?id=8109
  5. Ahh I see. but what frob says brings up another question for me about structs/classes. [quote name='frob' timestamp='1350939982' post='4992899'] If you intend it to hold plain old data and not functions and such, call it a struct. [/quote] so does this mean structs can not hold functions or is it just preferred to put functions in classes and plain data in structs?
  6. getting back on topic of C++, so I suppose it is just personal preference since either can be used for same thing? Is their any that is more preferred by advanced C++ programmers, to get me into good habits?
  7. What is the difference between structs and classes in C++?
  8. I am working on a text-based RPG and I defined a vector in my [i][b]game.cpp[/b][/i] file and now I am trying to access it from my [i][b]inputSystem.cpp[/b][/i] file, it shows that it is unknown? I am wondering how I can access this vector from this other .cpp files? -Thanks
  9. yeah thats what i've heard and tahts why i wanna start learning how to use classes ;p ive been learning about vectors recently and those are pretty cool xP
  10. extern vector<int> pRooms(10,0); is that possible? [img]http://public.gamedev.net//public/style_emoticons/default/tongue.png[/img] I tried that ^^ and it still has a compile error. [code] 1>------ Build started: Project: textRPG, Configuration: Debug Win32 ------ 1> game.cpp 1> Generating Code... 1> Compiling... 1> rooms.cpp 1> init.cpp 1> Generating Code... 1>init.obj : error LNK2005: "class std::vector<int,class std::allocator<int> > pRooms" (?pRooms@@3V?$vector@HV?$allocator@H@std@@@std@@A) already defined in game.obj 1>init.obj : error LNK2005: "int nRooms" (?nRooms@@3HA) already defined in game.obj 1>rooms.obj : error LNK2005: "class std::vector<int,class std::allocator<int> > pRooms" (?pRooms@@3V?$vector@HV?$allocator@H@std@@@std@@A) already defined in game.obj 1>rooms.obj : error LNK2005: "int nRooms" (?nRooms@@3HA) already defined in game.obj 1>H:\C++ extRPG\Debug extRPG.exe : fatal error LNK1169: one or more multiply defined symbols found ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== [/code]
  11. I'm trying to build my 2nd text based RPG but this time I wanna make it more flexible and have the code split up and everything. I will post my source code below and my compile error: [u][i][b]Source Code:[/b][/i][/u] init.cpp [code] #include <iostream> #include "game.h" #include "rooms.h" void main() { intro(); } [/code] game.cpp [code] #include <iostream> #include <string> #include <vector> #include "rooms.h" using namespace std; void intro() { pRooms[9] = 10; checkRoom(); system("pause"); } [/code] game.h [code] #include <string> #include <vector> using namespace std; // Prototypes // void intro(); [/code] rooms.cpp [code] #include <iostream> #include <vector> #include "rooms.h" using namespace std; int checkRoom() { int cRoom = 0; int counter = 0; int x = 0; if (counter <= nRooms) { if (pRooms[x] = 1) { x = cRoom; cout << "cRoom = " << cRoom; } else { ++counter; ++x; cout << "Adding 1\nAdding 1 to x"; } } return cRoom; } [/code] rooms.h [code] #include <iostream> #include <vector> using namespace std; // Prototypes // int checkRoom(); // Vectors // vector<int> pRooms(10,0); // Integers // int nRooms = pRooms.size(); [/code] [b][i][u]Build Log[/u][/i][/b] [code] 1>------ Build started: Project: textRPG, Configuration: Debug Win32 ------ 1> game.cpp 1> Generating Code... 1> Skipping... (no relevant changes detected) 1> rooms.cpp 1> init.cpp 1>init.obj : error LNK2005: "class std::vector<int,class std::allocator<int> > pRooms" (?pRooms@@3V?$vector@HV?$allocator@H@std@@@std@@A) already defined in game.obj 1>init.obj : error LNK2005: "int nRooms" (?nRooms@@3HA) already defined in game.obj 1>rooms.obj : error LNK2005: "class std::vector<int,class std::allocator<int> > pRooms" (?pRooms@@3V?$vector@HV?$allocator@H@std@@@std@@A) already defined in game.obj 1>rooms.obj : error LNK2005: "int nRooms" (?nRooms@@3HA) already defined in game.obj 1>H:\C++ extRPG\Debug extRPG.exe : fatal error LNK1169: one or more multiply defined symbols found ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== [/code]
  12. okay thanks guys!
  13. okay so recently ive been reading a book on C++ and i've learned quite a bit and i just wanted to see what it was like so i took a look at the cryengine 3 source code that they release with the SDK. and suprisingly i could KIND OF understand it xP although at the same time alot of the stuff they made was custom so there was a lot of things i was confused about but i realized when i look at source code everyone uses classes, but for some reason the book doesnt cover classes to towards the end of the book. So I was just wondering if someone could explain how classes work in C++ and how to use them and the syntax? Basically everything i should know about classes ;p
  14. wow thanks for the release in the source, once I find the time I will definitely setup a project and paste all your code it, study it, modify it to learn new things, etc! Love looking at other people's source code, I find it a good way to study it, unless you have no idea what any of it is then its just like trying to read Chinese ;p
  15. ohokay well thanks for the useful responses, i read closer in my book and it was explained I just happened to miss it on the first read through of that section Thanks for helping out anyways!