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

keiokrysha

Members
  • Content count

    5
  • Joined

  • Last visited

Community Reputation

106 Neutral

About keiokrysha

  • Rank
    Newbie
  1. Hi, it is solved, was a silly mistake, the g_pRenderTargetView is NULL because of "g_pImmediateContext->OMSetRenderTargets" I set it as g_pImmediateContext->OMGetRenderTargets", so the render target was never set. Thanks.
  2. Hi Erik Rufelt, you are absolutely correct, I checked the project folder and there was not any .fx file, it was on my desktop, I just dragged it into the "Solution Explorer" in my Visual Studio 2010, after I put it in the project folder, the program can continue, however I am encoutering a new problem now, which I have post in another thread. Thank you very much!
  3. Hi, I am encountering a problem in my program, the program can be built sucessfully, but if I try to run it, it pops up a window says "Unhandled exception at 0x77ad15de in akatsuki.exe: 0x0000087D: 0x87d." And the related output message is: [source lang="cpp"]D3D11: CORRUPTION: ID3D11DeviceContext::ClearRenderTargetView: First parameter is corrupt or NULL. [ MISCELLANEOUS CORRUPTION #13: CORRUPTED_PARAMETER1 ] First-chance exception at 0x7689b9bc in akatsuki.exe: 0x0000087D: 0x87d. Unhandled exception at 0x77ad15de in akatsuki.exe: 0x0000087D: 0x87d.[/source] The related code to the "CelarRenderTargetView" is: [source lang="cpp"] g_pImmediateContext->ClearRenderTargetView( g_pRenderTargetView, ClearColor );[/source] I cannot see any problem here. And the Visual Studio 2010 automatically opens a new tab with the title "xnamathmatrix.inl(Please see attach files) Please help, thanks!
  4. In the SDK tutorials, some of them use .fx files to store shaders information, take Tutorial04 as an example, it has the .fx file "Tutorial04.fx", [color=#ff0000]Can anybody tell me why if I create a .fx file with the same content(copy/paste from "Turotial04.fx") but different title, then change the two places in the code where the file title are used:[/color] [source lang="cpp"]hr = CompileShaderFromFile( L"Tutorial04.fx", "PS", "ps_4_0", &pPSBlob );[/source] Change L"Tutorial04.fx" to new .fx file tile [source lang="cpp"]hr = CompileShaderFromFile( L"Tutorial04.fx", "VS", "vs_4_0", &pVSBlob );[/source] Change L"Tutorial04.fx" to new .fx file title Then the program pops up an error message? " [source lang="java"]if( FAILED( hr ) ) { MessageBox( NULL, L"The FX file cannot be compiled. Please run this executable from the directory that contains the FX file.", L"Error", MB_OK ); return hr; }[/source] That says only a .fx file with title "Tutorial04" will work here, I guess it has something to do with the resource.h and Tutorial04.rc files, but I do not know what it is. Can anybody help? Thanks.
  5. Hi I tried to write some D3D11 code, "build" is successful, information see below: [source lang="cpp"]1>------ Rebuild All started: Project: akatsuki, Configuration: Debug Win32 ------ 1>Build started 9/13/2012 9:43:23 PM. 1>_PrepareForClean: 1> Deleting file "Debug\akatsuki.lastbuildstate". 1>InitializeBuildStatus: 1> Creating "Debug\akatsuki.unsuccessfulbuild" because "AlwaysCreate" was specified. 1>ClCompile: 1> stdafx.cpp 1> akatsuki.cpp 1>Manifest: 1> Deleting file "Debug\akatsuki.exe.embed.manifest". 1>LinkEmbedManifest: 1> akatsuki.vcxproj -> C:\Users\kai\Documents\Visual Studio 2010\Projects\akatsuki\Debug\akatsuki.exe 1>FinalizeBuildStatus: 1> Deleting file "Debug\akatsuki.unsuccessfulbuild". 1> Touching "Debug\akatsuki.lastbuildstate". 1> 1>Build succeeded. 1> 1>Time Elapsed 00:00:01.53 ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========[/source] but when "start debugging", the program stops at opening the .fx shader file, information see below: [source lang="cpp"]'akatsuki.exe': Loaded 'C:\Users\kai\Documents\Visual Studio 2010\Projects\akatsuki\Debug\akatsuki.exe', Symbols loaded. 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\d3d11.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\dxgi.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\D3DX11d_43.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\msvcr100d.dll', Symbols loaded. 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file 'akatsuki.exe': Unloaded 'C:\Windows\SysWOW64\setupapi.dll' 'akatsuki.exe': Unloaded 'C:\Windows\SysWOW64\devobj.dll' 'akatsuki.exe': Unloaded 'C:\Windows\SysWOW64\cfgmgr32.dll' 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\igd10umd32.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\d3dx10_40.dll', Cannot find or open the PDB file 'akatsuki.exe': Loaded 'C:\Windows\SysWOW64\D3D11SDKLayers.dll', Cannot find or open the PDB file D3DX11: ID3DX11DataLoader::Load - can't open Akatsuki.fx[/source] Please help, thanks! [color=#ff0000]And can anybody tell me what are all those "Cannot find or open the PDB file" about?[/color]