https://codepen.io/hopefulcodegirl/pen/vYXOxQG
I am having a problem with my code but I’m using a new laptop and I don’t have VS Code to help me figure it out yet, so I need some help please. When I press on the circle it shoots out a projectile but when I press it again it doesn’t shoot out another like it’s supposed to. Please help.
This is not answer to your question. But thought this link might be useful to you.
1 Like
Did you fix it? change “veloicty” to “velocity” it works.
Found a typo. Check below image.
Use browser developer tools for debugging your code. Check how I found the error.
2 Likes
bedward
December 10, 2020, 10:12am
4
Can you please tell me what is that for?
@bedward I thought codeofdreams is interested in game development using javascript. So I suggested that link. We can build 3d websites.
1 Like
bedward
December 10, 2020, 2:41pm
6
I was asking about that website, can you please explain to me is there something special about it or just a website showing some games?
2 Likes
Thank you so much! It works now. No wonder I was confused.
1 Like
bedward
December 11, 2020, 11:01am
9
Make sure to check the syntax first and typos!
2 Likes
bedward
December 11, 2020, 11:02am
10
Thank you very much for the valuable information
1 Like