Set Camera: Difference between revisions
m
				
Change to Image templates
-u ndefined- (talk | contribs)  (Create infobox, and change details)  | 
				-u ndefined- (talk | contribs)  m (Change to Image templates)  | 
				||
| Line 20: | Line 20: | ||
The camera uses the orthographic mode by default. The perspective switch can be found at the bottom-right of the hotbar.  | The camera uses the orthographic mode by default. The perspective switch can be found at the bottom-right of the hotbar.  | ||
{{Image|Set_Camera_perspective_button.png}}  | |||
== Modes ==  | == Modes ==  | ||
| Line 28: | Line 28: | ||
To calculate the Range input, multiply the amount of blocks needed to fit on the screen by 5.    | To calculate the Range input, multiply the amount of blocks needed to fit on the screen by 5.    | ||
{{Image|Set_Camera_orthographic_range.png}}  | |||
=== Perspective mode ===  | === Perspective mode ===  | ||
| Line 34: | Line 34: | ||
Range is the angle of the bisector of the [https://en.wikipedia.org/wiki/Field_of_view_in_video_games Field of View] of the camera. The FoV of a human is considered 120°, so if you want to make first-person games, use 60° as Range. The minimum and maximum is 1-65 (inclusive).  | Range is the angle of the bisector of the [https://en.wikipedia.org/wiki/Field_of_view_in_video_games Field of View] of the camera. The FoV of a human is considered 120°, so if you want to make first-person games, use 60° as Range. The minimum and maximum is 1-65 (inclusive).  | ||
{{Image|Set_Camera_perspective_range.png}}  | |||
=== Comparison ===  | === Comparison ===  | ||
{{Image|Set_Camera_modes_comparison.jpg}}  | |||
== Tips ==  | == Tips ==  | ||
| Line 44: | Line 44: | ||
If you want to adapt your 2D game to the perspective view, this is the way to do it. (The Size variable defines the amount of blocks you want to fit)  | If you want to adapt your 2D game to the perspective view, this is the way to do it. (The Size variable defines the amount of blocks you want to fit)  | ||
{{Image|Set_Camera_2D_game_to_perspective.png}}  | |||
[[Category:Blocks]]  | [[Category:Blocks]]  | ||