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 Movement

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


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.


Damage Indication

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.


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.


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.


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.

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.

Front page   New Page list Search Recent changes   Help   RSS of recent changes