As some of you may know, I am writing a new Battle System for fans of Trading Card Games. It seems that a few windows will be required to all the player to understand how cards work. I, personally a System Scripter, have little experience with windows, and I tend to screw up all of my window scripts severely (which is why I never released the Lock Pick System, Alchemy 2.0xa System, Interact Menu Deluxe+, or any other system that needed windows.)
I just need two window classes right now: Duelist_Window and Data_Window.
The Duelist Window is a small window that shows the amount of cards left in the Deck, the life points left, and the Duelist's name. This window should be completely horizontal, with the parameters (duelist, pos = 0), where duelist is the duelist and pos is either 0 or 1.
If pos == 0, then the window should sit on the bottom of the screen. If it equals 1, then the window should rest at the top like a Help Window.
Here are methods of class Duelist so that you can use them in the script;
As for the Data_Window class, it must be large enough to hold a 180x330 card graphic. The parameters for the window are (graphic, pos = 0), where graphic is the directory of the graphic, and pos is the position of the window (0 means left side of the screen in the middle, 1 means the right side of the screen in the middle.)
Any help would be much appreciated, and credit will be given.
Peace!
I just need two window classes right now: Duelist_Window and Data_Window.
The Duelist Window is a small window that shows the amount of cards left in the Deck, the life points left, and the Duelist's name. This window should be completely horizontal, with the parameters (duelist, pos = 0), where duelist is the duelist and pos is either 0 or 1.
If pos == 0, then the window should sit on the bottom of the screen. If it equals 1, then the window should rest at the top like a Help Window.
Here are methods of class Duelist so that you can use them in the script;
Code:
name, gets the Duelist's name.
life, gets the duelist's life.
cards_in_deck, returns the amount of cards in the deck.
As for the Data_Window class, it must be large enough to hold a 180x330 card graphic. The parameters for the window are (graphic, pos = 0), where graphic is the directory of the graphic, and pos is the position of the window (0 means left side of the screen in the middle, 1 means the right side of the screen in the middle.)
Any help would be much appreciated, and credit will be given.
Peace!