Animation?

Post a reply


This question is a means of preventing automated form submissions by spambots.
Smilies
:smile: :sad: :eek: :shock: :cool: :-x :razz: :oops: :evil: :twisted: :wink: :idea: :arrow: :neutral: :mrgreen:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Animation?

by RealNC » Sat Jun 15, 2013 7:38 am

I'll look into getting rid of that particular dependency.

by Roody_Yogurt » Fri Jun 14, 2013 11:52 am

Yeah, unfortunately, that did not help. Maybe puppies were not meant to play with video-enhanced Hugors!

by RealNC » Thu Jun 13, 2013 4:41 pm

Also try searching for "qtgstreamer" and "qt-gstreamer."

by Roody_Yogurt » Thu Jun 13, 2013 4:04 pm

RealNC wrote:Puppy Linux is omitting many libraries by default. It aims to be as small as possible, after all. On stuff like Ubuntu or openSUSE, you get those libraries with the system.
As you might have expected, my Puppy Linux installation complains about a missing "libQtGstreamer..." with the new build. I tried downloading several gstreamer plugins, but that didn't fix it.

Okay, I just saw the earlier post where you say these should be installed:
libqtgstreamerui-0.10-0
libqtgstreamerutils-0.10-0

Those did not show in my package installer thingy, but maybe I can install them by hand. I am not wise to the ways of Linux. I will look into this again later.

If you're wondering why I use a lightweight distribution like Puppy Linux, I only really play around with Linux on older computers, and I think Puppy Linux looks good and runs well. It's pretty good for the little things I usually ask of it.

by RealNC » Wed Jun 12, 2013 1:41 am

OK, new builds are up. Other than video, context menu actions added by the game with "addcontext" are now also supported.

(Linux)
http://foss.aegean.gr/~realnc/hugor/tes ... ux.tar.bz2

See the included "README.linux-bin" file for information on how to run this

For completeness, I've also uploaded Windows and Mac versions (although without video support):

(Windows)
http://foss.aegean.gr/~realnc/hugor/tes ... 12-w32.zip

(Intel Mac OS X 10.5 and newer)
http://foss.aegean.gr/~realnc/hugor/tes ... -intel.dmg

(PowerPC Mac OS X 10.5)
http://foss.aegean.gr/~realnc/hugor/tes ... 12-ppc.dmg

Summary of changes compared to the current 1.0 release:
- Support for game-specific start-up configuration files. The set of configuration options is not fully decided yet and thus isn't documented. For now, see:

http://www.joltcountry.com/phpBB2/viewtopic.php?t=8896

for more information.

- Fullscreen mode is now restored correctly between sessions.

- Video is now fully supported in the Linux version of Hugor. Consult the README for details about the GStreamer packages/plugins Hugor now depends on. When building from source, video support can be disabled with:

CONFIG+=disable-video

- The FMOD sound back-end has been removed. SDL is now the only supported sound back-end.

- Games that expect mouse input will no longer receive right-clicks (or left-clicks on left-handed mouse devices), since this is reserved for the context menu.

- If this version of Hugor is started for the first time, fullscreen mode will default to a 4:3 display ratio, as otherwise text lines can be extremely long on wide screen displays.

- Context menu entries set by the game are now supported and displayed in the context menu.

by RealNC » Wed Jun 12, 2013 1:20 am

Puppy Linux is omitting many libraries by default. It aims to be as small as possible, after all. On stuff like Ubuntu or openSUSE, you get those libraries with the system.

by Roody_Yogurt » Wed Jun 12, 2013 12:51 am

Conversely, I was kind of surprised when I installed Hugor on Puppy Linux and the Qt dependency ended up being a sizable download. Of course, the end product looked great, and maybe I don't get how dependencies work. Just the same, I can see your point.

Assuming you won't be able to trim down the video DLL requirements, maybe it'd still be worthwhile to additionally offer the 100 MB versions for the serious enthusiasts.

by RealNC » Wed Jun 12, 2013 12:24 am

Currently, Windows support would mean you have to install a 100MB runtime. Hugor is Linux-centric; for it to work on Windows and Mac, it needs to bring the Linux DLLs with it. And the 10MB Hugor.exe is already pushing it as it is, since it already includes a lot of stuff. In comparison, the Linux executable is barely 1MB big.

I'll need to find a way to trim the video DLL requirements down. I can't imagine people wanting to download a 100MB Hugo interpreter.

by Roody_Yogurt » Tue Jun 11, 2013 11:22 pm

With the official Windows interpreter, if you close it while a movie is playing, it hangs in a spectacularly ugly fashion. Assuming that Hugor doesn't do that, it'll be a definite step up. I hope the Windows version works out.

by RealNC » Tue Jun 11, 2013 11:08 pm

No problem.

I'll upload a new build shortly. I'll also post it on int-fiction.org, so anyone who's interested over there can give it a few test runs.

by Ice Cream Jonsey » Tue Jun 11, 2013 10:22 pm

Realnc,

So, I was going to convert my upstairs computer to an Ubuntu one. I haven't done that yet.

