Creation Tips

This page contains creation tips to achieve a variety of game systems by using combinations of Bakin's features. The sample projects "Orb Stories" and "Dungeon RPG Sample" that appear below can be found in Bakin's Top Menu > Game Gallery.


What to Do When the Game is Running Slow

If you experience performance problems, such as slow or jerky game play, you may be able to improve the game by making changes to the following points.

Review Collision (Collision Detection)

Collisions are a factor that has a significant impact on processing time.
First, "event" collisions take much longer to process than "object" collisions.
The size of the collision and the complexity of the shape also affect processing.
Therefore, please try to take the following measures;

Please note that in some cases, the specifications of the PC on which the game is played may affect the processing time.


Make Player Invisible

In the "Dungeon RPG Sample," to hide the player when in first person, specify "Stamp with no graphic setting" in Database > Casts > Graphic for Moving.


Grid Move

Grid unit movement (movement in units of terrain squares) can be achieved by using a common event.

Switch between “Grid Move” and “Normal Move” on a map-by-map basis

You can create a game such as using normal move in the plains, and grid move when entering a cave.

  1. Make the “Grid Move” event template into a custom event.
  2. Add a “Normal Move” event sheet as shown below. Note that the panel we are using is the Enable/Disable Move panel.
    Change_GridMove.jpg
  3. Turn off the “Disable Move” switch in the event of entering a dungeon map (a map with grid move).
  4. The “Disable Move” switch is turned on at the event when entering a plain map (a map with normal move).

Battles in "Dungeon RPG Sample"

Below are some tips on battles implemented in “Dungeon RPG Sample”.

Introduce the Concept of "Front Row/Back Row" to the Party in Battle

In the battles of the "Dungeon RPG Sample," the concept of front/back rows is specified on the party side. (For the sake of simplicity, enemies are only in the front rows.) Members in the back row cannot attack the enemy unless they have a long-range weapon, and conversely, bare handed attacks from the enemy will basically not hit them. Bakin achieves these mechanisms by specifying the following:

Specify the Positions of Allied Party Members in the Battle Layout

You can specify the placement of allies and enemies during battles in the Game Definition > Rules and Operations > Battle Layout settings, the Map Settings palette > Enemy Distribution, and the "Execute Battle and Check Results" event panel. Not only the display position during battles, but also the distance between allies and enemies is calculated based on what is specified here. The Dungeon RPG sample is positioned as shown in the following image.

 
BattleLayout_DRPGSample.png
 

Specify Attack Range

To introduce the concept of attack range into battles, first, turn on "Use Attack Range" in Game Definition > Rules and Operations. Then, specify "Attack Range Judgment Type" as either "Line" or "Distance" in the pulldown.
For the difference between "Line" and "Distance", see Game Definition > Rules and Operations > "Attack Range Judgment Type".

Next, you need to specify the attack range of the weapon and the cast itself (bare handed attacks) in the Database > Items and Database > Casts > Basics tabs. The unit of attack range is the grid of the battle layout.

The Front/Back indications that appear above the members during battles in the "Dungeon RPG Sample" are specified in the Layout Tool > Battle Status.


Rearrange the Party Members

When the concept of front/back rows is introduced into battles, it makes sense to rearrange the order, such as putting deeply damaged members in the back row. In the "Dungeon RPG Sample," in addition to allowing "swapping places" as a battle command, we also handle such things as automatically moving members who have been disabled in battle to the back of the line.

 

Enable the Battle Command "Swap Places"

To display the rearrange order command during battle, create a command in the "Battle Command Menu" under the Database > Casts > Battles tab, specifying "Swap Places" as the function to be assigned.

 

Enable Automatic Rearranging by "Status"

To automatically send members to the back row depending on their state during battle, first, turn on "Rearrange by State During Battle" in Game Definition > Rules and Operations. You may turn on "Restore the Original Order when States are Removed" if necessary.

 

And which state to move to the back is specified in the Basic Settings "Move to Back of the Party while Granted" in Database > State Definition.


How to Create a Battle Map (First-Person Battle)

This section explains how to create a map (battle map) used in the battle scene of “Dungeon RPG Sample”.

1. Prepare Background Image

Add a background image to Bakin at Resources > Images.

2. Map Creation and Background Image Placement

Create a map to be used as a battlefield (battle map) in the Map Editor > Map List.

The elevation (Y) of the terrain on the map should be lowered to “0”.

DRPGBattle_3.jpg

3. Adjustment of Battle Layout

