AndreasWintherMoen / learning-by-gaming

A computer science master thesis project at NTNU
https://learning-by-gaming.vercel.app
1 stars 0 forks source link

Reset function params on retry #115

Open haakonjacobsen opened 1 year ago

haakonjacobsen commented 1 year ago

When the user wants to retry a level, the params of the Sine function should be reset

AndreasWintherMoen commented 1 year ago

Reset to what it was at the beginning of the level? Or to initial values (amplitude and angular frequency to 1, and phase and vertical shift to 0)?

haakonjacobsen commented 1 year ago

Reset to what it was at the beginning of the level? Or to initial values (amplitude and angular frequency to 1, and phase and vertical shift to 0)?

To initial values I guess🤔