Hello
Guest
Home
Help
Search
Login
Register
2D Toolkit Forum
»
2D Toolkit
»
Support
»
how can I get pixles per meter on the script?
« previous
next »
Print
Pages: [
1
]
Author
Topic: how can I get pixles per meter on the script? (Read 3133 times)
idpokute
2D Toolkit
Newbie
Posts: 6
how can I get pixles per meter on the script?
«
on:
April 19, 2014, 07:17:00 pm »
how can I get pixles per meter on the script?
I thought it's in the tk2dcam, but i couldn't find it.
Logged
unikronsoftware
Administrator
Hero Member
Posts: 9709
Re: how can I get pixles per meter on the script?
«
Reply #1 on:
April 20, 2014, 10:10:57 am »
You can get it from the tk2dCamera.cameraSettings.orthographicPixelsPerMeter if you're using that. But under most circumstances this is just going to be constant for a game isn't it? If there is a good enough reason I'll expose this as a property.
Logged
Print
Pages: [
1
]
« previous
next »
2D Toolkit Forum
»
2D Toolkit
»
Support
»
how can I get pixles per meter on the script?