[Finished] [RGSS] Task 3

Started by Blizzard, March 10, 2011, 04:51:24 pm

Previous topic - Next topic

Blizzard

March 10, 2011, 04:51:24 pm Last Edit: September 10, 2011, 03:26:57 am by Blizzard
There is still a lot of work to do and I will probably end up with a big deal of the nasty rendering stuff. xD
Anyway, it would be really good if the headers and source files would be prepared in advance. This task is pretty much just grounding work. Add the method declarations in the remaining RGSS classes in the headers and empty implementations in the source files. The classes include:


  • Audio

  • Bitmap

  • Graphics

  • Input

  • Plane

  • Sprite

  • Tilemap

  • Viewport

  • Window



Keep in mind that Audio, Graphics and Input have private constructors/destructors and that they have only static methods.
All .x and .x= implementations in RGSS should be implemented as getX() and setX(value) in our classes.

After this task is done, a simple dummy implementation in Window and Sprite (along with Graphics.update) should make it possible to run the RMXP RTP scripts.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

G_G

I'm attempting viewport. I'll also try plane. Brb

Ryex

just empty function implementations? it will be done in a flash.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

Blizzard

As I said, pure ground work.
BTW, coordinate your work, you two. *points to chat* You don't want to edit the same classes and files and do double the work.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

G_G

Viewport is done. But I do have this feeling its not correct so correct me if I'm wrong.

ForeverZer0

I'm working on the Sprite class.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Ryex

I've completed Audio, Bitmap, Graphics, and Input.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

ForeverZer0

Sprite is done. I was unsure how the viewport is set, since no method exists (in RMXP) to set it, though it should have been.

I'll start on Tilemap while I wait and see...
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

Blizzard

Viewport is set during initialization only. The concept is to use a viewport and when you dispose it, it also disposes all sprites. Don't worry about functionality for now.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

ForeverZer0

March 12, 2011, 04:23:32 am #9 Last Edit: March 12, 2011, 05:05:54 pm by ForeverZer0
Quote from: Blizzard on March 12, 2011, 04:18:32 am
Viewport is set during initialization only. The concept is to use a viewport and when you dispose it, it also disposes all sprites. Don't worry about functionality for now.


I just set it as a private variable, and created a getter to retrieve it, while the constructors set it.

EDIT:
Tilemap is done.

EDIT 2:
Starting Plane.

EDIT 3:
Plane has been committed. Starting Window.
I am done scripting for RMXP. I will likely not offer support for even my own scripts anymore, but feel free to ask on the forum, there are plenty of other talented scripters that can help you.

G_G

Is there anything else I can help with here?

Blizzard

In fact, you can. All public variables need to be made private and getters/setters should be written for them instead. Some classes already are like that, some aren't. It would be good if somebody went through them and fixed them.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

G_G

I'll do this after school.

Blizzard

I'll consider this task finished even though it actually isn't. Let's say that this task has become part of this one.
Check out our game brands:

Daygames
Game Night Games
Chugnar Games

Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.