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.

java and ruby question

i was wondering something.... im more looking for answers then really planning on doing it. but ya anyways would it be possible to rewrite all of the rpg maker xp(including hidden classes) into java and make a java application that was basicly running rpg maker xp?

p.s. let me know if im lacking in detail
 
Wait... you would voluntarily program something in Java? Why? :D

In any case, I believe you could get away with this is you added some interoperability to it. If you just completely recreate RMXP, you'll probably run into a patent problem, but if you are adding support for a new file format or something, you may be able to get away with it.
 
thanks guys :) i wasnt thinking about making something that big with it, i just wondered if it was possible to make a game run in java, since im about to have 9 months free, maybe ill start writeing the classes in java, just to try this for fun(dont exspect much lol). but anyways once they were transcoded i wouldnt know where to start, plus i dont know how to find the hidden classes. and all that to make it work, wouldnt i have to write my own client to run it(instead of the exe file)

edit: i know that is java file isnt done, but i was hopeing some one who looks at this could tell me if all my data types for the variables are right(this is game_temp)

Code:
//#==============================================================================

//# ** Game_Temp

//#------------------------------------------------------------------------------

//#  This class handles temporary data that is not included with save data.

//#  Refer to "$game_temp" for the instance of this class.

//#==============================================================================

 

public class Game_Temp

{

//  #--------------------------------------------------------------------------

//  # * Public Instance Variables

//  #--------------------------------------------------------------------------

  public String map_bgm;                  //# map music (for battle memory)

  public String message_text;            //# message text

  public String message_proc;             //# message callback (Proc)

  public int choice_start;             //# show choices: opening line

  public int choice_max;               //# show choices: number of items

  public int choice_cancel_type;       //# show choices: cancel

  public int choice_proc;              //# show choices: callback (Proc)

  public int num_input_start;          //# input number: opening line

  public int num_input_variable_id;    //# input number: variable ID

  public int num_input_digits_max;     //# input number: digit amount

  public boolean message_window_showing;   //# message window showing

  public int common_event_id;          //# common event ID

  public boolean in_battle;                //# in-battle flag

  public boolean battle_calling;           //# battle calling flag

  public int battle_troop_id;          //# battle troop ID

  public boolean battle_can_escape;        //# battle flag: escape possible

  public boolean battle_can_lose;          //# battle flag: losing possible

  public int battle_proc;              //# battle callback (Proc)

  public int battle_turn;              //# number of battle turns

  public Array[] battle_event_flags;       //# battle event flags: completed

  public boolean battle_abort;             //# battle flag: interrupt

  public boolean battle_main_phase;        //# battle flag: main phase

  public String battleback_name;          //# battleback file name

  public int forcing_battler;          //# battler being forced into action

  public boolean shop_calling;             //# shop calling flag

  public int shop_goods;               //# list of shop goods

  public boolean name_calling;             //# name input: calling flag

  public int name_actor_id;            //# name input: actor ID

  public int name_max_char;            //# name input: max character count

  public boolean menu_calling;             //# menu calling flag

  public boolean menu_beep;                //# menu: play sound effect flag

  public boolean save_calling;             //# save calling flag

  public boolean debug_calling;            //# debug calling flag

  public boolean player_transferring;      //# player place movement flag

  public int player_new_map_id;        //# player destination: map ID

  public int player_new_x;             //# player destination: x-coordinate

  public int player_new_y;             //# player destination: y-coordinate

  public int player_new_direction;     //# player destination: direction

  public boolean transition_processing;    //# transition processing flag

  public String transition_name;          //# transition file name

  public boolean gameover;                 //# game over flag

  public boolean to_title;                 //# return to title screen flag

  public int last_file_index;          //# last save file no.

  public int debug_top_row;            //# debug screen: for saving conditions

  public int debug_index;              //# debug screen: for saving conditions

 // #--------------------------------------------------------------------------

 // # * Object Initialization

 // #--------------------------------------------------------------------------

  public Game_Temp

  {

     map_bgm = nil;

     message_text = nil;

     message_proc = nil;

     choice_start = 99;

     choice_max = 0;

     choice_cancel_type = 0;

     choice_proc = nil;

     num_input_start = 99;

     num_input_variable_id = 0;

     num_input_digits_max = 0;

     message_window_showing = false;

     common_event_id = 0;

     in_battle = false;

     battle_calling = false;

     battle_troop_id = 0;

     battle_can_escape = false;

     battle_can_lose = false;

     battle_proc = nil;

     battle_turn = 0;

     battle_event_flags = {};

     battle_abort = false;

     battle_main_phase = false;

     battleback_name = '';

     forcing_battler = nil;

     shop_calling = false;

     shop_id = 0;

     name_calling = false;

     name_actor_id = 0;

     name_max_char = 0;

     menu_calling = false;

     menu_beep = false;

     save_calling = false;

     debug_calling = false;

     player_transferring = false;

     player_new_map_id = 0;

     player_new_x = 0;

     player_new_y = 0;

     player_new_direction = 0;

     transition_processing = false;

     transition_name = "";

     gameover = false;

     to_title = false;

     last_file_index = 0;

     debug_top_row = 0;

     debug_index = 0;

  }

}

 
 

Zeriab

Sponsor

You can, but it will be a very big project.
Instead I would suggest making your own rpg engine. You can of course borrow ideas from the default scripts in RPG Maker XP, but I would advice against creating a java environment where you could run RMXP games. It is also a much larger project than making your own engine.

*hugs*
- Zeriab
 
im well aware how large it is, i just wanna play with the idea more then really finish it. but if i ever get confident enough i would like to make my own engine.
 
ya for my advanced java class i have had to write simular stuff, i think i can pull it off, who knows i head out to my ship soon tho so who knows(im in the navy)
 

Zeriab

Sponsor

I am telling you that it will be easier to make your own engine. It's also better in a legal perspective.
As for developing the java program I suggest using Eclipse as your IDE: http://www.eclipse.org/downloads/
I would suggest to download the Eclipse IDE for Java Developers or Eclipse Classic 3.4.2.

I wish you luck with your project.
If you have internet you can use for going to rmxp.org you can post a workshop thread about your project and get feedback.

*hugs*
- Zeriab
 

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