Tox Posted April 21, 2016 Share Posted April 21, 2016 hello, i am trying to do something like camera on a certain point of player's screen, at first i thought dxCreateScreenSource was the right function but here's the thing: i am trying to get the screen of another player. not the source player so, i need to use getElementPosition somehow but the function only captures the local player's screen. oh and i need it like a camera which means it will update when it is active. not just like a screenshot from another player's screen, i would be grateful if you can help me here's a video, that explains more: Link to comment
Anubhav Posted April 21, 2016 Share Posted April 21, 2016 I guess setCameraTarget or getCameraTarget and maybe combine it with a timer/render? Link to comment
Tox Posted April 21, 2016 Author Share Posted April 21, 2016 it looks cheesy when i try something like that, thank you for the suggestion though Link to comment
Bonsai Posted April 21, 2016 Share Posted April 21, 2016 You would switch between the positions and update a different screen source every time I guess. This will cut your fps in half and will cause even bigger problems when the two positions are too far from each other. Search for rear view mirrors resources for an example. Seems cool at first but brings too many problems. Link to comment
Tox Posted April 22, 2016 Author Share Posted April 22, 2016 Bonsai said: You would switch between the positions and update a different screen source every time I guess.This will cut your fps in half and will cause even bigger problems when the two positions are too far from each other. Search for rear view mirrors resources for an example. Seems cool at first but brings too many problems. i think i won't do it because of the performance issues, thank you for help Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now