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

Coffee Drinker

Small problem

6 posts in this topic

hi there i''m writing my first 3d game and i feel quite excited about it. my tiny problem is that i can''t get rid of the taskbar after i switch the display mode (if the new resolution is same or higher then the current). does anyone know how to deal with this? also, i''ve always been wondering how to enumerate or check for all available OpenGL drivers on the system and if needed, switch to them. since this is my largest project so far and i''m new to opengl, i''m approaching it very carefully, considering all the details and stuff, so i''ll accept any kind of advice. do you think a nice 3d terrain, viewed from a bird''s eye could run smoothly on, say, a p3/500 with a voodoo3. the terrain will be viewed from a flying object, from high above, so i guess BSP trees and portals won''t speed things a lot. my best bet so far is view frustum culling. am i right about this? thanks Free your mind.
0

Share this post


Link to post
Share on other sites
I''m not sure about the taskbar...

You might want to apply fogging in order to decrease the viewing distance and gain performance.

0

Share this post


Link to post
Share on other sites
The problem is that the taskbar is usually set to be a top-most window, which means that you must make your window top-most if you want it to overlap the taskbar. You''ll probably want to do this whenever your window is activated (you can handle it in either WM_ACTIVATE or WM_ACTIVATEAPP) to make sure that the window always gets put in front of the taskbar.

Good luck with your game!
0

Share this post


Link to post
Share on other sites
create the window with WS_EX_TOPMOST ( im not to sure if thats the corrct command but its very similar to it)
0

Share this post


Link to post
Share on other sites
That works, but only once. You have to make your window top-most every time it gains the focus, which is why I recommended doing it where you handle WM_ACTIVATE or WM_ACTIVATEAPP.

Think about it this way. The taskbar is (usually) a top-most window. Then you make your app a top-most window. How does Windows decide which one gets to be on top since they''re both top-most? It doesn''t—the only guarantee you have with a top-most window is that it will always be on top of non-top-most windows. So, in other words, whichever top-most window had the input focus last is the one that''s on top.

So, you just created your window, and since it gains the input focus, it''ll be on top. But let''s say the user Alt+Tab''s out of your app or otherwise switches. Or maybe another app steals the input focus. The taskbar will gain the input focus and become the one on top. Then you go back to your app, and the taskbar will still be on top.

So, again, you must make your window top-most every time your window is activated, and you do this by using, say, SetWindowPos with the value HWND_TOPMOST passed for the hWndInsertAfter parameter. As a nice side-effect, once you''ve done this, you won''t have to bother to create the window with the WS_EX_TOPMOST style since the window receives activation messages when it''s first created (though it doesn''t hurt to add the style anyway).
0

Share this post


Link to post
Share on other sites