RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[Request] Zoom Effect Script

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 85
<Pictre and Image Zooming>
<No necessary due date.>



Summary
<<Yes, this can be done CGI-style with enough pictures/panoramas and the eventing to make it happen. CGI, however, is a rather drawn-out and tedious process... thus, I figured there may be a better way to do simple effects such as zooming.

All this script does is take an image - most likely from the Pictures folder - then display it on screen and slowly zoom in, ideally over a user-defined period of time and towards a specific area (coordinate) on the picture. These features are unnecessary, but certainly add to the versatility. It's basically used for small cutscenes and snippits that would normally take between 50 and 200 individually-framed CGI images.>>

Features Desired
  • Picture Zoom effect
  • Set length of zoom by timer (Optional)
  • Coordinated section of picture to zoom towards (Optional)

Mockups
<<Come now, I'm sure you all know what zooming is, yes?>>

Games its been in
  • Most of them.



Did you search?
<<Yes.>>

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I know you mention and discard eventing, but I would reconsider. When you use the Set Picture command there is already a zoom function - it wouldn't take very much eventing work to achieve this effect and you could do it with a single picture.

If it helps, I could also write a script that allows you to use a variable for the Zoom parameter of the picture, and that way you could do it with a single loop.

**
Rep:
Level 85
So you would essentially have to increase the zoom after every few Wait frames?

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Yeah, and maybe a little moving of the picture to focus.