Hi,
I have a room 640 x 200 in a 320 x 200 res game.
I have a added a dialog options when the main character talks to a npc which is placed at 410 x.
Code: ags
When the dialogs are open i can select a return option and all is fine. However, when i stop the dialogs and again talk to the npc the position of the talking heads do not remain in their X position. The main character x appears further than center of screen whilst you do not see the npc's head...
ags 3.4.0.14
320 x 200
32 bit color
3d 9
Custom dialog gui at bottom of screen..
I have a room 640 x 200 in a 320 x 200 res game.
I have a added a dialog options when the main character talks to a npc which is placed at 410 x.
function cTingwell_Talk()
{
cCadfael.Walk(cTingwell.x-30, cTingwell.y+2, eBlock, eWalkableAreas);
cCadfael.Loop=2;
cTingwellP.x =cTingwellP.x +GetViewportX(); // character head at the top of the screen that talks
cCadfaelP.x =cCadfaelP.x +GetViewportX(); // main character head at the top of the screen that talks
dTingwell1.Start();
}
When the dialogs are open i can select a return option and all is fine. However, when i stop the dialogs and again talk to the npc the position of the talking heads do not remain in their X position. The main character x appears further than center of screen whilst you do not see the npc's head...
ags 3.4.0.14
320 x 200
32 bit color
3d 9
Custom dialog gui at bottom of screen..