A Basic Tutorial on Name, Relationship and Gender Variables

I’ve been working on a very basic tutorial to try and explain how you create and set name, gender, and a few things about relationships.

It may have errors. If it does please point them out and I’ll fix them. I’m not even sure if it makes sense so I’d appreciate input on that.

https://www.dropbox.com/s/vlhshjgo4psrv3t/tutorial.txt

You can copy and paste it into CJW’s amazing IDE https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/tools/IDE/main.html to see how it works.

I think next step is to explain other stats and the stat screen, but since this took me months to get around to finishing I don’t think it’s happening any time soon.

If anyone feels like taking the tutorial and improving on it, please do.

25 Likes

Wow- thanks! This is really cool :slight_smile:

1 Like

@Redgrave Thanks. Did it make sense? I realise I didn’t explain things quite so well near the end and why I did things. I forgot to mention that things are case sensitive, and why I used gosub instead of goto.

1 Like

This is super-helpful!!! Thank you! Makes it seem a lot easier than I thought it would be. :slight_smile:

@Jeantown Thank you! Any suggestions to improve it?

I reread it and can’t think of any suggestions. I thought the last part was clear. Clarifying about case sensitivity is probably a good idea; I’ve gotten myself into trouble with that.

I thought it was cool that you included an asexual option in the orientation part. Makes me think I should add that in my own game.

Awesome! If you happen to make any more of these, would you consider putting them in a subfolder inside your public one and providing me with the public urls?

That’d allow me to make the IDE able to load them. I can add a sort of ‘try out/look at some examples/tutorials’ by FGF option.
You can also continue to update them, as long as you don’t change their location in your dropbox, the updates would stay apparent :slight_smile:

The other reason is that it’s simply easier to copy and paste from a public link as it doesn’t use Dropbox’s annoying ‘preview view’ :confused:

Small Niggle: I’d personally always advise people to use parenthesis with *ifs, even simple ones that don’t strictly need it. I feel that it looks a lot tidier and makes it much easier to follow or spot within large blocks of code.

e.g.


*if gender="female"

would be

*if (gender = "female")

Thanks CJW. I’ll just get to making that subfolder.

I’ll also look to making those changes.

Okay subfolder made. My stuff’s

Basic Tutorial: https://dl.dropboxusercontent.com/u/154988802/chobox/tutorial.txt

I’ve also some other stuff I made up.
Random Name Generator:
https://dl.dropboxusercontent.com/u/154988802/chobox/namegenerator.txt
Rock Paper Scissors: https://dl.dropboxusercontent.com/u/154988802/chobox/rockpaperscissors.txt

I’ll need to run over all of those and tweak them, put up some comments on them, etc.

@CJW Thanks!

@Scelous The IDE’s great. If you can think of any more features it needs go over to the thread and suggest some. http://www.choiceofgames.com/forum/discussion/2796/tool-choicescript-development-environment

@Marajade The sad part is I couldn’t read something like this when I was starting to learn choicescript. :slight_smile: I just put in a bunch of stuff that I really wanted to know.

@Havestone XD good one for us spanish good and god are same due we dont use doble vowels , and you can’t deny he is a good doing god explanations :wink:

@FairyGodfeather
Great stuff!

So now we can do things like:
https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/tools/IDE/main.html?url=https://dl.dropboxusercontent.com/u/154988802/chobox/tutorial.txt&autorun=true

Of course, you can shorten the URLs with your favourite shortener.

I won’t add anything into this version of the IDE, but in the big update I’m planning something along the lines of a list of loadable tutorials. The great thing about doing it this way is that people can load your code (but not edit it, unless they ‘make their own copy’). Also if you want to update your tutorials, you don’t have to tell me, as long as their location stays the same, the links will embody the updates.

Use the *title command if you’re not happy with the tab heading, if that’s not present it goes off the file name - only if your code is run though - so hmm, maybe changing the file name is better… Eh, who knows? :stuck_out_tongue:

Thanks for the tutorial, and thanks for showing me CJW’s IDE. ChoiceScript has been in dire need of a decent UI, and that IDE helps out.

Good tutorial @FairyGodfeather The sad part is i couldnt read it last year when i was struggling with code, but could be great for new people. You are really god explaining things im just terrible explaining myself. Well done =D>

“You are really god explaining things”

It was there in the name all along!

1 Like

Oh no, that’s sacrilegious. It’s Godfeather, a completely different kettle of fish, or pigeons as the case may be. Please don’t put pigeons in kettles. The name’s a play on the Goodfeathers, from the Animaniacs, so the god/good is all the same, although I’d never proclaim to be either. And to think I was considering changing my name to the Fairy Modfeather. :slight_smile:

1 Like

lol please don’t :stuck_out_tongue:

lol i could call you cute birdie Who is my cute birdie? >:D<

Hahhaaa. ~:> >:D<

Dear @FairyGodfeather ,

Thank you and hope you have a wonderful day.

Love,

Everyone.

ho do you use stats In a more simplified term than the choice of games website