The position of the allies and enemies in battle is assigned by the battle layout.
The battle layout can be specified in Game Definition > Rules and Operations for game-wide use, or in the Map Settings palette > Enemy Distribution for each individual battle map.

  1. Game Definition > Rules and Operations > Battle Related > “Use Default Battle Layout” to “Off”.
  2. Click on the field “Battle Layout Settings” at the bottom to display the Battle Layout dialog.
  3. Specify the position of the enemy standing “by number of enemies” on the dialog. The number of enemies setting is located at the top of the dialog.
  4. Map Settings for each map > Enemy Distribution tab > Properties for selected Appearing Area > Use Custom Battle Layout should be “Off”.

4. Adjustment of Battle Position on the Battle Map

For each Map where battles occur (Enemy Distribution areas)/event, specify where on the battle map the battle layout should be centered.
Note that it should be specified in map where battles occur/event, not in the battle map.

 

Example: If an encounter battle occurs while moving through “Map 1” and the battle scene takes place by transitioning to the “Battle Map”, the above must be specified in the map settings on the “Map 1” side.

DRPGBattle_5.jpg

5. Battle Camera Settings

Open the Camera Tool and specify the battle camera.
Assign a battle map to the “Switch Maps for Preview” at the top of the Camera Tool.
Refer to the Battle Camera in “Dungeon RPG Sample” to specify the properties.

Switching Battle Backgrounds

In the "Dungeon RPG Sample," the background 2D graphics are switched as necessary, for example, between encounter battles and boss battles. This is achieved by an event.

First, place an event for background graphics on the "Dungeon_2DBattleMap" used as the battle map. Within that event, there are multiple event sheets that are activated by variable values, and background graphics are assigned to each of them.

Then, at the event where the battle occurs, the background is switched by putting the value for the event sheet you want to use as the background into a variable.


Damage Display in Battles

In battle scenes in the "Dungeon RPG Sample," damage values and effects when attacked appear in the party status display area.

This is accomplished by placing parts with the special coordinate specification tag DamagePosition on the Layout Tool > Battle Status screen. Please refer to the "Damage Display Position" container in the layout parts list.


Narrowing Down the Entries to be Displayed on the Layout

In the "Dungeon RPG Sample," each menu corresponding to the "Item List" and "Picture Book" has a narrowed-down list of entries to be displayed, such as "Weapons Only" and "Valuables Only. This is achieved through a combination of Database and Layout Tool functions.

 

Database Management Tags

You can freely set tags with a "#" in the Management Tags + Notes field under the Database Entry Tree. Items also have internally generated tags by specifying "Consumables," "Weapons," and "Armor" in the Basic Settings and setting the price to 0.

 

Narrowing by Tags in the Layout Tool

Use the Layout Tool to specify which of the tagged entries are to be displayed. You can specify entries to be displayed by specifying tags in "Management Tags for Items to be Displayed" in the layout properties of the Item Selection screen, etc. Note that specifying multiple tags will result in an AND condition ("00 and xx").

 

Display in the "Picture Book" Screen

Please note that picture books will not be displayed unless "Register to Picture Book" is turned on in the "Others" tab of each option in the Database.

 

The Dungeon RPG sample's picture book, or Monsters in the "Notebook," shows only the enemy casts. To achieve this, we first specify the #Monster tag for casts that correspond to so-called monsters in Database > Casts. And this is achieved by specifying #Monster for the layout property "Management Tags for Items to be Displayed" in Layout Tool > Cast Picture Book.


Enhancement Items

In the "Dungeon RPG Sample," events occur where enhanced items like "Knife +1" come out of treasure chests or enhance items on hand. This is achieved through a combination of the following features:

Specify as Enhanceable Items

If you want to make an item enhanceable, remember to first go to Database > Items and turn on "Enhanceable" for the item you want to have enhanced.

Enhancement Using "Custom Event" on Items

For items from treasure chests, we have set up an item enhancement event in Database > Items with a custom event. A custom event is triggered when an item is obtained. In the event, items from "+1" to "+3" will appear using random numbers and loops.

Enhancing Using Enhancement Item Selection Screen and Common Events

The item enhancement event on the B1 map is achieved by a combination of Layout Tool and Common Events. The common event "Item Enhancement_B1" is called from the action in the sub-menu container of the Layout Tool > Enhancement Item Selection screen.
Also, in the layout properties "Variable Specification," specify the "nth Parameter in the Inventory" variable to be used for "Item Enhancement" and "Advanced Variable Box Operation" on the Common Event side. Note that the Enhancement Item Selection screen takes effect in combination with Common Events.

Please refer to sample events in the Common Events section for more information on enhancing items.

(Caution)
Each enhanced item is treated as a different type of item.
The capacity of the Inventory, which can be set in Game Definition > Rules and Operations, allows you to specify the number of "types" of items the player can have.
In other words, each enhanced item is counted as "one type".


Mini Map

A mini map with auto-mapping is displayed on the screen. Icons of doors and treasure chests found are now also displayed on maps. These are achieved through a combination of the following features:

Display Mini Map

