Is there any possible way to create an array or list of all the points that a sprite is touching?
I know you could do that with a gazillion one pixel points, but what would be a way to do it in one script?
Offline
mythbusteranimator wrote:
Is there any possible way to create an array or list of all the points that a sprite is touching?
I know you could do that with a gazillion one pixel points, but what would be a way to do it in one script?
How do you mean?
What's your situation?
Offline
I need to know how to add every single x/y position a sprite is touching into a list.
Offline
mythbusteranimator wrote:
I need to know how to add every single x/y position a sprite is touching into a list.
hmm do you mean all the points round the outside of the sprite and the x/y co-ordinates in the middle of the sprite?
Offline
Willpower wrote:
mythbusteranimator wrote:
I need to know how to add every single x/y position a sprite is touching into a list.
hmm do you mean all the points round the outside of the sprite and the x/y co-ordinates in the middle of the sprite?
Yes. I can do this with a cube or a cirle, but not an irregular shape.
Offline
ummm
when gf clicked delete [all v] of [X-position-holder v] delete [all v] of [Y-position-holder v] forever add (x position) to [X-position-holder v]//use an wait block to give the user time to move(new x&y value) add (y position) to [Y-position-holder v] endhope this is what you mean !
Offline
mythbusteranimator wrote:
Willpower wrote:
mythbusteranimator wrote:
I need to know how to add every single x/y position a sprite is touching into a list.
hmm do you mean all the points round the outside of the sprite and the x/y co-ordinates in the middle of the sprite?
Yes. I can do this with a cube or a cirle, but not an irregular shape.
i'm going to have a look at the blocks that are available but i am not optimistic
Offline
Willpower wrote:
mythbusteranimator wrote:
Willpower wrote:
hmm do you mean all the points round the outside of the sprite and the x/y co-ordinates in the middle of the sprite?
Yes. I can do this with a cube or a cirle, but not an irregular shape.
i'm going to have a look at the blocks that are available but i am not optimistic
Can't an person use another sprite and let it just move all over and when touching an certain colour it'll add the coordinates to the list ? thus giving the exact shape (whatever it is) out in it's x-y position values :?
ofc the if touching colour block must be used and colour changes to the shape etc ?
Offline
Zarule6 wrote:
Willpower wrote:
mythbusteranimator wrote:
Yes. I can do this with a cube or a cirle, but not an irregular shape.i'm going to have a look at the blocks that are available but i am not optimistic
Can't an person use another sprite and let it just move all over and when touching an certain colour it'll add the coordinates to the list ? thus giving the exact shape (whatever it is) out in it's x-y position values :?
ofc the if touching colour block must be used and colour changes to the shape etc ?
This is all meant for one sprite.
@willpower, I don't have anything yet; just for future refrence.
If we did find a way, it would change 1s1s games FOREVAH
Offline
Willpower wrote:
Nope, i can't find anything that would help you with the blocks we have in 1.4, sorry
I understand.
Offline