This article is a summary of the past.
The first element is the plot.
RPG games are represented by the legend of xianjian Qixia. you can also use dosbox in XP. some old games are still very interesting to play, so I personally feel that the most vital part of RPG games is actually a plot. Other pictures are not something I can care about. it may be related to the limited capacity of human thinking (when you think about how to pass customs, more clues may depend on the story description. Of course, there are also image prompts for items, the difference is often the Agency ).
Second element: NPC
Different NPCs are the roles in RPG games. Just like actors in a drama, they are connected to complete the entire story. The NPC may walk on its own, usually activating tasks or selling items.
Third element: map.
Generally, RPG games are supported in a number of scenarios. hero walks freely on a map, then encounters an NPC conversation to pick up a task, or buys items (weapons and food items), including playing monsters.
Sometimes it will deal with the weather effect: rain, snow, wind and so on. Or the shaking of the screen.
Fourth element: item and task
If the plot is more focused on text, the setting of items and level tasks should be the core of the game. Through picture changes, players can interact with each other. items may be items of a task.
Fifth Element: Hero's upgrades and skills (even the wow talent allocation)
This part is often used to adjust the game balance and increase the game's challenge.
So much. How many points should be implemented on the program?
1. Script
To facilitate the setting of the plot and the setting of the level, a good mechanism is obviously needed. This is the script mechanism. By implementing a script engine, you can concatenate the functions controlled by the game in a script-defined manner. The script engine can be divided into two parts: the engine (compiler, Interpreter) and the extended function library. The extended function library is an important part to consider. The following functions should be implemented,
1) msgwindow in the menu part of the menu dialog box: This part is the dialog box that we usually see after triggering the NPC dialogue in the game. It is often used to select the plot branch.
This is the script description.
Menu title = "this switch is so strange that you can press it! "
Menu select = "Well, let's see what is behind it"
Menu select = "Forget it, security first"
Showtips ""
2) control and effect of the main scenario
Blackin, blackout shakescreen weatherscreen snowscreen
3) control the role part.
Addhp addmp subhp SUBMP... levelup
Changeaction
4) some lower-layer controls:
Loadmap (parameter) loads a map
Startfight (parameter) activates the battle Screen
Showanimation
LoadImage
If
Goto
2. map editing, level editing (item, event), and pass setting.
3. animation editing and collision settings
4. Configure the hero NPC status table.