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.

Run Game Without Game Screen selected

cayoda

Member

Anyone Knows a DLL or something to Rum my Game without the game Selected, a Exemple: Im in a Messenger and my game is not selected but the ABS and all Game Is running without me PLaying it.
 
Correct me if I'm wrong, but the game stops when it doesn't have focus. Only the music continues.

EDIT:
Sorry, I misread your post. Maybe a priority function, using a dll, would solve this?
 
I believe you would need to create a new thread for this, and either trick the rmxp window to stay as the foreground window so it constantly updates, or a new thread to keep the scenes constantly updating in the main loop.

I looked into API list, and I didn't find anything yet, but I am still learning (which is why I am forcing myself to learn API). I am going to keep trying and hopefully I can figure it out. I am looking into threads and API, so I get to learn 2 new things that I rarely use.
 

cayoda

Member

SephirothSpawn":3ozje7u9 said:
http://allapi.mentalis.org/apilist/SetForegroundWindow.shtml

That should make rmxp the current handle, which is pretty simple (get rmxp hwnd, then pass the handle to that). Working on making a thread that will keep rmxp the foreground window.

Im Awating your Job, This is Very Hard to Make, but i hope you finish it
 

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