Learning Hugo

This is a discussion / support forum for the Hugo programming language by Kent Tessman. Hugo is a powerful programming language for making text games / interactive fiction with multimedia support.

Hugo download links: https://www.generalcoffee.com/hugo
Roody Yogurt's Hugo Blog: https://notdeadhugo.blogspot.com
The Hugor interpreter by RealNC: http://ifwiki.org/index.php/Hugor

Moderators: Ice Cream Jonsey, joltcountry

Misterman83

Learning Hugo

Post by Misterman83 »

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: 25270
Joined: Sat Apr 27, 2002 2:44 pm
Location: Colorado
Contact:

Post by Ice Cream Jonsey »

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 »

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

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

Post by Ice Cream Jonsey »

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 »

Yes! It's cenazoic on googlem.

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

Post by Roody_Yogurt »

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



"Cryptonomic" made a tutorial in HTML pages:


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):


(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: 2080
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Post by Roody_Yogurt »

I did some more work on the Hugo Notepad++ bundle. This version has buttons for starting new projects using Roodylib-optimized shells:


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

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

Post by Roody_Yogurt »

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: 2080
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Post by Roody_Yogurt »

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: 59
Joined: Mon Jun 28, 2004 4:45 pm
Location: Minneapolis, Minnesota

Post by Hugella »

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: 2080
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Post by Roody_Yogurt »

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: 59
Joined: Mon Jun 28, 2004 4:45 pm
Location: Minneapolis, Minnesota

Post by Hugella »

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: 2080
Joined: Mon Apr 29, 2002 6:23 pm
Location: Milwaukee

Post by Roody_Yogurt »

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