New account registration is temporarily disabled.

DREDOGOL'S PROFILE

Search

[Request] Anyone have details on 'Sprite' or 'Window' RMXP classes?

When I mean details on 'Sprite' and 'Window', I'm asking if anyone has any abstract or concrete code for either base classes?

Here's the examples:

RMXP script (Window_Base)
class Window_Base < Window
...

RMXP script (Sprite_Picture)
class Sprite_Picture < Sprite
...

RMXP script (Sprite_Character)
class Sprite_Character < RPG::Sprite
...

I have no idea what the Window, Sprite, and RPG::Sprite class details are, so I have no idea what their base methods/calls are. Without that detail, I'm a little in the dark.
As far as Sprite and RPG::Sprite go, I'm not sure if they're the same class, because 1 is displaying a specific namesapce, while the other isn't.

As far as I can tell, those are the only parent classes that are not visible to the user through the Script Editor within RMXP.

I'm trying to re-write the existing engine with a new design patterns to allow for more programming flexibility, including adjustable window/viewport resolution changes.

If anyone has any leads, or having the same problems as I, please post a reply.

[Code Help] How to throw error exceptions in RMXP scripts?

Hi guys... I need to know how to throw an exception in the RMXP scripts.
If this was standard ruby, I know how to print messages to the terminal window.

This is what I have ATM:
if something

# ...
else
rescue SystemExit
print 'Error in XXX script file' <<
'in class XXX' <<
'within method privDetermineUILocation'
end


I'm using RMXP's MAIN() exception as an example, but I'm not sure if what I have is correct. Since the except thrown will be sent to a windows exception handle window (behind the scenes)... not sure what the proper code should be.

Thanks.

[Request] Info / Documentation of hidden classes for RMXP ?

Hello everyone, I'm new to the forums, and RMXP in general.

A friend (artist) and I have decided to use RMXP to create a game in the next several months.
I am a programmer (moderate w/ Ruby), and was wondering if there is any formal documentation, or list of any/all hidden classes and methods that the RMXP system uses not visible to the local user.

I would like to have a full understanding of ALL the class/methods within the engine to better utilize/optimize our game.

Any links would be appreciated.
Thanks.
Pages: 1