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.

[RUBY] A Stretching function

I was wondering if there was a function in ruby that would allow you to stretch the image or sprite at (X) or(Y)"Depending on direction" at so many pixels.

I want to create a beam like projectile but don't want to create so many battle animations, as a stretching function may be easier handle all the collisions.

This is meant to be for a picture, but if it's better to "DRAW" the images, I'd do so. But then, how would collisions work? It would still be based on RMXPs default grid.
 

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