|
Seperate the GUI out from the rest. Make it really easy for the Human Factors team (if you don't have one, pretend there is one who designs all the screens) to change anything.
That is your program just recognises settings from a simple interface. The setup can be easially changed because the screens know nothing about how the rest of the program works.
|
|
|
|
|
how to play stream audio? someone can help me, thanks
Nho'c Ti`
|
|
|
|
|
would like to learn video game programming, but i don't know where to start. can anyone help me!!!? I do know some c++, but thats it. any help is appreciated.
dee
|
|
|
|
|
you don't need a lot of C++ knowledge to create a great game;but depending on what kind of game you want to do, the level of c++ knowledge will be higher, mostly for optimisations and/or graphics.
What kind of game you what to do ?
the most important thing is to have a great idea or a good story ( if applicable ).
one good site dedicated to game programming is (or was )
http://www.gamedeveloper.com/
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
something along the line of tetris or bejeweled...trying something simple for a mobile device.
dee
|
|
|
|
|
This site is very helpfull thank you. i have been on this site for the pass two hours.
dee
|
|
|
|
|
ok ....herez a cool site.....very informative for beginners
http://www.gametutorials.com[^]
yup.....hope u find it useful.....
happy programmin
cheerz
|
|
|
|
|
Since you are wanting to write for mobile devices. You might want to check out GapiDraw. It will provide you a graphics engine that will run on standard PC (DirectX) and CE enabled devices (GAPI).
http://www.develant.com[^]
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
|
|
|
|
|
thanks! i really appreciate the help. can you program in c++ for mobile devices? or is it better to use flash action script or java?
dee
|
|
|
|
|
Yes, I am using C++ for my CE games. I am almost finished with my first, a flavor of Space Invaders!
I suppose it is really a matter of what language you prefer. I guess you can be most productive with a language you know.
However, Java, C# etc could be used if you prefer.
Ant.
I'm hard, yet soft. I'm coloured, yet clear. I'm fruity and sweet. I'm jelly, what am I? Muse on it further, I shall return! - David Walliams (Little Britain)
|
|
|
|
|
|
thanks about to check it out..
question would you recomend the book "beginning c++ game programming?
dee
|
|
|
|
|
I'm relatively new to win32 programming and im just looking to get a small application together that causes a windows application to have a 'shade' effect when one double clicks the title bar (instead of maximizing)... If anyone can give me some tips and/or examples I would appreciate it very much.
Thanks in advance.
Regards,
Will
|
|
|
|
|
Handle the WM_NCLBUTTONDBLCLK message. This is the message sent when a double-click occurs in the non-client area of a window.
the WPARAM variable should contain a hit-test value, one of which is HTCAPTION, signifying a hit on the caption bar.
if (wParam == HTCAPTION)
// do whatever
Pssst. You see that little light on your monitor? That's actually a government installed spy camera. Smile and wave to big brother!
|
|
|
|
|
8-)
Thank you, this helped me a lot
|
|
|
|
|
Is there a function to tell you what's the size of current window? So I can do wordwrap if the user shrink the window or draw horizon line that stretch all the way across
|
|
|
|
|
Ooops forgot to mention. Using MFC default Document/View
|
|
|
|
|
|
ok.....;)
define a variable......
CRect rect;
then use the the function.....
GetClientRect(rect);
then u can get the properties of the window using the following functions.....
x=rect.Height();
y=rect.Width();
hope that helpz.....
happy programmin.....
cheerz
|
|
|
|
|
For a MFC application I have been using the standard windows timers (WM_TIMERS - SetTimer() etc).
However sometimes data is missed, I was thinking of using Multimedia timers.
The resolution of my PC is 1 msec (I though it was 10 msec via a timer program).
My question is: Is 50 msec too hard for Windows 2000 to meet.
It is difficult to test for missing data, but I think the Multimedia timers are also missing some data. Do I need to rethink the situation?
grahamfff
|
|
|
|
|
Multimedia timers would likely be better, however I would think processing incoming data would be better handled in a worker thread and posted back to the main thread.
Neville Franks, Author of ED for Windows www.getsoft.com and Surfulater www.surfulater.com "Save what you Surf"
|
|
|
|
|
i seriously dont think that 50ms could be the reason.....they are interrupts(timer) and therefore they are serviced at the rigth time.....;)
|
|
|
|
|
Always remember: Windows is NOT a real-time OS!
Don't try it, just do it!
|
|
|
|
|
I'm getting some weird results in my MFC application when I press F1 over a menu item. For some reason, I get an error "cannot open Help" when I press F1 over certain menu items. It seems totally random. I never did anything special to make it work for any of the items anyway. When I created the application, I enabled HTML help. I've been able to change the table of contents and add help files. But one thing I have not figured out is how to control what pops up when F1 is pressed. For most of the menu items, it works fine. For instance when I put the mouse pointer over the view -> status item and press F1 it immediately brings up the status help screen with the Main Help dialogue. When I do the same over File -> open or Help -> help topics I get the error message. I'm not finding anything specific in MSDN library.
What is the trick here? I know I can handle a message to respond to F1 and have done this. But I was hoping to find another way. I mean after all, 95% of the menu items work fine when I press F1 but I have no idea what gives for the very few where it doesn't work.
Also, in one of my dialogues I have written code for the function:
HtmlHelp(NULL, HH_DISPLAY_TOPIC);
Now this will display the main help window. The NULL could be a pointer to something. I don't know what it is a pointer to. Does anyone know? How do I use the first argument to cause a specific help topic to display within the help dialogue? I've tried a few things and don't think the documentation is entirely clear on what I am supposed to point the function to. Any ideas?
Thank you,
Shawn
|
|
|
|
|