Jump to content

Photo

Idea: Add Cassette Reel Animation to Cassette Emulation


15 replies to this topic

#1 Spanner OFFLINE  

Spanner

    Chopper Commander

  • 165 posts
  • Location:UK

Posted Sat Jan 13, 2018 6:25 AM

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

 

Like this...

 

tape.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, Sat Jan 13, 2018 6:31 AM.


#2 greblus OFFLINE  

greblus

    Moonsweeper

  • 268 posts

Posted Sat Jan 13, 2018 9:07 AM

I did such thing in AspeQt for Android:

 

https://github.com/g...ndroid/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.    


#3 baktra OFFLINE  

baktra

    Dragonstomper

  • 533 posts
  • Location:Czech republic

Posted Sun Jan 14, 2018 3:50 PM

 

I did such thing in AspeQt for Android:

 

https://github.com/g...ndroid/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.



#4 greblus OFFLINE  

greblus

    Moonsweeper

  • 268 posts

Posted Sun Jan 14, 2018 4:14 PM

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, Sun Jan 14, 2018 4:17 PM.


#5 DrVenkman ONLINE  

DrVenkman

    River Patroller

  • 3,555 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Sun Jan 14, 2018 4:51 PM

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?



#6 greblus OFFLINE  

greblus

    Moonsweeper

  • 268 posts

Posted Sun Jan 14, 2018 6:28 PM

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, Sun Jan 14, 2018 6:29 PM.


#7 _The Doctor__ ONLINE  

_The Doctor__

    Quadrunner

  • 5,580 posts
  • Location:10-0-11-00:02

Posted Mon Jan 15, 2018 6:43 PM

there are so many other things that need to be accomplished, I just don't know to say...



#8 ascrnet OFFLINE  

ascrnet

    Chopper Commander

  • 172 posts
  • Location:Santiago, Chile

Posted Fri Jan 19, 2018 6:15 PM

I had thought something similar to improve the appearance when loading a cassette.  :-D   

 

regards



#9 ascrnet OFFLINE  

ascrnet

    Chopper Commander

  • 172 posts
  • Location:Santiago, Chile

Posted Fri Jan 26, 2018 6:56 PM

ui_cass.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



#10 ascrnet OFFLINE  

ascrnet

    Chopper Commander

  • 172 posts
  • Location:Santiago, Chile

Posted Thu Nov 1, 2018 10:10 AM

finally a little time to finish the idea

 



#11 _The Doctor__ ONLINE  

_The Doctor__

    Quadrunner

  • 5,580 posts
  • Location:10-0-11-00:02

Posted Thu Nov 1, 2018 10:51 AM

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!



#12 DrVenkman ONLINE  

DrVenkman

    River Patroller

  • 3,555 posts
  • Back off, man! I'm a scientist.
  • Location:KMBT

Posted Thu Nov 1, 2018 11:40 AM

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?

#13 ascrnet OFFLINE  

ascrnet

    Chopper Commander

  • 172 posts
  • Location:Santiago, Chile

Posted Thu Nov 1, 2018 1:26 PM

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



#14 greblus OFFLINE  

greblus

    Moonsweeper

  • 268 posts

Posted Fri Nov 2, 2018 12:22 PM

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.



#15 _The Doctor__ ONLINE  

_The Doctor__

    Quadrunner

  • 5,580 posts
  • Location:10-0-11-00:02

Posted Fri Nov 2, 2018 12:42 PM

oh I think it says it all...



#16 greblus OFFLINE  

greblus

    Moonsweeper

  • 268 posts

Posted Fri Nov 2, 2018 1:22 PM

What can I say... Thanks man. You're great.





Reply to this topic



  


0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users