Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Nov 2, 2023
1 parent a90fdbc commit 1fef0e9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/game_data/spel2.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion docs/src/includes/_globals.md
Original file line number Diff line number Diff line change
Expand Up @@ -2727,7 +2727,16 @@ Enables or disables the default position based camp camera bounds, to set them m
#### nil zoom(float level)

Set the zoom level used in levels and shops. 13.5 is the default.
Set the zoom level used in levels and shops. 13.5 is the default, or 12.5 for shops. See zoom_reset.

### zoom_reset


> Search script examples for [zoom_reset](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=zoom_reset)
#### nil zoom_reset()

Reset the default zoom levels for all areas and sets current zoom level to 13.5.

## Room functions

Expand Down

0 comments on commit 1fef0e9

Please sign in to comment.