Animations

Geyser is an object oriented framework for creating, updating and organizing GUI elements within Mudlet.
Post Reply
User avatar
Vadi
Posts: 4641
Joined: Sat Mar 14, 2009 3:13 pm

Animations

Post by Vadi » Wed Mar 17, 2010 5:31 pm

I'm wondering if there's any interest in having Geyser support animations as well?

I sort of already started, see http://forums.mudlet.org/viewtopic.php? ... tion#p2707. Just a demo right now which I'll eventually turn into a moving gauge for my Lusternian Mudlet system, the demo shows several possible ways to do it - of which I think a permTimer that is enabled/disabled is best as that has the least CPU usage (other methods include chaining tempTimers or creating all tempTimers necessary, one for each frame, at start).

So, if animations are a go, that'd be a rather large topic and would definitely improve the quality of uis.

User avatar
Vadi
Posts: 4641
Joined: Sat Mar 14, 2009 3:13 pm

Re: Animations

Post by Vadi » Wed Mar 17, 2010 7:37 pm

I've also remembered that Qt 4.6 touted an animations framework: http://qt.nokia.com/doc/4.6-snapshot/qt ... -framework

Maybe that could be evaluated, but that'd require Lua bindings for those functions.

Nebeu
Posts: 1
Joined: Wed Oct 15, 2014 7:33 am

Re: Animations

Post by Nebeu » Wed Apr 08, 2015 9:22 pm

I'm intrigued. How would I go about writing Lua bindings for this? And would it require I build Mudlet myself or is it something I can manage without. I think it goes without saying I'm fairly new to this, but I'd really enjoy something more to work on/learn.

User avatar
Vadi
Posts: 4641
Joined: Sat Mar 14, 2009 3:13 pm

Re: Animations

Post by Vadi » Sat Apr 25, 2015 8:48 pm

We're on Qt5 now which has QML - it's a big effort though to architecturally fit it within Mudlet and a QWidgets-based app. Would be a fun thing to do though and if you succeed, Mudlet would really benefit.

User avatar
SlySven
Posts: 903
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: Animations

Post by SlySven » Sun Apr 26, 2015 9:17 pm

Isn't the QT QTimeLine Class something which might have some use here - I recall finding it in passing and wondering whether it could be utilised in a new "Replay" engine that could be wound back, paused or looped for script testing amongst other things...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest