I'm trying to make it so my camera, when it hits a sprite, it moves to a new location.
Here is the code...
If CountCollisions (door)=True Then PositionEntity cam, -500,
-500,-500
door is the sprite, cam is the camera.
The code is above Updateworld but whenever the camera hits the sprite, it just goes right through it, I want the camera to move to the new location when it hits it.
Any suggestions?
Here is the code...
If CountCollisions (door)=True Then PositionEntity cam, -500,
-500,-500
door is the sprite, cam is the camera.
The code is above Updateworld but whenever the camera hits the sprite, it just goes right through it, I want the camera to move to the new location when it hits it.
Any suggestions?