The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX => VX Scripts Database => Topic started by: exhydra on June 18, 2011, 11:52:57 AM

Title: Windows API Library [1.1]
Post by: exhydra on June 18, 2011, 11:52:57 AM
Windows API Library
Version: 1.1
Author: Exhydra
Date: 6-18-2011

Version History




Description



If you're simply curious, looking for something extra to spice up your game or hoping to find something to solve a problem you've been having, Windows API might have the answer! I've compiled a massive list of functions to play around with, so come on in and learn!

Features


Screenshots

None

Instructions

See Attached Demo

Script


Too Large; See Attached Demo

Credit




Thanks


Support




Known Compatibility Issues


Demo



See Attachment

Author's Notes




Restrictions

Title: Re: Windows API Library
Post by: pacdiggity on June 18, 2011, 01:15:10 PM
:O
Detect fullscreen status? That's awesome. Some great stuff here. I'm really liking your scripting. I'm going to study this code and learn much of API from it.
So, kudos on the awesome.
Title: Re: Windows API Library
Post by: cozziekuns on June 18, 2011, 04:27:25 PM
Cool script, looks like it'd make a lot of things easier for scripters (or anyone, really).
Title: Re: Windows API Library
Post by: exhydra on June 18, 2011, 07:42:52 PM
Thanks! Some of the methods included aren't particularly useful to most people, but I figured that they were at least fun to play around with and perhaps learn a lot about Windows API. Determining full screen was my first, as I needed it for Shake Window ... then it kind of got out of hand. I'm researching passing information between two game windows through shared memory at the moment. Such interesting stuff!
Title: Re: Windows API Library
Post by: ForeverZero on June 18, 2011, 08:53:00 PM
I've done that before and Win32API isn't really suited, nor needed for that.  Its much easier to just create an intermediate file that both games can read/write from on a separate threads.

Other than that, you can reopen the STDOUT to dump to another process, like what I did with my Console Debugger, but you can't really do that with STDIN. You'll lose your controls.
Title: Re: Windows API Library
Post by: exhydra on June 18, 2011, 09:29:27 PM
Yeah, at this point it's more about fiddling around with what's available, really. Most of what I come across is just for playing around and not real useful application within a game.