Project

pdadv

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
PDF Adventure game framework
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0

Runtime

 Project Readme

Pdadv

PDF Adventure game framework

It's a joke framework :)

demo

Installation

$ gem install pdadv

Usage

(1) make scenario file

%setGlobal Size, 1280, 960
%setGlobal Frame, ./assets/frame.png
%setGlobal Font, ./assets/myFont.ttf
%setGlobal TextColor, #ffffff
%setGlobal TextSize, 40
%setGlobal MessageArea, 360, 570, 570, 350
%setGlobal MessageWindow, ./assets/message_window.png

%register back, ./assets/back.jpg
%register myCharacter, ./assets/myCharacter.png

%back title

## start

%back back
%show 1, myCharacter

Hello, Pdadv!

- [Hello!](hello)
- [Good Bye!](end)

## hello

%back back
%show 1, myCharacter

Game Clear!

## end
%back back

Game Over...

- [Retry!](start)

(2) convert scenario to PDF

pdadv -o output.pdf scenario.txt

License

The gem is available as open source under the terms of the MIT License.