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.

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

查看所有标签

猜你喜欢:

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

Building Web Reputation Systems

Building Web Reputation Systems

Randy Farmer、Bryce Glass / Yahoo Press / 2010 / GBP 31.99

What do Amazon's product reviews, eBay's feedback score system, Slashdot's Karma System, and Xbox Live's Achievements have in common? They're all examples of successful reputation systems that enable ......一起来看看 《Building Web Reputation Systems》 这本书的介绍吧!

在线进制转换器
在线进制转换器

各进制数互转换器

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具