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


  • Content count

  • Joined

  • Last visited

Community Reputation

102 Neutral

About client

  • Rank
  1. I have downloaded WXPorts and unpacked in C:/lib/wxWidgets/, then i created a new project in MVSC++ 2010, next I set my project properties: VC++ Directories: [quote]Include dirs.: $(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;C:\libs\wxWidgets-2.8.12\include\;C:\libs\wxWidgets-2.8.12\include\msvc\ Library dirs.: $(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib;C:\wxWidgets-2.8.7\lib\vc_lib\mswd; Source dirs.: $(VCInstallDir)atlmfc\src\mfc;$(VCInstallDir)atlmfc\src\mfcm;$(VCInstallDir)atlmfc\src\atl;$(VCInstallDir)crt\src;C:\libs\wxWidgets-2.8.12\src;[/quote] Next i had included anitest.cpp and anitest.h to my project and compiled it. I got this one: [quote]1>C:\libs\wxWidgets-2.8.12\include\msvc\wx/setup.h(142): fatal error C1083: Cannot open include file: '../../../lib/vc_lib/msw/wx/setup.h': No such file or directory[/quote] Can you help me with that?
  2. Any errors, but i can't see my bitmap in window. I also added bitmap in my project. API.cpp [CODE] #include <windows.h> #include <iostream> #include <sstream> #include <WindowsX.h> #include <string> #include <cstdio> #include "resource_bg.h" #define WIN32_LEAN_AND_MEAN LPSTR className = "test"; UINT windowWidth = 460; UINT windowHeight = 220; char serverName[] = "test"; char titleText[256]; LPSTR windowName; HBITMAP bg_bitmap; BITMAP info_bitmap; LRESULT CALLBACK WindowEventProc(HWND hWindow, UINT uMsg, WPARAM wParam, LPARAM lParam); ///////////////////////////////////////////////////////// int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){ sprintf_s(titleText, "Launcher %s", serverName); windowName = (LPSTR)titleText; WNDCLASSEX windowClass; ZeroMemory (&windowClass, sizeof(WNDCLASSEX)); windowClass.cbSize = sizeof (WNDCLASSEX); windowClass.style = CS_OWNDC; windowClass.lpfnWndProc = WindowEventProc; windowClass.cbClsExtra = 0; windowClass.cbWndExtra = 0; windowClass.hInstance = hInstance; windowClass.hIcon = LoadIcon (NULL, IDI_APPLICATION); windowClass.hCursor = LoadCursor (NULL, IDC_ARROW); windowClass.hbrBackground = (HBRUSH) (COLOR_WINDOW + 1); windowClass.lpszMenuName = NULL; windowClass.lpszClassName = className; windowClass.hIconSm = LoadIcon (NULL, IDI_APPLICATION); if (!RegisterClassEx(&windowClass)){ MessageBox (NULL, "There is a problem with your device.", "Error", MB_ICONEXCLAMATION | MB_OK); return 1; } HWND hWindow; hWindow = CreateWindowEx(NULL, className, windowName, WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX, 100, 100, windowWidth, windowHeight, NULL, NULL, hInstance, NULL); HWND hPrzyc = CreateWindowEx( 0, "BUTTON", "Dialog", WS_CHILD | WS_VISIBLE, 5, 5, 50, 25, hWindow, NULL, hInstance, NULL ); HBITMAP bg_bitmap = (HBITMAP)LoadImage(GetModuleHandle(NULL),MAKEINTRESOURCE(IDB_BITMAP2), IMAGE_BITMAP,0,0,0); if(bg_bitmap==0) { MessageBox(0,"Problem z wczytaniem bitmapy.","Brak pliku",MB_ICONERROR); return 0; } GetObject(bg_bitmap,sizeof(BITMAP),&info_bitmap); ShowWindow (hWindow, nCmdShow); UpdateWindow (hWindow); // Messages loop MSG msgStatement; while (GetMessage(&msgStatement, NULL, 0, 0)){ TranslateMessage (&msgStatement); DispatchMessage (&msgStatement); } return static_cast<int>(msgStatement.wParam); } ///////////////////////////////////////////////////////// LRESULT CALLBACK WindowEventProc(HWND hWindow, UINT uMsg, WPARAM wParam, LPARAM lParam){ switch (uMsg) { HDC hdc, hdcBitmapy; PAINTSTRUCT ps; case WM_PAINT: { hdc=BeginPaint(hWindow,&ps); hdcBitmapy=CreateCompatibleDC(hdc); bg_bitmap=(HBITMAP)SelectObject(hdcBitmapy,bg_bitmap); BitBlt(hdc,0,0,1000,1000,hdcBitmapy,0,0,SRCCOPY); bg_bitmap=(HBITMAP)SelectObject(hdcBitmapy,bg_bitmap); DeleteDC(hdcBitmapy); EndPaint(hWindow,&ps); break; } case WM_DESTROY: { PostQuitMessage (0); return 0; } } return DefWindowProc(hWindow, uMsg, wParam, lParam); } [/CODE] resource_bg.h [CODE] #ifndef IDC_STATIC #define IDC_STATIC (-1) #endif #define IDB_BITMAP2 101 [/CODE] bgres.rc [CODE] #include <windows.h> #include <commctrl.h> #include <richedit.h> #include "resource_bg.h" // // Bitmap resources // LANGUAGE 0, SUBLANG_NEUTRAL IDB_BITMAP2 BITMAP "bitmap1.bmp" [/CODE]
  3. Hello. How Can i set my default text in combo box? I mean this text: for example - ^Click here^ [CODE]HWND hCombo = CreateWindowEx( WS_EX_CLIENTEDGE, "COMBOBOX", NULL, WS_CHILD | WS_VISIBLE | WS_BORDER | CBS_DROPDOWN, 50, 50, 150, 200, hwnd, NULL, hInstance, NULL ); SendMessage( hCombo, CB_ADDSTRING, 0,( LPARAM ) "e1" ); SendMessage( hCombo, CB_ADDSTRING, 0,( LPARAM ) "e2" ); [/CODE]
  4. Lern C++ Sergey, lern.
  5. 2011 has a developing state.
  6. Looks nice. Quite well documentation. It is real competition for other GUI's. [s]Would be nice, if you created a community forum.[/s] - Author edited his topic.
  7. I guess, you mean thermal effect. You should experiment with thermal vision pixel shaders. [url="http://coding-experiments.blogspot.com/2010/10/thermal-vision-pixel-shader.html"]http://coding-experi...xel-shader.html[/url]
  8. @Edited: I got wrong.
  9. In Poland we have McDonald's, Burger King and KFC (and some damn salad bars). So, Mc'Donald. [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]
  10. It should be: [code](ch == 'y' || ch == 'Y')[/code] @Down: a few secs. [img]http://public.gamedev.net//public/style_emoticons/default/smile.png[/img]
  11. Graphic looks like Irlicht‘s graphic.
  12. You should learn C++ at first, it is very powerful and useful language. On the beginning your adventure, may have problems,but it really help you. When I was 14 decided to learn C++, but after 0.5 month changed my mind. I have regreted to nowa days.
  13. [quote name='Washu' timestamp='1329687078' post='4914627'] [quote name='fastcall22' timestamp='1329682700' post='4914603']A pointer is an [tt]unsigned integer[/tt] (32-bits or 64-bits), that literally holds an address of memory.[/quote] No. Just no. Pointers are not integers, and don't ever mistake the conceptual machinations of imagining memory addresses as numbers to mean that they are simply "integers". They aren't. Heck on some machines they aren't even a single "integer", hello segmentation. This misconception is why so many people fail [url="http://www.scapecode.com/2011/05/a-simple-c-quiz/"]this quiz[/url]. The links were good though. [quote name='BSt' timestamp='1329686279' post='4914617']It should help you, pointer "stores" a address to another object. It is faster. Also, We use them to create a new objects using (new).[/quote] A pointer simply describes an object whose value provides a reference to an object of the referenced type. Its not "faster", that doesn't even make sense. Faster than WHAT? [/quote] Fast than hell... I meant, useful in functions, powerful etc.Maybe I overcoloured using this word.
  14. [url="http://upload.wikimedia.org/wikipedia/commons/4/43/Zeiger.PNG"][img]http://upload.wikimedia.org/wikipedia/commons/4/43/Zeiger.PNG[/img][/url] Numbers on the right side of picture are memory addresses. [CODE] int b = 15; // Object int * a = NULL; //Pointer a = &b; //We use (&) to get address of (a) object. [/CODE] Try to output in console: &b, b, &a, a, *a. {...}
  15. It sounds very good and should help you with get a job. A lot of features which help you in programming.