Real-Time Pause?

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:

Real-Time Pause?

Post by Merk »

Is there any way to do a real-time pause? Maybe I'm overlooking something, but I'd like to be able to pause the program for maybe a quarter-second. Any suggestions?

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

Post by pinback »

Run it on Windows.
When you need my help because I'm ruining everything, don't look at me.

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

Post by Merk »

I am. But as far as I can tell, there are no platform-specific commands in Hugo. I guess if it can't be done, it's not a big deal. Just curious.

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

Post by Merk »

Oh. Funny.

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

Post by pinback »

a/s/l?
When you need my help because I'm ruining everything, don't look at me.

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

Post by Roody_Yogurt »

I would think that there'd be something in the Hugo port of Tetris that'd be useful, but I really don't know much about any of this.

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

Post by Merk »

Ah ha! You are right!

Code: Select all

system(PAUSE_100TH_SECOND)
I overlooked this in the manual, I guess. I'm going to try it out now!

(edit)
Success!

Post Reply