x position of enemy and y position of enemy maybe?
Offline
In the Sensing section of the blocks pallet, you will see a block that people just call the "sensing block". It right under the Timer blocks and just has two drop-down menus on it. The right one lets you look at the properties of any sprite in your project. The left one controls which property you will get. You can use this to look up the X and Y locations of your enemy and use them in other blocks.
But if your goal is to circle around an enemy, knowing it's X and Y position isn't going to help all that much...it's still going to take a lot of math (trigonometry) to figure out how to circle it. You will find it much simpler to have a sprite point towards the enemy, then turn a little less than 90 degrees and walk a bit, and keep repeating that type of motion. You can Hide the sprite while it's turning then Show it again when it is facing the right direction and it will look pretty good. Here is a sample
http://scratch.mit.edu/projects/Paddle2SeeFixIt/336913
Offline
thx paddle2see but i'm trying to make one that cannot use the point towards tool so i think the trig way is my only option? and id ont' really get how to use the trig way to do it so iwa s wondering if anyoen can like explain it to me or show me an example, but thank you though greatly appreciated!! ^^
Offline
Try this:
http://scratch.mit.edu/projects/Mayhem/336947
Offline
why dont you want to use a point towards? you canhave another sprit point towards it and hide that sprite. that way no one sees it and its nice and simple
Offline