User Tools

Site Tools


create_custom_game_tutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
create_custom_game_tutorial [2017/10/26 12:20] justincreate_custom_game_tutorial [2017/10/26 14:14] (current) justin
Line 1: Line 1:
-======Creating a Custom Game from Scratch======+======Creating Your Own Game from Scratch======
 ---- ----
  
 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 sidebar. 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! 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 sidebar. 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!
  
-If at any point you get stuck or would just like to grab the resources created for this guide, the game project can be downloaded in its entirety here: example_desert_game.zip+If at any point you get stuck or would just like to grab the resources created for this guide, the game project can be downloaded in its entirety here: [[http://www.rpginabox.com/wp-content/uploads/example_desert_game.zip|example_desert_game.zip]]
  
 =====Setting Up the Game Project===== =====Setting Up the Game Project=====
Line 72: Line 72:
 {{:wiki:select_sand_tile.png?nolink|}} {{:wiki:select_sand_tile.png?nolink|}}
  
-Place some sand [[tile|tiles]] to form a small square as the initial base for the [[map]]. You can toggle the "Randomize Rotation" button on the [[Map Editor]] toolbar when placing [[tile|tiles]] or [[object|objects]] to add variety to the placement, or right-click to rotate the pending resource to a specific angle before placing. Then, place some of the road [[tile|tiles]] down the width of the map and scatter several of the "sand with rock" [[tile|tiles]] around as desired. For more details on the usage of the [[Map Editor]], check out the [[Map Editor]] page.+Place some sand [[tile|tiles]] to form a small square as the initial base for the [[map]]. You can toggle the "Randomize Rotation" button ({{:wiki:arrow_switch.png?nolink|}}) on the [[Map Editor]] toolbar when placing [[tile|tiles]] or [[object|objects]] to add variety to the placement, or right-click to rotate the pending resource to a specific angle before placing. Then, place some of the road [[tile|tiles]] down the width of the map and scatter several of the "sand with rock" [[tile|tiles]] around as desired. For more details on the usage of the [[Map Editor]], check out the [[Map Editor]] page.
  
 {{:wiki:desert_map_place_tiles.png?nolink|}} {{:wiki:desert_map_place_tiles.png?nolink|}}
Line 95: Line 95:
 {{:wiki:quad_bike_front.png?nolink|}} {{:wiki:quad_bike_back.png?nolink|}} {{:wiki:quad_bike_front.png?nolink|}} {{:wiki:quad_bike_back.png?nolink|}}
  
-In order to give the appearance of motion when the player is driving around, let's create a simple [[animation]] for the model. Click the "Duplicate Current Frame" button ({{:wiki:duplicate_frame.png?nolink|}}) on the [[animation]] toolbar (located below the 3D view of the [[Voxel Editor]]) four times to create four new frames identical to the original frame. As shown in the four images below, I changed one of the [[voxel|voxels]] in each tire to a lighter color in frames 2 through 5 so the tires will appear to spin. I also made the red brake light at the back of the bike a brighter red in frame 1 so the brake light will appear to come on when the player is stopped.+In order to give the appearance of motion when the player is driving around, let's create a simple [[animation]] for the model. Click the "Duplicate Current Frame" button ({{:wiki:film_duplicate.png?nolink|}}) on the [[animation]] toolbar (located below the 3D view of the [[Voxel Editor]]) four times to create four new frames identical to the original frame. As shown in the four images below, I changed one of the [[voxel|voxels]] in each tire to a lighter color in frames 2 through 5 so the tires will appear to spin. I also made the red brake light at the back of the bike a brighter red in frame 1 so the brake light will appear to come on when the player is stopped.
  
 {{:wiki:duplicate_frame.png?nolink|}} {{:wiki:duplicate_frame.png?nolink|}}
Line 107: Line 107:
 {{:wiki:add_animation_button.png?nolink|}} {{:wiki:add_animation_button.png?nolink|}}
  
-In the "Add Animation" dialog that is displayed, enter the values as shown below and click OK. It is important that the [[animation]] is named "walk" exactly (in all lowercase). When playing, the game will look for an [[animation]] with this name and trigger it whenever the [[character]] is moving.+In the "Add Animation" dialog that is displayed, enter the values as shown below and click OK. It is important that the [[animation]] is named "walk" exactly (in all lowercase). When playing, the game will look for an [[animation]] with this name and trigger it whenever the [[character]] is moving. The project files linked at the top of this tutorial also includes an "idle" [[animation]] for the bike and a slightly improved "walk" animation. The "idle" [[animation]] is another type of [[predefined_animation_names|predefined animation]] which automatically plays whenever the [[character]] is not moving.
  
 {{:wiki:add_walk_anim.png?nolink|}} {{:wiki:add_walk_anim.png?nolink|}}
create_custom_game_tutorial.txt · Last modified: 2017/10/26 14:14 by justin