I'm working on a Text-based game using RPG maker VX. I want to see everyones ideas on how to make this better/easier on my computer. So far, its pretty tough and tedious work to make each room. and the battle system isn't that great.
Movement / Rooms
To make the movement, i'm using the regular character, but everytime he moves. He goes into a different room. To move around, you do not use the arrow keys, you have to go into the menu, and choose move. Then, you have to input a number for the way you want to go. North, South, East, West, Up, Or Down.
The Rooms are created using a single event, you have it triggered on event touch. Then, when you move, you trigger the event to begin, and it starts by telling you what room your in, and how many monsters/items/people there are in the room. (which is changed by a variable so you can find out again) Then, it goes to the next page of the event, which shows the reccurring menu (with a label so you can go back to it) which asks if you want to attack, pick up/use an item, or talk to the people there.
Battle System
The battle system is very easy actually, make a common event, that first checks if your a certain strength or lower. If your too high of strength the creature runs away. Now, if you have the adequate strength then the battle begins by setting up the creatures health and your health. After telling you the health of the creature, it asks you what do you want to do. You can attack or run. Now, if you attack. It uses and algorithm based on your strength and agility againts the creatures defense and agility to see if you hit. If you do, the strength is subtracted from the defense of the creature, and you hit the remainder. Which then, lowers the Health of the creature. Then, the creature hits a set amount. But, he can miss if you have a high enough agility level. Because all that is rolled is the agility, to see if the creature hits or miss. Then it checks if either players health is 0 or lower, if not it starts the Loop over. If so, it carries on a series of events for each.
If the creatures health is 0 or lower, it proceeds to give you experiance, loot and then go back to the menu screen, but the room will have 1 creature less than before. If you die, then it proceeds to teleport you to the death area. (more on that later)
Problems
As i continue to make rooms, i'm afraid that there will be a lag. I haven't gotten to that yet, but i belive that can happen. And also theres the arrow keys, if you move, you can get out of a lot of things quickly.
So, how can i stop the lagg.
and
How can i disable movement?
|