Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Guest thekube01

Player X Y Movement

Recommended Posts

Guest thekube01

I'm a bit stuck at the moment. I'm trying to link doom with another program that spits out x an y values. I want to use the player->mo->x and player->mo->y values to move the player instead of using the forwardmove and sidemove variables.

Is this possible? I've managed to get it to work with absolute variables (i.e player->mo->x = 1000<<16) but haven't had much luck when trying to increment the existing value (player->mo->x++). What am I doing wrong.

Also, the whole thing seems to crash when the player is moving and you adjust the x or y value (works ok when standing still). I'm assuming it has something to do with the momentum calculations, is this right?

Thanks in advance.

Share this post

Link to post
This topic is now closed to further replies.
Sign in to follow this