项目作者: AlxHnr

项目描述 :
Split-screen pvp game (June 2012)
高级语言: C
项目地址: git://github.com/AlxHnr/rpg_engine.git
创建时间: 2018-06-30T13:18:34Z
项目社区:https://github.com/AlxHnr/rpg_engine

开源协议:MIT License

下载


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

  • Author: J. W. Bjerk (eleazzaar) — www.jwbjerk.com/art — find this and other open art at: http://opengameart.org
  • Licenses: CC-BY 3.0, CC-BY-SA 3.0, GPL 3.0, GPL 2.0

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.

Random RPG Icons Part 1

  • Author: HorrorPen
  • License: CC-BY 3.0

RPG GUI construction kit v1.0

  • Author: Lamoot
  • License: CC-BY 3.0

Health and Mana Bars

  • Author: lancel
  • License: CC-BY-SA 3.0

Fossil Cave

  • Author: Écrivain
  • License: CC0

Sheet of old paper

  • Author: Q_x
  • License: CC0

Sound effects

Spell Sounds Starter Pack

  • Author: p0ss
  • Licenses: CC-BY-SA 3.0, GPL 3.0, GPL 2.0

Fire & Evil Spell

  • Author: artisticdude
  • License: CC-BY 3.0

Arrow hit twang

  • Author: qubodup
  • Licenses: CC-BY-SA 3.0, GPL 3.0, GPL 2.0

Short wind sound

  • Author: remaxim
  • License: CC0

Freeze Spell

  • Author: artisticdude
  • License: CC0

Spell 4 (fire)

  • Author: Bart K.
  • Licenses: CC-BY 3.0, CC-BY-SA 3.0, GPL 3.0, GPL 2.0, OGA-BY 3.0

Swish - bamboo stick weapon swhoshes

  • Author: Iwan Gabovitch
  • License: CC0

Wizard Eye

  • Author: Autistic Lucario
  • License: CC BY 3.0

mystic 1

  • Author: Zixem
  • License: CC0

Teleport Spell

  • Author: Ogrebane
  • License: CC0

Fire Whip Hit (Yo Frankie!)

  • 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