Bobposy: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Matteus (talk | contribs)
No edit summary
 
No edit summary
Line 1: Line 1:
These are modified when the player is in a sector with a SE with a lotag of 0 and a sector with a floorstat with bit 64(10) set.<BR>
Member of the [[player]] struct; this is modified when the player is in a sector with a SE with a lotag of 0 and a sector with a floorstat with bit 64(10) set.<BR>
This seems to give the [[player]]'s SPRITE a xvelocity related to the difference (sqrt) between [[posx]], [[posy]] and [[bobposx]], [[bobposy]] <BR>
This seems to give the [[player]]'s SPRITE a xvelocity related to the difference (sqrt) between [[posx]], [[posy]] and [[bobposx]], [[bobposy]] <BR>
They are reset to their non-bob versions each frame.
They are reset to their non-bob versions each frame.

Revision as of 02:09, 7 September 2005

Member of the player struct; this is modified when the player is in a sector with a SE with a lotag of 0 and a sector with a floorstat with bit 64(10) set.
This seems to give the player's SPRITE a xvelocity related to the difference (sqrt) between posx, posy and bobposx, bobposy
They are reset to their non-bob versions each frame.