Hugo Tips

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

Merk
Posts: 192
Joined: Mon Nov 22, 2004 3:19 pm
Location: Wichita, KS
Contact:

Hugo Tips

Post by Merk »

I'm thinking about starting a series of essays or articles dealing with Hugo development. I'm not really trying to write a tutorial -- more just a series of specific how-to articles. I'm thinking about starting with some pretty basic: searching the default library. When I first started out, and when I see other people with beginner Hugo questions... I think just knowing that most of Hugo's behavior is described in the libraries is a helpful thing to know. Giving examples on how to find it, change it (with "replace") and research how something work could be a benefit.

I'd also like to write one about adding windows/graphics, with maybe some tips on attaching graphics as a property of rooms or NPCs. I have a few ideas for future articles, assuming I actually get motivated enough to get rolling.

Can anybody suggest other topics? Maybe an article explaining the command-line compiler (I use .BAT files to compile and run, which worked well for me). Maybe an article on string manipulation, with some routines I've written for my games. Just anything that might make an interesting Hugo article, to give people specific tips about a specific aspect of Hugo. Ideas?

User avatar
pinback
Posts: 17927
Joined: Sat Apr 27, 2002 3:00 pm
Contact:

Post by pinback »

How to get past the mummy in ND.
When you need my help because I'm ruining everything, don't look at me.

Johnny
Posts: 36
Joined: Sat Oct 15, 2005 4:30 pm
Location: Humble, Texas

Post by Johnny »

You throw the skull from the new-age store at the t
Oh, you're screwing with me. Touche, Senor Pinback.
Anyway, sounds good, Merk. Sounds real good.

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

Post by Ice Cream Jonsey »

String manipulation would be fantatic. I remember having a bit of trouble with that in the beginning.

I could help out if you need any source code for graphics. I'm not able to make the source code to the last two games publically available, but I'd be happy to send them to you, Merk.

I don't think anyone has ever done it, but a routine to do a Level 9-style "FIND OBJECT"... "You go east... you go north..." routine would be great. My understanding is that Inform 7 includes this, which is why I thought of it.

And, as always, if you need some hosting for your articles, I'd be happy to put them up for you.
the dark and gritty...Ice Cream Jonsey!

Merk
Posts: 192
Joined: Mon Nov 22, 2004 3:19 pm
Location: Wichita, KS
Contact:

Post by Merk »

Right now, it's just an idea I've been tossing around. Sample code would be great for a graphics article. I've done quite a bit with a WIP, too, but it would be cool to see if you've got better ideas. :)

Hosting shouldn't be a problem. I have a dedicated server, and I'll be moving it to an even *better* server next week (The 4.3.0 server listed here):

http://www.servercentral.net/services/dedicated.php

Post Reply