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

Guest Anonymous Poster

24-bit with ddraw

5 posts in this topic

I have the same problem (using visual basic btw)... It works fine with 16-bit mode, but if I change the bpp parameter to 24bit, DDraw returns the noexclusivemode errorcode.

David

0

Share this post


Link to post
Share on other sites
Well, I'm not sure if this is the problem, but I have had trouble in the past (on my old Diamond Stealth 3D 2000) switching into exclusive fullscreen mode when the desired mode has a different bpp then the one that Windows is curently running in (ie, if you're in 16 bpp mode in Windows, the driver might not let you switch to 24 bpp in your program). I would think that any decent card wouldn't have that drawback anymore, but who knows.
0

Share this post


Link to post
Share on other sites
I switched windows into 32-bit mode (it won't allow 24-bit) and ddraw still wouldn't switch into 24-bit mode, in fullscreen or windowed. Seems like 32-bit is the only answer.

-Densun

0

Share this post


Link to post
Share on other sites
Some video cards don't support 24 bit color, it the card does not support it then direct draw will not let you use it.

If windows won't let you switch into 24 bpp its likely your card dosen't support it.

0

Share this post


Link to post
Share on other sites
I'm having problems with trying to use 24-bit mode. When I initialize direct draw (I'm using version 7), I get an error when putting in 24 for the bpp the screen res should use. Do I need to say 32 and not use the alpha channel? I know my video card can support 24- and 32-bit.

-Densun

0

Share this post


Link to post
Share on other sites
Aren't 24- and 32-bit color modes mutually exclusive? Besides, since 32-bit color is actually 24-bit color with an extra 8 bits, why not use 32-bit instead? (Except for performance reasons of course. 32-bit vs. 24-bit makes the memory required about 33% greater. However, depending on what you are doing with the surface memory, it might be faster with 32-bit because the memory is DWORD-aligned.)

I heard that although some cards support both, it's only because the driver really supports one, and just maps the other to it (i.e., the card supports 24-bit, but can also use 32-bit by ignoring the alpha information). Some cards use the alpha information (the upper 8 bits of the 32) and that's why they don't function with 24-bit modes. Perhaps it has a lot to do with the particular chipset the board uses and performance reasons. I think that several companies haved either added or dropped support for certain color depths from one driver release to the next because of performance gain/loss.

Anyway, I am not trying to sound like an authority on the situation; just raising some interesting questions in the hopes that someone will answer them.

- null_pointer

[This message has been edited by null_pointer (edited December 24, 1999).]

0

Share this post


Link to post
Share on other sites