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.

Sprite Scaling/Zooming on Maps

I'm using hand-drawn maps for my game and something I think would be essential is the ability to scale sprites depending on their position on a map (assuming the map in question features depth of any kind). I'm not sure what the best method for this would be, but if possible I thought placing two (or more) events at the top and bottom of the map (or wherever needed) with each event holding a different scaling factor would work well.

For example, in this mock-up there would be a event at the bottom of the screen with, say, 'Scale x2' and an event at the top with 'Scale 1/10'. Also in this example it would be best to decrease the movement speed as sprites get closer to the top event, it wouldn't be very convincing otherwise.

So, anyone want to help the hopeless?

Edit: Thanks for moving this, don't know how I managed to post it in the wrong place
 

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