public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

VXACETimer - Call methods after X frames

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: Timer - Call methods after X frames
  • Original author: Galenmereth
  • Original date: December 5, 2014
  • Source thread: https://forums.rpgmakerweb.com/threads/timer-call-methods-after-x-frames.34671/
  • Source forum path: Game Development Engines > Ruby Game System (RGSS) Scripts > RGSS3 Scripts (RMVX Ace)

Summary

{ "lightbox_close": "Close", "lightbox_next": "Next", "lightbox_previous": "Previous",

Archived First Post

TDD_Timer.png
1.0.1


Ever wanted to call a sound effect in your scripts after, say, 30 frames have passed? Or how about wait 60 seconds before you render a sprite with the bitmap Cache.system("gone_4_60_s")? Well now you can, with this teeny tiny and easy-to-use script!

Introducing the fantabulous TDD::Timer.call_after_frames!

how_it_works.png


You use it like this:

TDD::Timer.call_after_frames( :frames => Number, - Number of frames to wait before calling :method bserver => Object, - Object for which method should be called :method => :symbol, - Method to call on bserver Object arams => Object, - OPTIONAL: Any object you wish to pass to the :method)Real world example:

Here it is used (in combination with my Ease animation script) to match the sound effects to the animation, by using delayed calls to methods that call the sound effect:



One of those calls look like this:

# Audio: Play fall againTDD::Timer.call_after_frames(observer: self, method: lay_shatter_sfx, frames: 170) 
installation.png


You know the drill: Put it somewhere below ▼ Materials but above ▼ Main Process

download.png


You can get it on github directly here; this link will always be up-to-date with the latest stable version:

https://raw.githubusercontent.com/TorD/TDD-Timer/master/script.rb

If you want to follow the development, or report bugs, please use the GitHub repository found here:

https://github.com/TorD/TDD-Timer

license.png


Free for non-commercial and commercial use. Credit greatly appreciated but not required. Share script freely with everyone, but please retain the description area unless you change the script completely. Thank you.

 

credits.png


Galenmereth / Tor Damian Design

 

 

Feeling generous?

If you would like to give me a small tip to help me spend even more time making and maintaining these free scripts, do consider supporting me on Gratipay. Any and all support will be greatly appreciated.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Free for non-commercial and commercial use. Credit greatly appreciated but not required. Share script freely with everyone, but please retain the description area unless you change the script completely. Thank you.   Galenmereth / Tor Damian Design  

Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#rgss3#script-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar