Delta Chapter behaving weirdly
Describe the bug A clear and concise description of what the bug is. in chapter 11 click on the dropdowns makes them move up and down very fast, and the exercises arent working properly To Reproduce Steps to reproduce the bug:
- Go to 'Chapter 11'
- Click on 'Drop down menus'
- Scroll down to '...'
- See error
Expected behavior drop down menu working normally
Screenshots
Information about your device (please complete the following information):
- Operating System: Windows
- Browser: [e.g. Chrome, Safari]
Additional context Add any other context about the problem here.
I don't know what you mean by dropdowns here. The code in your screenshot may not work as you expect. You rotate the sprite by 2 radians each frame, which is very fast. Then, after rotating, you multiply by delta, which does nothing in this case.
You need to multiply by delta inside parentheses for the multiplication to affect the rotation. The amount of the rotation is what you put in parentheses and give to the rotate() function.
You can see this mentioned in the error message at the bottom right.