Millisecond Forums

Picture Animation

https://www.millisecond.com/forums/Topic31929.aspx

By empra-uulm - 7/9/2021

Hi,

we've programmed a running working memory task and are struggling with an animation. Please see this video and the code:

Video: https://streamable.com/czye86
Code: https://pastebin.com/rrBHK7H9

The monsters are always supposed to disappear *behind* the mound but in the first trial, the animation is executed in front of the mound.
Can you please help us fix this?

Best
Luc

By Dave - 7/9/2021

empra-uulm - 7/9/2021
Hi,

we've programmed a running working memory task and are struggling with an animation. Please see this video and the code:

Video: https://streamable.com/czye86
Code: https://pastebin.com/rrBHK7H9

The monsters are always supposed to disappear *behind* the mound but in the first trial, the animation is executed in front of the mound.
Can you please help us fix this?

Best
Luc


The code is not useful without the files it requires to run. If you have code to share that requires external files such as images, please always provide those.
By empra-uulm - 7/9/2021

Sorry!
https://www.dropbox.com/sh/v5ldigxvemxuju8/AADgnNR91cP5WCNOuPR4Lt4Sa?dl=0
By Dave - 7/9/2021


Thanks for the files. The attached revision should do the trick.
By empra-uulm - 7/12/2021

Brilliant, thank you!