This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
2d_games [2023/02/03 18:03] – justin | 2d_games [2023/02/03 20:45] – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | Although RPG in a Box is primarily for creating 3D games, you can also create games that have a 2D appearance by making use of several different features. The Kenney Tiny Dungeon project template that comes with RPG in a Box is set up in this way and is a great reference | + | Although RPG in a Box is primarily for creating 3D games, you can also create games that have a 2D appearance by making use of several different features. The Kenney Tiny Dungeon project template that comes with RPG in a Box is set up in this way and is a great reference |
=====Camera===== | =====Camera===== | ||
- | Open the [[Game Configuration]] dialog and go to the **Gameplay** section. From the **Camera** tab, choose " | + | To set up the camera for a 2D game, open the [[Game Configuration]] dialog and go to the **Gameplay** section. From the **Camera** tab, choose " |
You'll also want to disable the **Allow Rotation** setting by toggling it off. This will prevent the player from rotating the camera. Optionally, you can also disable zooming and tweak the default zoom amount if you want your camera to remain at a fixed distance from the scene. | You'll also want to disable the **Allow Rotation** setting by toggling it off. This will prevent the player from rotating the camera. Optionally, you can also disable zooming and tweak the default zoom amount if you want your camera to remain at a fixed distance from the scene. | ||
Line 12: | Line 12: | ||
=====Tiles and Objects===== | =====Tiles and Objects===== | ||
- | When creating [[tile|tiles]] and [[object|objects]] for your game, keep in mind that they' | + | When creating [[tile|tiles]] and [[object|objects]] for your game, keep in mind that they' |
- | {{:2d_game_tile.png? | + | {{:2d_game_tile_front.png? |
- | (Top-Down camera | + | {{: |
+ | |||
+ | =====Maps===== | ||
+ | You'll build your maps in the [[Map Editor]] in the same way as a 3D game, however it's recommended to use the "Top-Down" | ||
{{: | {{: | ||
=====Characters===== | =====Characters===== | ||
- | Similar to [[tile|tiles]] and [[object|objects]], | + | Similar to [[tile|tiles]] and [[object|objects]], |
{{: | {{: | ||
- | Enable the " | + | Enable the " |
{{: | {{: |