Jump to content
Sign in to follow this  
Spanner

Idea: Add Cassette Reel Animation to Cassette Emulation

Recommended Posts

I was thinking,if it is possible to add cassette reel animation so it looks like a cassette is playing,

 

Like this...

 

post-40380-0-33055100-1515845862_thumb.jpg

 

This is from this website http://www.8bitkick.cc/playuef.html if you want to see it in action,I think it looks good,this is for the Acorn Electron,so you can load games on a real Electron.

 

Maybe add Pause and Rewind buttons too.

 

What you think would it be too hard to do..?

 

Thanks for a great app,I use this and AspeQt all the time.

Edited by Spanner

Share this post


Link to post
Share on other sites

I did such thing in AspeQt for Android:

 

https://github.com/greblus/aspeqt/blob/android/tape.gif

 

QMovie usage is quite straightfoward:

 

QMovie *movie = NULL;
...
movie = new QMovie(":images/tape.gif");
ui->tape_label->setMovie(movie);
ui->tape_label->setAlignment(Qt::AlignCenter);
movie->start();
movie->setPaused(true);
...
movie->setPaused(false); //starts the movie
W.
  • Like 1

Share this post


Link to post
Share on other sites

 

I did such thing in AspeQt for Android:

 

https://github.com/greblus/aspeqt/blob/android/tape.gif

 

QMovie usage is quite straightfoward:

 

QMovie *movie = NULL;
...
movie = new QMovie(":images/tape.gif");
ui->tape_label->setMovie(movie);
ui->tape_label->setAlignment(Qt::AlignCenter);
movie->start();
movie->setPaused(true);
...
movie->setPaused(false); //starts the movie
W.

 

 

Do the reels spin in the right direction? Seems like playback of side B.

Share this post


Link to post
Share on other sites

Hehe, good question :). I've to admit: sometimes I do not care for details that much (I'm a mechanical engineer working in a field where small mistakes don't kill people usually) and the animation was made originally by Michael Bozgounov, I only borrowed it, but i'll reverse it, eventually :)

 

Cheers,

W.

Edited by greblus
  • Like 1

Share this post


Link to post
Share on other sites

greblus, have you considered submitting the code to the RespeQt GitHub repository and making a pull request so JoeyZ can see and evaluate it, then add it to the project?

Share this post


Link to post
Share on other sites

Sure. I could try to come up with a pull request, but a nicer animation would be a good thing to start with, and it's not that simple eg. CA12 with animated tape and counter :) (it was my initial idea, but couldn't find anything suitable other than animated tape).

Edited by greblus

Share this post


Link to post
Share on other sites

post-11721-0-62342600-1517014391.png

I did a test of how it will look with the user greblus image, of course using an old version of the sources.

regards

Share this post


Link to post
Share on other sites

I do not care for details that much (I'm a mechanical engineer working in a field where small mistakes don't kill people usually)-greblus

 

oh my! that one goes into my permanent h*ly SH*t! repository!

Share this post


Link to post
Share on other sites

There have been a couple pull requests in Github in the last several months. Does anyone know if Joey is still actually maintaining the project and reviewing requests?

Share this post


Link to post
Share on other sites

I made two changes and they are already uploaded to the repository waiting for approval. I guess Joey has been a bit busy :)

Share this post


Link to post
Share on other sites

I do not care for details that much (I'm a mechanical engineer working in a field where small mistakes don't kill people usually)-greblus

 

oh my! that one goes into my permanent h*ly SH*t! repository!

 

And your point is?

 

W.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...