first time text adventure
I started writing some code (based on my classmates' and chat gpt's assistance) because I wanted to make a small text adventure where the player would have to do something on each wall to get an item to use on another wall to get another item, and so on until you basically get a door open. However, it doesn't let the player choose which wall they are watching; for example, when you inspect one of them, you can get the first item just fine, but then it will say "hey, now that you have the first item, do you want to solve the second puzzle wall with it?" without the player even seeing the second wall first. I have generally no idea what I'm doing. 😭 😅
8 Replies
$code
To post C# code type the following:
```cs
// code here
```
Get an example by typing
$codegif
in chat
For longer snippets, use: https://paste.mod.gg/Us the debugger
It'll let you follow how the code gets executed and get an idea what's going on
(it didnt want me to use the ` ``cs thingy )
then read the rest of the message
🤦 im dumb fr
https://paste.mod.gg/nnpjipluclzj/0
like this?
BlazeBin - nnpjipluclzj
A tool for sharing your source code with the world!