It appears there is no new link... BTW documentation lefts much to be desired, not to say that is non existing 🙁
[Ace] Is there a full API reference?
Learning Ruby and RGSSxIs RGSS only used in RM products? I find it strange that there's no external documentation for the language. Also, why are the help files for hidden classes split into RGSS and RPGVXAce sections? I was trying to figure out how to animate E tiles (thought it would be simple) and finally found Tilemap under RGSS but Tileset is under RPGVXAce. (And both are hidden so I can't actually do anything with them grumblegrumblegrumble.)
Yes, RGSS is for the RM series - and part of the API is hidden and all its documentations on the web are illegal because that is the decision Enterbrain made in the past - which is why "no hidden classes/fully open engine" has become one of the advertisements for MV.
There is no legal full documentation of Ace RGSS3 functions, and unless Enterbrain changes their policy there won't be any such documentation.
There is no legal full documentation of Ace RGSS3 functions, and unless Enterbrain changes their policy there won't be any such documentation.
I can understand locking the data structures used by the editor to create your game, but it would be nice if the methods called by the game were documented. (Actually, it would be nice if the public classes were documented better.)
I wonder how the "no hidden classes in MV" will work out once users start messing with things.
I wonder how the "no hidden classes in MV" will work out once users start messing with things.
Slightly off topic, is there a full documentation for RGSS1, with all the hidden classes?
As far as I know, the full API's for XP to VXA were never released - which means even if you find something like that on the internet, it was created by reverse engineering and it's use will make your game illegal and you'll get banned from here for pirating.
Ok good to know
Pardon necroposting;
You see, I don't think any of my VX Ace projects may actually be released, and I would like to know how to work in these hidden classes, even if just for personal ideas. You see those keyboard and mouse scripts out there using scripts like Win32API.new("GetKeyboardState", "ii", "k") or something, like, what in the world do those random one letter strings mean? How do they impact the function of the GetKeyboardState attribute of the Win32API "module"? How do those script authors know what letters or numbers to use?
I'm serious, I don't need sleep I need answers, and these are questions that have been bugging me ever since I started getting moderately good at RGSS scripting.
I would like the documentation so I could make more creative puzzles, classes, and other features for my games, even though I doubt I'll release any.
Again, sorry for necroposting, and thanks for any responses to this.
You see, I don't think any of my VX Ace projects may actually be released, and I would like to know how to work in these hidden classes, even if just for personal ideas. You see those keyboard and mouse scripts out there using scripts like Win32API.new("GetKeyboardState", "ii", "k") or something, like, what in the world do those random one letter strings mean? How do they impact the function of the GetKeyboardState attribute of the Win32API "module"? How do those script authors know what letters or numbers to use?
I'm serious, I don't need sleep I need answers, and these are questions that have been bugging me ever since I started getting moderately good at RGSS scripting.
I would like the documentation so I could make more creative puzzles, classes, and other features for my games, even though I doubt I'll release any.
Again, sorry for necroposting, and thanks for any responses to this.
That depends heavily on Win32API on Windows. Ruby tries to wrap it but it needs to pass acceptable parameters that depend on a C like API. p stands for pointer, i for integer, l for long?, f for float, s for string. k is a mystery...
My gosh, this is interesting...
I, L, N (int, long, number) = signed 32-bit integer (floats, rationals, etc. will be converted)
P (pointer): usually a string but can also be
V (void): makes only sense as return type but since Ruby (almost) everything returns a value,
Can also be lowercase and anything else like K gets ignored. The import object (3rd argument) can be
E.g. in your case:
=>
P (pointer): usually a string but can also be
nil (null pointer) or a fixnum (signed 31-bit integer)V (void): makes only sense as return type but since Ruby (almost) everything returns a value,
0 is returned. You can also use nil instead of 'V' (micro optimization).Can also be lowercase and anything else like K gets ignored. The import object (3rd argument) can be
nil (void), a string or an array:
Ruby:
Win32API.new('foo', 'bar', ['I', 'P', 'I'], 'V')
# is the same as
Win32API.new('foo', 'bar', 'IPI', nil)
E.g. in your case:
C:
BOOL GetKeyboardState(
PBYTE lpKeyState
);
Ruby:
getkbdstate = Win32API.new('user32', 'GetKeyboardState', 'P', 'I')
keystate = '\0' * 256
p getkbdstate.call(keystate) # if it failed (unlikely) this prints 0
p keystate.unpack('C*')[0] # all 256 key states
Keep in mind there are void* or voidp or void pointers that are supposed to be recasted or static_casted later on.
Original thread: https://forums.rpgmakerweb.com/threads/ace-is-there-a-full-api-reference.12319/