Skip to content

Commit

Permalink
Limit size of images
Browse files Browse the repository at this point in the history
  • Loading branch information
gabber235 committed Jul 26, 2024
1 parent 4712c37 commit 3fd7458
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To do this, run `/typewriter connect` in game. Then clicking the link that is gi

![connect-command](./assets/first-interaction/connect-command.gif)

<Image img={require("./assets/first-interaction/connect-book.png")} alt="connect-book" />
<Image img={require("./assets/first-interaction/connect-book.png")} alt="connect-book" width={400} />

:::caution
If you're getting a message along the lines of "The server is not hosting the websocket. Try enabling it in the config", please refer to [Configuring the Web Panel](02-installation-guide.md#configuring-the-web-panel)
Expand Down Expand Up @@ -94,7 +94,7 @@ things that we can change. Let's change the name of the entry to `on_flower_clic
that we want to interact with. To do this, click on the `Block` field. This will open a modal where you can
select a block. Let's select the red tulip. After this the inspector should look like this:

<Image img={require("./assets/first-interaction/inspector-1.png")} alt="inspector-1" />
<Image img={require("./assets/first-interaction/inspector-1.png")} alt="inspector-1" width={400} />

## Creating an option

Expand All @@ -106,7 +106,7 @@ tulip. To do this, click on the `+` button in the action bar, and add an `option
Then change the name of the entry to `inspect_flower`. Then change the text of the option to `What do you want
to do?`. After this the inspector should look like this:

<Image img={require("./assets/first-interaction/inspector-2.png")} alt="inspector-2" />
<Image img={require("./assets/first-interaction/inspector-2.png")} alt="inspector-2" width={400} />

### Adding a speaker

Expand All @@ -132,7 +132,7 @@ next to the options drop down to add a new option. Then change the text of the o
then add another option with the text `Touch the flower`. After this the inspector
should look like this:

<Image img={require("./assets/first-interaction/inspector-3.png")} alt="inspector-3" />
<Image img={require("./assets/first-interaction/inspector-3.png")} alt="inspector-3" width={400} />

## Connecting the entries

Expand Down Expand Up @@ -173,7 +173,7 @@ It is important that you use the specific trigger from the correct option. The f
global triggers.
:::

<Image img={require("./assets/first-interaction/inspector-4.png")} alt="inspector-4" />
<Image img={require("./assets/first-interaction/inspector-4.png")} alt="inspector-4" width={400} />

When you publish the changes in the game, it should look something like this:

Expand Down Expand Up @@ -201,7 +201,7 @@ To create a fact, head over to a static page such as `Flower Static`, click on t
of the entry to `smelled_flower`. We can add a comment describing the fact and how it is used. After this the
inspector should look like this:

<Image img={require("./assets/first-interaction/inspector-5.png")} alt="inspector-5" />
<Image img={require("./assets/first-interaction/inspector-5.png")} alt="inspector-5" width={400} />

#### Adding criteria to the dialogue

Expand All @@ -212,9 +212,8 @@ this fact when the dialogue gets triggered. To do this, click on the `+` button
down. Then select the `smelled_flower` fact, make the modification `=` and the value `1`. After this the
inspector should look like this:

<Image img={require("./assets/first-interaction/inspector-6.png")} alt="inspector-6" />
<Image img={require("./assets/first-interaction/inspector-6.png")} alt="inspector-6" width={400} />

Now we can create a new `spoken` dialogue entry that will be triggered when the player smells the flower for
subsequent times. Rename it to `smell_flower_second_time`, add the text `You smell the flower again. It still smells <blue><bold>fragrant</bold></blue>.`, select our `flower` speaker we created earlier, and finally specify a
duration of `1s` that the message will be animated. Connect it to the `inspect_flower` entry as a trigger for
the `smell the flower` option.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ We now need to decide on two locations. To more easily continue the guide later
around a red tulip. We then fill in `Path #1`'s location, and expand `Path #2` and add the location of that path.
Remember to add two different locations. You can see example paths in the screenshot below.

<Image img={require("./assets/first-cinematic/camera-paths-example.png")} alt="Example Camera Paths" />
<Image img={require("./assets/first-cinematic/camera-paths-example.png")} alt="Example Camera Paths" width={400} />

You should now have a functioning cinematic!
Let's `Publish` and check it out. Type `/tw cinematic start flower_cinematic` in chat, and
Expand Down

0 comments on commit 3fd7458

Please sign in to comment.