Learning Hugo

Hugo programming discussion. http://www.generalcoffee.com/hugo
Hugo By Example: http://hugo.gerynarsabode.org/index.php?title=Main_Page
Roody Yogurt's Hugo Blog: http://notdeadhugo.blogspot.com

Moderators: Ice Cream Jonsey, AArdvark, Kent

Post Reply
Misterman83

Learning Hugo

Post by Misterman83 » Sat Jan 10, 2015 1:33 am

Hello. I have programmed in TADS 2 for 3 years, and I have recently become interested in learning Hugo. Are there any tutorials (something like the Inform beginner's Guide or Mark Engelberg's TADS Tutorial). If not, what would be the best way of learning Hugo (other than reading the manual).

User avatar
Ice Cream Jonsey
Posts: 20876
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey » Tue Jan 13, 2015 10:45 am

This might help -

http://www.firthworks.com/roger/cloak/hugo/

Cloak of Darkness is a game that has been translated to many different languages. It might help you see how Hugo differs from some other IF languages!

I still use it everyday and think it's the best thing going in the galaxy.
the dark and gritty...Ice Cream Jonsey!

Hugella2

Post by Hugella2 » Wed Jan 14, 2015 10:48 am

I'd also check out Roody's Not Dead Hugo blog and the Hugo by Examplewiki.

User avatar
Ice Cream Jonsey
Posts: 20876
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey » Wed Jan 14, 2015 1:20 pm

Hey there! Do you want me to reset the email address for your JC account, Hugella?
the dark and gritty...Ice Cream Jonsey!

hugella2

Post by hugella2 » Thu Jan 15, 2015 9:46 am

Yes! It's cenazoic on googlem.

Roody_Yogurt
Posts: 1993
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Post by Roody_Yogurt » Thu Jan 29, 2015 4:19 pm

Here's a list of all of the tutorials I know of:

Robert Byrd made a 2-part tutorial which I have put up on Google Docs:
https://docs.google.com/document/d/196w ... sp=sharing
https://docs.google.com/document/d/1Z1X ... sp=sharing
https://drive.google.com/file/d/0B_4ZXs ... sp=sharing
https://drive.google.com/file/d/0B_4ZXs ... sp=sharing

"Cryptonomic" made a tutorial in HTML pages:
https://drive.google.com/file/d/0B_4ZXs ... sp=sharing

And Gilles Duchesne made a tutorial for writing a full game called "Scavenger Hunt":
http://ifarchive.org/if-archive/program ... ntFull.zip


If you're using Windows, I just recently finished putting together a version of Notepad++ with Hugo compiler, syntax, and library stuff already set up (it has the latest, not-yet-released version of Roodylib, too):
https://drive.google.com/file/d/0B_4ZXs ... sp=sharing

(note that if you already have notepad++ installed, it might not work since it uses the standalone settings)

I've tested it on a couple different computers and it works fine for me so far, but I imagine people might have some opinions on stuff. Between that and adding just a bit of documentation, I'll upload an official version when it's ready.

Lastly, there are the places where you can look at example code:
http://ifarchive.org/indexes/if-archive ... mples.html
(sample.hug is especially nice since it uses a great range of Hugo's features)
http://ifarchive.org/indexes/if-archive ... Xhugo.html
http://hugo.gerynarsabode.org/index.php ... mple_Games

Anyhow, sorry it took me so long to notice any posts over here. I'll try to keep an eye on this place.

Roody_Yogurt
Posts: 1993
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Post by Roody_Yogurt » Mon Feb 02, 2015 4:11 pm

I did some more work on the Hugo Notepad++ bundle. This version has buttons for starting new projects using Roodylib-optimized shells:
https://drive.google.com/file/d/0B_4ZXs ... sp=sharing

Check out the "hugo readme.txt" file in the main directory for an overview of stuff.

Roody_Yogurt
Posts: 1993
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Post by Roody_Yogurt » Thu Feb 05, 2015 3:41 pm

I added the Hugo tutorials and some example source code to the Hugo Notepad++ bundle, and I've found where to update Google Drive files so the share URL should be the same here on out: http://goo.gl/eEtN39

Jizaboz said he's going to see how well he can get it working under WINE.

Roody_Yogurt
Posts: 1993
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Post by Roody_Yogurt » Sat May 23, 2015 5:29 pm

Just letting everybody know that I have officially released Roodylib 4.0. It can be downloaded here.

Hugo Notepad++ (link in previous post) also got an update, so download that again for all of the latest and greatest.

Hugella
Posts: 58
Joined: Mon Jun 28, 2004 4:45 pm
Location: Minneapolis, Minnesota

Post by Hugella » Thu May 28, 2015 2:06 pm

I'm not sure if this is kosher, but the Jeff Nyman tutorials are a pain to get to and then read, so I've created a rough PDF of all 3 crafting articles + the 'Hugo Tools' article.

Okay to post this?

Roody_Yogurt
Posts: 1993
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Post by Roody_Yogurt » Thu May 28, 2015 2:13 pm

That seems fine to me. I actually also included those as .html files in the "hugo tutorials" folder of the hugo notepad++ zip. Maybe I'll replace it with your pdf!

Hugella
Posts: 58
Joined: Mon Jun 28, 2004 4:45 pm
Location: Minneapolis, Minnesota

Post by Hugella » Thu May 28, 2015 2:19 pm

Cool - it's here: https://drive.google.com/file/d/0B-wcQO ... sp=sharing

I gave it a quick glance and the main offender seems to be a missing ObjectTree.gif (also missing on WBM) in part I. Please feel free to let me know if there's any other mistakes/terrible formatting.

Roody_Yogurt
Posts: 1993
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Post by Roody_Yogurt » Sun Oct 25, 2015 9:31 pm

Just bumping this thread to mention that Roodylib 4.1.1 is out, and with it comes a new Notepad++ bundle!

Roodylib 4.1.1 - https://goo.gl/0s67c4

Hugo + Notepad++ bundle - https://goo.gl/eEtN39

Post Reply