Source code of “Delores: A Thimbleweed Park mini-adventure”

栏目: IT技术 · 发布时间: 5年前

内容简介:This is the source code toThe source code for Delores is made available under a custom license. SeeThis repository does not include the source code for the engine, it is just the source for the game Delores. To run the Delores source code, you will need to

This is the source code to Delores: A Thimbleweed Park mini-adventure . Read Grumpy Gamer for more background.

License

The source code for Delores is made available under a custom license. See LICENSE.md for more details.

This repository does not include the source code for the engine, it is just the source for the game Delores. To run the Delores source code, you will need to download a development version of the engine here . If you wish to share your changes or modifications, direct people to the preceding page to download the development engine as the LICENSE.md does not permit redistribution of the engine.

The Delores source is intended solely for personal use to learn and explore. Please respect our choice to release the source by using it as intended.

Directions

Clone the repository to your local machine. It is assumed that these files are placed in a DeloresDev directory.

Download and extract the DeloreDev engine executable from here . The engine executable can go anywhere.

Run it once. You will get an error, but that's expected.

Find the Prefs.json file that was created.

On Windows:

%AppData%\Terrible Toybox\DeloresDev\Prefs.json

On Mac:

~/Library/Application Support/Terrible Toybox/DeloresDev/Prefs.json

Add the following line to the Prefs.json file:

devPath: "/Path/To/DeloresDev"

If you're on Windows, use / as a path separator and not \

Run the executable again and the game should start.

Support

If you're looking for help or to help others, please visit the Thimbleweed Park Forums .

Debug Console

The debug console can be closed by clicking on the X in the upper right. To make it reappear, press control-TAB .

If you right-click on the console title bar, more debug options can be found in the drop-down menu.

Add the following to Prefs.json to extend the screen to allow more room for the debug console.

debugExtraScreenWidth: 550

The debug console and debug windows use the amazing ImGui

Sound

All sound is done via FMOD and FMOD .bank files must be created or downloaded before audio can be enabled.

If you want to hear audio and aren't interested in creating new audio, the Delores FMOD .bank files can be downloaded from here . Extract and place both .bank files in DeloresDev/Sounds/

The FMOD Studio Tool can be downloaded here . Build and place the .bank files in DeloresDev/Sounds/MasterBank.bank and DeloresDev/Sounds/MasterBank.strings.bank

Describing how to use FMOD is beyond the scope of this README.

Dinky

Delores is coded in a custom language called Dinky that is based on and inspired by Squirrel .

If you point a browser to DeloresDev/HelpDocsHtml/home.html you will find the help files for the Dinky language. It is far from complete, hastily written, and probably riddled with spealling mistakes. You've been warned.

Here be dragons

If this is your first time installing, I suggest you stop here and ensure everything works before proceeding. If all you're interested in is code, you can also stop here.

Art

The full art pipeline involves a slew of Python scripts that proved to be an installation nightmare so they are not included.

If you want to add art, place a .png for the element in the Delores/Dev/Images/RoomName and then run Bin/munge_images.py and the sprite sheets will be created.

To do this, you need to have TexturePacker installed and working and define an enviornment variable DELORES_GAMEROOT that points to your DeloresDev directory.

Animation

Animation control files can be found in DeloresDev/Animation and are .json files. The tool that created these for Thimbleweed Park is long gone.

Translations

The version of Delores avaliable in online stores does not include any translation. This repo version has all the text stripped and wrapped and placed into DeloresDev/Data/Translations_en.tsv . See the help doc on Translations or look at DeloresDev/Scripts/Helpers/TranslationHelpers.dinky for more information.

If you're working on a translation you'd like released with the next update of Delores, visit the Thimbleweed Park Forums for more information and to connect with others doing translations.

Wimpy

The tool to add and position objects is called Wimpy and it can be download here

When you first start Wimpy , you will see a blank window. To load a .wimpy file, drag it into the window. The .wimpy file must come from the DeloresDev/Wimpy folder and the project directory structure must remain as it is in the repo.

Known Issues

TranslationHelper.dinky

Credits

  • Delores Programming by Ron Gilbert and David Fox.
  • Thimbleweed Park Art by Mark Ferrari, Octavi Navarro, and Gary Winnick.
  • Thimbleweed Park Music by Steve Kirk.

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

算法与数据结构

算法与数据结构

张乃孝 / 高等教育出版社 / 2006-1 / 31.00元

《算法与数据结构:C语言描述(第2版)》以数据结构为主线,算法为辅线组织教学内容。全书共分10章:绪论、线性表、字符串、栈与队列、二叉树与树、集合与字典、高级字典结构、排序、图和算法分析与设计。《算法与数据结构:C语言描述(第2版)》体系完整,概念清楚,内容充实,取材适当。第一版被列入“面向21世纪课程教材”,2004年被评为“北京市高等教育精品教材”,第二版被列入普通高等教育“十一五”国家级规划......一起来看看 《算法与数据结构》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

MD5 加密
MD5 加密

MD5 加密工具