camera tracking problem
Displaying 1-2 of 2 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
basil

Here's my dilemma. When the camera follows a player, as it scrolls the x and y variables change with it. Lets say you have entity 1 below entity 2, and you set something on a tile halfway between them while the camera is focused on entity 1. When the camera shifts to entity 2, instead of being between the two entities that thing you set is below entity 2 because all the x/y variables changed with the camera.
Confusing explanation, I know. But if you know a way to circumvent this so I can set something at x,y and have it stay there regardless of camera position, I'd love to hear it.



Posted on 2004-01-20 19:06:18

basil

Figured it out.



Posted on 2004-01-21 05:38:18


Displaying 1-2 of 2 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.