Wiredbomb0,
Put the necessary functions calls or code which is executed during processing in "GameEngine::Render( void )" function from "GameEngne.cpp".
For example, if you wish exit your program in Dingoo pressing "X" button, add the code in end of "Render":
- Code: Select all
if( m_pInput->IsKeyClick(KEY_R1) ){
exit(0);
}
Compile your code in Windows environment and run it. When you wish quit, simply press "Esc" key.
Compile the code with "build.bat", place "target.app" in Dingoo and run it. When you wish exit, press "X" button.
Download anothers code from the blog.tipesoft and examine the sources. You will understand better how the gameengine works.
Cheers, Doug