The mini map can be displayed simply by specifying the special format \minimappreview in the Layout Tool on the Panel for Rendering Strings. The size and display position of the mini map will reflect the panel's settings. In the "Dungeon RPG Sample," a layout called "minimap" is created in the Layout Tool > Free Layout for Events screen, and the mini map is displayed by calling the layout from a common event.

Setting the Contents of the Mini Map Display

Setting Icons on Mini Map


Footstep Settings

Footsteps can be sounded when the player walks on the terrain/object.

Footstep Settings for Terrain

Footsteps can be set in "Sound Effects" under Resources > Terrains Properties.

Footstep Settings for Objects

Footsteps when walking on an object can be sounded by assigning a "terrain" with a set of sound effects.
Specify the terrain in the "Terrain Assignment" property of the simple collision in Resources > 3D/2D Stamps.
The "Sound Effects" set for "Terrain" will be applied.

Footstep Volume and Playback Speed Adjustment

There are settings for footstep volume and footstep playback speed in Game Definition > Rules and Operations, which can be changed uniformly.
It can also be changed using the "Change Footstep Settings" event panel.
If you want to adjust the volume of individual footsteps, you can go to Resources > Sounds and change the volume of the footsteps you are using.


Run up to the Enemy and Attack

Actions such as running up to a monster and slashing at it during a battle attack can be accomplished by using battle events.

  1. First, right-click on the file name below and "Save Link As".
    walk_attack.txt
  2. Import the saved text file into Battle Events for viewing.

Continuous Damage Indication

Actions that deal continuous damage in a single skill attack can be achieved by using common event.

Please refer to the images below for event detail.

ContinuousDamage.png

Level Cap Release Event

You can specify a maximum level for casts and classes and then have events change that maximum level.
The Change Cast Status panel will be utilized.

It's a good idea to specify events at game milestones, such as "when the first chapter is completed" or "when an item is obtained."

For example, the following can be achieved:

Change_MaxLv.png

Sway Grass Models Growing Out of the Ground

Shaders such as a_n_wind_discard, a_n_rm_wind_discard, and map_wind_discard can be used to make the grass on the ground appear to sway in the wind.
Please refer to the material sb_obj_nature002_Grass01a (sb_obj_nature002_Grass01a) in the 3D stamp sb_obj_nature002_Grass01a in "Orb Stories".

  1. Specify the "origin" as the root when creating the model.
  2. Check the "Transform > Apply Transform" setting box when exporting FBX from Blender.

Cutscene when Activating a Skill

By specifying the following settings, a cut scene with sprite animation can be inserted when a skill is activated.
A cutscene is set as a sample for the skill “Fire” in “Orb Stories,” so please use it as a reference for your creation.

Skill_Cutscene.png

How to Use Auto Save

  1. Layout Tool > Free Layout for Event screen to create a layout showing “Saving” indication.
  2. Show “Saving” layout in Display Free Layout for Event panel before auto save.
  3. After auto save, delete the “Saving” layout in the Display Free Layout for Event panel as well.
  1. Delete the “Save” field from the menu.
  2. Always execute “Forced Load” for the auto save slot at the beginning of the game.
    By doing these two things, it is possible to achieve a mechanism whereby the game resumes from auto save if data is available, and a new game if not.

Backlogs

You can record in-game conversations and messages to create backlogs that can be reviewed later.

Show Backlog Screen

Below is the procedure for displaying the backlog screen from the menu screen.

  1. Create a layout for the backlog with “Backlog Screen” in the Layout Tool > Screen List.
  2. In the “Menu Screen” layout, assign “Show Backlogs” to “Action” and the layout of the backlog screen to “Layout to be Opened” in the Submenu Container.
     

What the Backlog Can Do: Other


Attach file: fileDRPGBattle_6.jpg 47 download [Information] fileDRPGBattle_5.jpg 49 download [Information] fileDRPGBattle_4.jpg 52 download [Information] fileDRPGBattle_3.jpg 48 download [Information] fileDRPGBattle_2.jpg 51 download [Information] fileDRPGBattle_1.jpg 50 download [Information] fileChange_GridMove.jpg 48 download [Information] fileEventTemplate_GiridMove.jpg 47 download [Information] fileTips_Autosave.png 50 download [Information] filewalk_attack_en.txt 116 download [Information] fileSkill_Cutscene.png 102 download [Information] fileChange_MaxLv.png 171 download [Information] fileContinuousDamage.png 202 download [Information] fileRunuptotheEnemyandAttack_Return.png 180 download [Information] fileRunuptotheEnemyandAttack_Runup.png 235 download [Information] fileBattleLayout_DRPGSample.png 228 download [Information]

Front page   Edit Freeze Diff History Attach Copy Rename Reload   New Page list Search Recent changes   Help   RSS of recent changes
Last-modified: 2024-10-30 (Wed) 01:20:33