Normally, when the RGSS Player window is no longer the foreground window, the game becomes "paused", and only the music continues while the game is suspended. This small library will prevent that action, and the game will not be suspended.

Use in your game:

1. Anywhere before "Main", add this line of code:
Win32API.new('NoDeactivate.dll', 'BeginMonitor', '', '').call

2. Anywhere after "Main", or in the end of the script:
Win32API.new('NoDeactivate.dll', 'EndMonitor', '', '').call

3. Place DLL in game folder.

Project Activity

See All Activity >

Follow rgss-no-deactivate

rgss-no-deactivate Web Site

nel_h2
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of rgss-no-deactivate!

Additional Project Details

Registered

2014-07-11