So, I got a linode machine and I was going to use that to test it. I can't get a GUI installed.

So, I am back to clearing off the upstairs computer. But I will do this and give it a shot. Thanks for that build and I apologize for leaving you hanging for this long.

by Frommomsbasement » Thu Jun 06, 2013 6:33 pm

RealNC wrote:Here's the Linux build:

http://foss.aegean.gr/~realnc/hugor/tes ... ux.tar.bz2

Make sure the needed libraries are installed. On Ubuntu (I've tested on 13.04), these packages should be installed:

libsdl1.2debian
libqtgstreamerui-0.10-0
libqtgstreamerutils-0.10-0
gstreamer0.10-ffmpeg

If it doesn't run at all, start it from a terminal and see what error message you're getting there. That should tell us what libraries you're missing.

If everything is well, then you should hopefully get something that resembles this when running Future Boy:

Image
Wow, that's some cool work.

by RealNC » Mon Jun 03, 2013 5:54 pm

In the previous build, there was a bug with videos being stretched to fill their entire area. I've uploaded a new build that fixes this. Videos now show in their original aspect ratio:

http://foss.aegean.gr/~realnc/hugor/tes ... ux.tar.bz2

by RealNC » Sun Jun 02, 2013 11:08 am

Here's the Linux build:

http://foss.aegean.gr/~realnc/hugor/tes ... ux.tar.bz2

Make sure the needed libraries are installed. On Ubuntu (I've tested on 13.04), these packages should be installed:

libsdl1.2debian
libqtgstreamerui-0.10-0
libqtgstreamerutils-0.10-0
gstreamer0.10-ffmpeg

If it doesn't run at all, start it from a terminal and see what error message you're getting there. That should tell us what libraries you're missing.

If everything is well, then you should hopefully get something that resembles this when running Future Boy:

Image

by RealNC » Sun Jun 02, 2013 8:25 am

I'll try and get a Linux executable up soon.

by Ice Cream Jonsey » Sat Jun 01, 2013 8:09 pm

RealNC wrote:In Hugor on the other hand I'm using GStreamer. It's actually fully working in Linux already, but I need to figure out how GStreamer interacts with Windows.
Would you like me to test this? I have been itching for a reason to make Linux the main operating system on my home computer. This might push me over.

by Ice Cream Jonsey » Sat Jun 01, 2013 8:08 pm

Roody_Yogurt wrote:(Personally, I do have a video-enhanced game idea, too, but I've been hiding behind the fact that video support was not completely there that I have not put a ton of thought into it.)
Agreed. And I would love to get to a place where the best Hugo interpreter does video, because it means that I could do a FMV game with a text parser, especially since storage requirements are not as terrible as they used to be.

by Gif Master » Sat Jun 01, 2013 8:04 pm

RealNC wrote:
Gif Master wrote:WE GETTEN GIFS?!??!!?
No. Video. MPEG and stuff. GIF support will have to wait for Kent to find some free time and officially add it to the engine.
Image

by RealNC » Sat Jun 01, 2013 1:08 pm

Roody_Yogurt wrote:Heh, I also thought that maybe you two had a deal where GIF could be back on the table once video was supported.
Nah, there's no secret Cabal or anything. Kent basically said in his reply that he has quite a few enhancements for Hugo in his TODO list but needs to find the time for it. And he agrees that support for animated images is very useful, so I suppose we will see it included in the language. And if I were to shoehorn-in GIF support in Hugor, it wouldn't work as nicely as it would with full compiler and language support anyway (for example there would be no way to stop or pause the animation, or set a loop flag.)
Whether or not you particularly get the AVI support working, I'll be curious to hear about what you find out about its support. When testing various kinds of AVI files in Hugo myself, I was unable to figure out what determines whether something will work; lots of files I tested did not.
The official terp uses DirectShow, so I'd think it supports everything as long as you have a codec installed for it. I've no idea why some files wouldn't work though if you do have a codec for it (if it plays in Windows Media Player, it should also play in hewin.exe).

In Hugor on the other hand I'm using GStreamer. It's actually fully working in Linux already, but I need to figure out how GStreamer interacts with Windows. I didn't get it to work there yet, and neither in OS X. In Linux it does play everything though. Even mp4 and MKV files with whatever video format happens to be in there. Maybe I'll actually need to find a way to remove support for formats that are not supposed to be put in Hugo resource files.

by Roody_Yogurt » Sat Jun 01, 2013 11:00 am

Heh, I also thought that maybe you two had a deal where GIF could be back on the table once video was supported. Still, it'll be cool to have Future Boy! working properly on those extra platforms. Judging by your past work, I'm very optimistic.

(Personally, I do have a video-enhanced game idea, too, but I've been hiding behind the fact that video support was not completely there that I have not put a ton of thought into it.)

Whether or not you particularly get the AVI support working, I'll be curious to hear about what you find out about its support. When testing various kinds of AVI files in Hugo myself, I was unable to figure out what determines whether something will work; lots of files I tested did not.

Top