[ / / / / / / / / / ] [ dir / asmr / egy / fur / polk / pone ][Options][ watchlist ]

/agdg/ - Amateur Game Development General

AGDG - The Board

Catalog

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Name
Email
Subject
Comment *
File
Select/drop/paste files here
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

Welcome to AGDG, have you ever made a game?
See also: /ideaguy/ | /vm/

File (hide): 1456844398795.jpg (5.37 MB, 4320x2432, 135:76, IMG_20160301_095718517.jpg) (h) (u)

[–]

d4fc06 (1) No.25778[Watch Thread][Show All Posts]

Hey guys. I was on /v/ a while ago looking for help with my text-based slave game, Shackled. I decided to use Twine, and now I have an issue.

I'm trying to set it in Twine 1.4.2 so that each body part has a value, and with that value -which can rise and fall-, has a word of description attached to it.

However, whenever I try and recall the description word, it gives me only the biggest.

Pic related is my code with issues. I have a character with a $ThighSizeVal of 25, but then $ThighSize keeps printing as "huge", not "gapped". Help?

876132 (1) No.25784

Did you just upload a a photo of your screen taken with your phone?

Anyways, I don't use twine but it looks like your not used to programming, you're probably not using the syntax correctly. I doubt whatever language that is doesn't have a "less than" symbol and not using "elseif" is just bad practice.

As for debugging your code, a lot of the process is just printing out values and making sure they're in line with what you expect. You'll probably see what's going on if you print $ThighSizeVal inside each if statement.




[Return][Go to top][Catalog][Screencap][Update] ( Scroll to new posts) ( Auto) 5
1 replies | 0 images | 2 UIDs | Page ?
[Post a Reply]
[ / / / / / / / / / ] [ dir / asmr / egy / fur / polk / pone ][ watchlist ]