Creating a Custom Game from Scratch

From Wiki | RPG in a Box
Revision as of 21:54, 19 July 2016 by Justin (Talk | contribs)

Jump to: navigation, search

UNDER CONSTRUCTION

This guide is currently under construction. Check back soon!


About This Guide

The purpose of this guide is to walk you through the process of creating a simple game from scratch using your own custom-made resources. While some detail will be provided for each step, it is recommended that you have a basic understanding of the editors. If you are unsure of the controls or how to complete a certain action, refer to the individual editor guides that are available from the main page. As new features are added to the software, I intend to update this guide accordingly to cover those new features. If there is any particular functionality that you think would be useful to include, please let me know!


Setting Up the Game Project

When RPG in a Box is first launched, the Game Manager dialog is displayed. The Game Manager allows you to either open an existing game project or create a new one. In this guide we are creating a new game project, so click on the Create a New Game button at the top.


Create new game.png


Once you indicate that you want to create a new game, the Create a New Game dialog will display. This dialog is where you will specify some initial settings for your project. Click the Browse button and navigate to a location where you'd like to store your project's files. It is recommended to create a new folder for your project. Here you will also specify a name for your game and whether you want to import the example content. Ensure that the Import example content checkbox is not checked since you'll be creating your own content for this project. Click OK to proceed once everything is set.


Create new custom game settings.png


Creating Content

Tiles and Objects

New resource.png

New tile.png

Sand tile.png

Sand tile in resource panel.png

Sand tile save as 1.png

Sand tile save as 2.png

Sand road tile.pngSand rock tile.png

New object cactus.png

Cactus object.png

Cactus object 2.pngCactus object 3.pngRock object.png


Starting Map

New map.png

Select sand tile.png

Desert map place tiles.png

Cactus not walkable.png

Desert map.png


Player Character

New character.png

Quad bike character.png

Quad bike anim 1.pngQuad bike anim 2.pngQuad bike anim 3.pngQuad bike anim 4.png

Add walk anim.png

Startup Script

New script.png

Startup script load map.png

Startup script load map 2.png

Startup script source.png


Configuring the Game

Game config custom.png


Exporting and Playing

Now that we've created all of the necessary resources, let's export the game to try it out. On the main toolbar at the top of the application, click on the Export Game button. Once the Export Game dialog opens, click the Browse button and create a new folder to use as the destination. Once the export destination path is set, select the appropriate target platform from the dropdown. In this case, you would want to select the platform you are currently running on. If you have previously exported your game to this location for same platform, you can check the Export data only checkbox to have the application only copy your resource package and skip the executable file. Once ready, click the OK button to proceed with the export.


Export example game.png


Now that your game has been exported, use your system's file explorer to navigate to the destination folder that you selected in the Export Game dialog and double-click the "game_launcher" executable file to launch the game.

File:Play desert game.png

That wraps up this guide! You have successfully created and exported a game using RPG in a Box.