The CollidedWithOther block isn't filled because I am still searching for a block that runs through all of my sprites in a game and detects if it has this image
I will greatly appreciate any tips/help Thank you.
If you pull in a Sprite Collided event block and change it to a Generic block, you will have access to both Sprites that were involved in any collision.
You could then use the Any Sprite's Picture (Image?) block to get access to each of the 2 Sprites' pictures, and compare each to your desired picture.
Im a bit confused, Could you explain it a bit more? Thanks (I have many sprites btw and the collision with a sprite is random but that is in another block)
No, there is just going to be 1 sprite moving, but many sprites it could collide with. My problem is that I need it to detect the picture that the 1 sprite is going to be colliding with.
Once the screen initializes the little sprite spawns on the purple block. You click the blocks to become tiles. The little sprite can now (randomly) walk on the tiles
in this case, there is no need to detect collision.(also the app inventor collision detect is not so accurate).
you need a list to remember the state of all the tile/block. before moving, check in the list if the destination is reachable.
I made sure of that at the start by making each tile/block 50 by 50 pixels while basically touching each other, so when the empty tile becomes a filled tile it can be joined with other filled tiles (Good tip as the placement of the tiles can change the movement of the sprite)