Now you know about updating positions
, manipulation the DOM and using setInterval
, you can make an alien abduction scene 👽!
You will need to design a logic for the scene so that when we press the start scene button a spaceship will come from the sky to abduct a human! the final scene should look like something like this sample scene
I have provided some startup files with a nice assets from freepik.com
- Update the positions only using Javascript no CSS
- Don't forget to resize, display, hide to make the scene more realistic
- Animate using setIntervals
I provided some cool particles img so you can make an effect, add them to the scene using Javascript no HTML