Categories: Community member project
Related Articles
Responses
Cancel reply
You must be logged in to post a comment.
You must be logged in to post a comment.
There was a problem reporting this post.
Please confirm you want to block this member.
You will no longer be able to:
Please note: This action will also remove this member from your connections and send a report to the site admin. Please allow a few minutes for this process to complete.
nice.
Thanks
nice.
Thanks
Wonderful
Thanks
Good effort. I see your dino jumps all the time, and the light sensor does not update very often – so I think you have a long delay of 0.5 to 1 seconds in your main loop during which time the Cube does essentially nothing and missed the passing cacti. So you’ve probably set your light sensor reading low to compensate, and now your Dino jumps all the time.
So fix the delay to make your code detect cacti quicker, and fiddle with the light sensor reading to have the Cube jump by itself.
Good effort 👍
Thanks