Skip to content

AlxHnr/rpg_engine

Repository files navigation

preview.gif

The demo above uses the Exterior 32x32 Town Tileset.

This game is based on a tile engine I wrote earlier. The controls default to the arrow keys, numbers, space and escape. This can be changed in the menu. When configuring the controls using a gamepad, make sure to disable the analog stick. Otherwise even the slightest tilt can generate 50 events. This will assign all controls to the analog stick. If you mess up the controls, remove the file rpg_engine/joystick.conf and start the game again.

Rendering a single frame

rendering.gif

Building

This program requires the development files of the following libraries:

  • SDL (not SDL2)
  • SDL_image
  • SDL_mixer
  • SDL_gfx
  • SDL_ttf

Build the game using only one thread: make -j1. It can be started using make run.

Note: The tileset used by the maps in this game is not included due to unclear licensing. You could try saving something like this to ./rpg_engine/tileset.png. Otherwise you would have to build your own maps using a free 32x32 tileset.

The map editor has to be build using make -j1 map_editor. It can be started by changing into the rpg_engine/ directory and running the map_editor binary from there. All tileset paths configured in the editor must be relative to this directory. The editor can take the path to a map as argument.

Assets used

Painterly Spell Icons 1, 2, 3 and 4

This icon pack is the main reason I wrote this game.

The following assets by Clint Bellanger (license: CC-BY 3.0):

The assets above have been a big motivation for me. I have scaled, tinted and combined those graphics to fit my needs.

  • Author: HorrorPen
  • License: CC-BY 3.0
  • Author: Lamoot
  • License: CC-BY 3.0
  • Author: lancel
  • License: CC-BY-SA 3.0
  • Author: Écrivain
  • License: CC0
  • Author: Q_x
  • License: CC0

Sound effects

  • Author: p0ss
  • Licenses: CC-BY-SA 3.0, GPL 3.0, GPL 2.0
  • Author: artisticdude
  • License: CC-BY 3.0
  • Author: qubodup
  • Licenses: CC-BY-SA 3.0, GPL 3.0, GPL 2.0
  • Author: remaxim
  • License: CC0
  • Author: artisticdude
  • License: CC0
  • Author: Bart K.
  • Licenses: CC-BY 3.0, CC-BY-SA 3.0, GPL 3.0, GPL 2.0, OGA-BY 3.0
  • Author: Iwan Gabovitch
  • License: CC0
  • Author: Autistic Lucario
  • License: CC BY 3.0
  • Author: Zixem
  • License: CC0
  • Author: Ogrebane
  • License: CC0
  • Author: Blender Foundation
  • License: CC-BY 3.0

Note: This list of sound effects is incomplete. While all of them are free and come from either opengameart.org or freesound.org, I failed find the some of the sources. If you can help, please file an issue with a link to the original work.

Other assets

Amiri Regular (Font)

  • Author: Khaled Hosny
  • Licenses: Public domain, GPL, OFL

Releases

No releases published

Packages

No packages published

Languages