ScratchData LogoScratchData
Back to TheCoolDog's profile

way points AI

THTheCoolDog•Created January 3, 2013
way points AI
9
7
388 views
View on Scratch

Description

This is a edited version of my "way points test" project and is basically a fixed version that has been improved a lot. Move the green square with a black outline to set the end point then click the green flag. Please note that you can not place the end point on grey or brown areas otherwise it with go back to it's defualt position. Play in turbo mode if you want it to calculate the root faster. This bot uses black sprites and a red sprite to find out the available way points or if the target is reachable and then shoots dark red sprites from the available waypoints to calculate the distance to the target and to see what waypoint is the quickest. These sprites are basicly raycasts but are sprites because raycasting isn't a future in scratch(maybe it could be one in 2.0 ?). Please love & favorite it! -TheCoolDog- Note: If you find a point where the bot can't reach please tell me in the comments!

Project Details

Project ID3017572
CreatedJanuary 3, 2013
Last ModifiedJanuary 3, 2013
SharedJanuary 3, 2013
Visibilityvisible
CommentsAllowed