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

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

内容简介: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.

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

查看所有标签

猜你喜欢:

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

数字民主的迷思

数字民主的迷思

[美] 马修·辛德曼 / 唐杰 / 中国政法大学出版社 / 2015-12-25 / CNY 39.00

马修·辛德曼著的《数字民主的迷思》主要讨论互联网对美国政治的影响,聚焦的是“民主化”这一课题。针对公众关于网络民主的美好想象与过分狂热,它通过对在线竞选、链接结构、流量模式、搜索引擎使用、博客与博主、内容生产的“规模经济”等主题的深入处理,借助大量数据图表与分析,勾勒出互联网政治的种种局限性。尤其表明,网络政治信息仍然为一小群精英与机构所创造和过滤,在网络的每一个层次和领域都仍然遵循着“赢家通吃”......一起来看看 《数字民主的迷思》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具