123456789101112
bool FrameFunc(){ if (hge->Input_GetKeyState(HGEK_ESCAPE)) return true; particleManager->Update(hge->Timer_GetDelta()); hge->Input_GetMousePos(&x, &y); hge->Gfx_BeginScene(); particleManager->SpawnPS(&mouseParticle, x, y); hge->Gfx_Clear(0); particleManager->Render(); hge->Gfx_EndScene(); return (hge->Input_KeyDown(HGEK_ESCAPE) );}
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In Apply for Membership