Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

zoom_x and zoom_y

I was wondering where I can get the coding that will tell me how zoom_x and zoom_y work. I think they're in class Sprite or RPG::Sprite. But I don't know how I can get my hands them.
 
question = so what would be the code for lets making a window twice its normal size?
<window>.zoom_x += .1 if <window>.zoom_x != 2.0
<window>.zoom_y += .1 if <window>.zoom_y != 2.0
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top