Mouse particles is fixed .
  • catafestcatafest December 2010
    I try to add some particles on mouse . The particle working well , but is fixed into one possition. I move mouse but particles is fixed .
    What i make wrong ?
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    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) );
    }

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Who's Online (0)