IceDragon200

[VXA][Snippet]Resolution::resize_screen

Jan 3rd, 2013
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.23 KB | None | 0 0
  1. width_id, height_id = 10, 12
  2. vars = $game_variables
  3. if vars[width_id] <= 0
  4.   vars[width_id] = 640
  5. end
  6. if vars[height_id] <= 0
  7.   vars[height_id] = 480
  8. end
  9. w, h = vars[width_id], vars[height_id]
  10. Resolution.resize_screen(w, h)
Advertisement
Add Comment
Please, Sign In to add comment