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

Archived

This topic is now archived and is closed to further replies.

bluemace

Tricks of the Windows Game Programming Gurus code and DirectX8 problems...

12 posts in this topic

Short and simple. When I installed DX8 most of the samples that were on the CD stopped to function. Most of the time I can''t even compile the programs using the source code. I am beginning to think this book is really not good for learning DirectX from scratch cause I feel lost since I was using the book as a reference and now I can''t even use it as a reference to give my game functionality using a joystick. ~Robert
0

Share this post


Link to post
Share on other sites
Um, Yeah, Tricks is now a really sucky book to learn DirectX from thanks to the fact that Microsoft totally switched up the way DirectX is structured after version 7.0 (the book uses DX6). Since DirectDraw is no longer in existence, that''s probably why the apps don''t compile, since Tricks basically covered DirectDraw for graphics. D''oh!

However it should be noted that Tricks isn''t just a DirectX book, Andre put in some really nice and detailed Win32, AI, Physics, Optomization, etc sections that definetly deserve a spot on your reference shelf.
0

Share this post


Link to post
Share on other sites
I''ve got DX8 on my computer and the samples from Andre''s book still work.
0

Share this post


Link to post
Share on other sites
yeah on second thought I guess DX would be useless if it weren''t backwards compatible right? I know it is, know that I think about it. But can the DX8 SDK compile DX6 code? Or does DX8 just run previous DX apps - like you say the apps work for you - did you compile them or just run their .exes?
0

Share this post


Link to post
Share on other sites
quote:
Original post by Gaiiden
But can the DX8 SDK compile DX6 code?


yes, thats the whole point of DX'' architecture.
all your doing is requesting an interface to a previous version which is what DX is designed for(i.e. COM).
evan when DX 22 is released it will still support older interfaces.

you say you installed DX8, but could you get the samples to *compile* with DX6 or 7?, i know a lot of people get linker problems with the samples which has nothing to do with what DX version your running.

-------------------------------------
"bingo-bango, sugar in the gas tank!"
0

Share this post


Link to post
Share on other sites
I had a problem when I updated to DX 8 and was using Andre''s code also. I was using MSVC++ 5.0 to compile. Then I downloaded some updates at the microsoft homepage and it worked fine. They total to about 90 mb for the whole update ( its in 9 parts ). If I find the link I''ll post it later.
0

Share this post


Link to post
Share on other sites
I am using Visual C++ 6.0 and I have service pack 5 and most of the stuff in Chapter 9 doesn''t work when I run the executables and the game that the book builds up to in Chapter 14 doesn''t even work at all! The game switches to full screen mode, then you see the hourglass icon, then I get kicked back into Windows mode again. And yes, I can''t compile the code and I''m using the latest SDK which is DirectX 8.1. This situation is a bit odd to me since I never encountered it before.

~Robert
0

Share this post


Link to post
Share on other sites
The reason I want this to compile is so I can try to understand how to get my prototype game to use my MS Sidewinder so I don''t have to use the keyboard. Since the code doesn''t work in Chapter 9, then I''m a bit worried about using it and I''m new to this site so I don''t know where to look for help regarding adding joypad & rumble functionality to a game.

~Robert

0

Share this post


Link to post
Share on other sites
Try "search" here. I am sure I''ve seen a few web pages on the subject with clear guides how to solve this problem.

Good luck

Mvh Mario..
0

Share this post


Link to post
Share on other sites
I''ve had similar problems when compiling. I found that in the code somewhere there is something like #define DX_SDK_VERSION = 0x08;
or something like that. The reason the input doesn''t work is that the code thinks it should be using version 8 of the sdk. If you just put the line #define DX_Version = 0x07; or whatever the variable is at the top of your code, it should work. I can''t remember if it should be in your include files, or just in the main cpp file. Something like that will work. Either that or find an older version of the SDK.
0

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
Because DX sucks!

What a valid opinion! Why not tell us why directx sucks so badly?

I think directX sucks in a way. Microsoft keeps beefing up their API and I don''t want to throw away my books just to learn the newest API. I still believe direct x is the only way to go for making games. I''m stopping at DirectX 7 until they delete it from their libraries!!

0

Share this post


Link to post
Share on other sites
Today I wrote the code in TOTWGPG to initialize DirectX to a full screen, 8bit view. Well I''ve done this a million times before and it worked fine, but this time when I did it it got stuck with a black square in the top left corner of the desktop and never went to full screen mode. I guess it froze somehow, because I rewrote the code again and it worked fine. I don''t know why it happened either.
0

Share this post


Link to post
Share on other sites