hitbox and hurtboxs
-
I want a way to edit how other sprites interact. I’m trying to make a circle sprite, but I run into the issue of trying to make other sprites only count touching if they touch the ring. I don’t want them to touch a blank spot.
Also, day 2 requesting a document with a way to see all the features that were added from users and progress.
-
I want a way to edit how other sprites interact. I’m trying to make a circle sprite, but I run into the issue of trying to make other sprites only count touching if they touch the ring. I don’t want them to touch a blank spot.
Also, day 2 requesting a document with a way to see all the features that were added from users and progress.
Are you saying you do not want to count as touching a sprite if that sprite is a ring and your sprite is inside that ring?
-
Are you saying you do not want to count as touching a sprite if that sprite is a ring and your sprite is inside that ring?
@info-creaticode im saying i want to be able define were the sensing block can interact also i want be able want the senseing block to only count were it touch a non transparent part of sprite only one opaque part
-
@info-creaticode im saying i want to be able define were the sensing block can interact also i want be able want the senseing block to only count were it touch a non transparent part of sprite only one opaque part
Can you create a simple example project? With just 2 sprites, and illustrates where the issue is: like the sensing block (which block you are using?) is reporting it is touching the other sprite though you do not want it to do so.
-
Can you create a simple example project? With just 2 sprites, and illustrates where the issue is: like the sensing block (which block you are using?) is reporting it is touching the other sprite though you do not want it to do so.
@info-creaticode press the flag https://play.creaticode.com/projects/696fc7e4f11495ad2e200591
password 123 -
@info-creaticode press the flag https://play.creaticode.com/projects/696fc7e4f11495ad2e200591
password 123If you set the ring to have transparent filling, then it will say touching is false, right?

If you must have the white color filling the ring, then you can work around it a few ways:
- Use touching color with the ring color instead of touchign sprite
- Besides checking for touching, also calculate distance between the dog and the ring, and if the distance is very small, it means the dog is inside the ring.
- Use 2 ring sprites, one transparent and one filled, and they go together, and for touching test, use the ring that’s transparent.
-
If you set the ring to have transparent filling, then it will say touching is false, right?

If you must have the white color filling the ring, then you can work around it a few ways:
- Use touching color with the ring color instead of touchign sprite
- Besides checking for touching, also calculate distance between the dog and the ring, and if the distance is very small, it means the dog is inside the ring.
- Use 2 ring sprites, one transparent and one filled, and they go together, and for touching test, use the ring that’s transparent.
@info-creaticode thank you @dezznuts
-
If you set the ring to have transparent filling, then it will say touching is false, right?

If you must have the white color filling the ring, then you can work around it a few ways:
- Use touching color with the ring color instead of touchign sprite
- Besides checking for touching, also calculate distance between the dog and the ring, and if the distance is very small, it means the dog is inside the ring.
- Use 2 ring sprites, one transparent and one filled, and they go together, and for touching test, use the ring that’s transparent.
@info-creaticode @dezz-nuts If they’re saying they want the ring invisible, they can use the ghost function to make it invisible while still making the “touching sprite” function work.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login