Discuss Scratch
- WonderingWolf64
-
Scratcher
31 posts
Help with rpg hitboxes.
I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me. (BTW Thanks for everyone who is helping me)
Last edited by WonderingWolf64 (Oct. 6, 2025 20:20:29)
- plum_the_fox
-
Scratcher
1000+ posts
Help with rpg hitboxes.
I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.what i like to do is dupe the idle make it a vector art then draw a box that covers the sprite then i make it the first sprite then you do
when green flag clickedthen you put all your other sprite code (if on the green flag) but on to that but after the set rotation style, if not attached to the green flag and your broadcasting a gameloop then you would do
switch costume to [hitbox v]
set rotation style [no rotation v]
when green flag clickedso that way if you using a gameloop to broadcast the gameloop the game switches to your sprites and hides the hitbox (it's still there don't worry) then you make code for the hitbox.. anyways hope this helps ^w^
switch costume to [hitbox v]
set rotation style [no rotation v]
broadcast [gameloop v]
Last edited by plum_the_fox (Oct. 6, 2025 03:03:07)
- WonderingWolf64
-
Scratcher
31 posts
Help with rpg hitboxes.
Thank you, I will try it.I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.what i like to do is dupe the idle make it a vector art then draw a box that covers the sprite then i make it the first sprite then you dowhen green flag clickedthen you put all your other sprite code (if on the green flag) but on to that but after the set rotation style, if not attached to the green flag and your broadcasting a gameloop then you would do
switch costume to [hitbox v]
set rotation style [no rotation v]when green flag clickedso that way if you using a gameloop to broadcast the gameloop the game switches to your sprites and hides the hitbox (it's still there don't worry) then you make code for the hitbox.. anyways hope this helps ^w^
switch costume to [hitbox v]
set rotation style [no rotation v]
broadcast [gameloop v]
- plum_the_fox
-
Scratcher
1000+ posts
Help with rpg hitboxes.
okie ^w^.. did it work?Thank you, I will try it.I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.what i like to do is dupe the idle make it a vector art then draw a box that covers the sprite then i make it the first sprite then you dowhen green flag clickedthen you put all your other sprite code (if on the green flag) but on to that but after the set rotation style, if not attached to the green flag and your broadcasting a gameloop then you would do
switch costume to [hitbox v]
set rotation style [no rotation v]when green flag clickedso that way if you using a gameloop to broadcast the gameloop the game switches to your sprites and hides the hitbox (it's still there don't worry) then you make code for the hitbox.. anyways hope this helps ^w^
switch costume to [hitbox v]
set rotation style [no rotation v]
broadcast [gameloop v]
- Com_engineer_Tom
-
Scratcher
100+ posts
Help with rpg hitboxes.
I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.You could try this:
define player tick
switch costume to [hitbox v]
set rotation style [don't rotate v]
if <touching [rpg bullet v] ?> then
do whatever
end
switch costume to [player v]
set rotation style [all around v]
when green flag clicked
forever
player tick
end
Make sure to tick off the “run without screen refresh” box when you define the “player tick” block.
To create the hitbox, you can create a box that wraps around the player.
Done!
- Com_engineer_Tom
-
Scratcher
100+ posts
Help with rpg hitboxes.
made a more efficient way with one spriteokie ^w^.. did it work?Thank you, I will try it.I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.what i like to do is dupe the idle make it a vector art then draw a box that covers the sprite then i make it the first sprite then you dowhen green flag clickedthen you put all your other sprite code (if on the green flag) but on to that but after the set rotation style, if not attached to the green flag and your broadcasting a gameloop then you would do
switch costume to [hitbox v]
set rotation style [no rotation v]when green flag clickedso that way if you using a gameloop to broadcast the gameloop the game switches to your sprites and hides the hitbox (it's still there don't worry) then you make code for the hitbox.. anyways hope this helps ^w^
switch costume to [hitbox v]
set rotation style [no rotation v]
broadcast [gameloop v]
- plum_the_fox
-
Scratcher
1000+ posts
Help with rpg hitboxes.
oh ok thanks >w<made a more efficient way with one spriteokie ^w^.. did it work?Thank you, I will try it.I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.what i like to do is dupe the idle make it a vector art then draw a box that covers the sprite then i make it the first sprite then you dowhen green flag clickedthen you put all your other sprite code (if on the green flag) but on to that but after the set rotation style, if not attached to the green flag and your broadcasting a gameloop then you would do
switch costume to [hitbox v]
set rotation style [no rotation v]when green flag clickedso that way if you using a gameloop to broadcast the gameloop the game switches to your sprites and hides the hitbox (it's still there don't worry) then you make code for the hitbox.. anyways hope this helps ^w^
switch costume to [hitbox v]
set rotation style [no rotation v]
broadcast [gameloop v]
- WonderingWolf64
-
Scratcher
31 posts
Help with rpg hitboxes.
Okay, I got the code in, and I made the character stop being able to move when the hitboxes collide, but the problem now is, well, the character can't move. So please help. If you need me too I can share the project :3okie ^w^.. did it work?Thank you, I will try it.I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.what i like to do is dupe the idle make it a vector art then draw a box that covers the sprite then i make it the first sprite then you dowhen green flag clickedthen you put all your other sprite code (if on the green flag) but on to that but after the set rotation style, if not attached to the green flag and your broadcasting a gameloop then you would do
switch costume to [hitbox v]
set rotation style [no rotation v]when green flag clickedso that way if you using a gameloop to broadcast the gameloop the game switches to your sprites and hides the hitbox (it's still there don't worry) then you make code for the hitbox.. anyways hope this helps ^w^
switch costume to [hitbox v]
set rotation style [no rotation v]
broadcast [gameloop v]
Last edited by WonderingWolf64 (Oct. 6, 2025 17:26:17)
- Com_engineer_Tom
-
Scratcher
100+ posts
Help with rpg hitboxes.
Did you try my ideaOkay, I got the code in, and I made the character stop being able to move when the hitboxes collide, but the problem now is, well, the character can't move. So please help. If you need me too I can share the project :3okie ^w^.. did it work?Thank you, I will try it.I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.what i like to do is dupe the idle make it a vector art then draw a box that covers the sprite then i make it the first sprite then you dowhen green flag clickedthen you put all your other sprite code (if on the green flag) but on to that but after the set rotation style, if not attached to the green flag and your broadcasting a gameloop then you would do
switch costume to [hitbox v]
set rotation style [no rotation v]when green flag clickedso that way if you using a gameloop to broadcast the gameloop the game switches to your sprites and hides the hitbox (it's still there don't worry) then you make code for the hitbox.. anyways hope this helps ^w^
switch costume to [hitbox v]
set rotation style [no rotation v]
broadcast [gameloop v]
- plum_the_fox
-
Scratcher
1000+ posts
Help with rpg hitboxes.
wait who are you talking to? lolDid you try my ideaOkay, I got the code in, and I made the character stop being able to move when the hitboxes collide, but the problem now is, well, the character can't move. So please help. If you need me too I can share the project :3okie ^w^.. did it work?Thank you, I will try it.I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.what i like to do is dupe the idle make it a vector art then draw a box that covers the sprite then i make it the first sprite then you dowhen green flag clickedthen you put all your other sprite code (if on the green flag) but on to that but after the set rotation style, if not attached to the green flag and your broadcasting a gameloop then you would do
switch costume to [hitbox v]
set rotation style [no rotation v]when green flag clickedso that way if you using a gameloop to broadcast the gameloop the game switches to your sprites and hides the hitbox (it's still there don't worry) then you make code for the hitbox.. anyways hope this helps ^w^
switch costume to [hitbox v]
set rotation style [no rotation v]
broadcast [gameloop v]
- Com_engineer_Tom
-
Scratcher
100+ posts
Help with rpg hitboxes.
The gem looking personwait who are you talking to? lolDid you try my ideaOkay, I got the code in, and I made the character stop being able to move when the hitboxes collide, but the problem now is, well, the character can't move. So please help. If you need me too I can share the project :3okie ^w^.. did it work?Thank you, I will try it.I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.what i like to do is dupe the idle make it a vector art then draw a box that covers the sprite then i make it the first sprite then you dowhen green flag clickedthen you put all your other sprite code (if on the green flag) but on to that but after the set rotation style, if not attached to the green flag and your broadcasting a gameloop then you would do
switch costume to [hitbox v]
set rotation style [no rotation v]when green flag clickedso that way if you using a gameloop to broadcast the gameloop the game switches to your sprites and hides the hitbox (it's still there don't worry) then you make code for the hitbox.. anyways hope this helps ^w^
switch costume to [hitbox v]
set rotation style [no rotation v]
broadcast [gameloop v]
- Matthobro120
-
Scratcher
69 posts
Help with rpg hitboxes.
You could go check out griffpatch's pen based RPG collision tutorial on YouTube.
- plum_the_fox
-
Scratcher
1000+ posts
Help with rpg hitboxes.
oooooh ok ^w^The gem looking personwait who are you talking to? lolDid you try my ideaOkay, I got the code in, and I made the character stop being able to move when the hitboxes collide, but the problem now is, well, the character can't move. So please help. If you need me too I can share the project :3okie ^w^.. did it work?Thank you, I will try it.I am trying to make a scratch version of In Stars And Time, and I can't figure out hitboxes, I am using sprites and rooms from the wiki(not the fandom one, the gg one, if you know what I mean). Please help me.what i like to do is dupe the idle make it a vector art then draw a box that covers the sprite then i make it the first sprite then you dowhen green flag clickedthen you put all your other sprite code (if on the green flag) but on to that but after the set rotation style, if not attached to the green flag and your broadcasting a gameloop then you would do
switch costume to [hitbox v]
set rotation style [no rotation v]when green flag clickedso that way if you using a gameloop to broadcast the gameloop the game switches to your sprites and hides the hitbox (it's still there don't worry) then you make code for the hitbox.. anyways hope this helps ^w^
switch costume to [hitbox v]
set rotation style [no rotation v]
broadcast [gameloop v]
- WonderingWolf64
-
Scratcher
31 posts
Help with rpg hitboxes.
You could go check out griffpatch's pen based RPG collision tutorial on YouTube.ok, I'll try it

- WonderingWolf64
-
Scratcher
31 posts
Help with rpg hitboxes.
You could go check out griffpatch's pen based RPG collision tutorial on YouTube.can you link it? I can't seem to find it.
- plum_the_fox
-
Scratcher
1000+ posts
Help with rpg hitboxes.
https://www.youtube.com/watch?v=5lof-Nu1VVE&list=PLy4zsTUHwGJJM6OFblu_t-5I5Yw5SxvhTYou could go check out griffpatch's pen based RPG collision tutorial on YouTube.can you link it? I can't seem to find it.
and https://www.youtube.com/watch?v=dtMy3umcoEI (this one is health bars if you need em)
- WonderingWolf64
-
Scratcher
31 posts
Help with rpg hitboxes.
Ok thank you for the health bar but I already watched the RPG one for the movement, it does not include hitboxeshttps://www.youtube.com/watch?v=5lof-Nu1VVE&list=PLy4zsTUHwGJJM6OFblu_t-5I5Yw5SxvhTYou could go check out griffpatch's pen based RPG collision tutorial on YouTube.can you link it? I can't seem to find it.
and https://www.youtube.com/watch?v=dtMy3umcoEI (this one is health bars if you need em)

Last edited by WonderingWolf64 (Oct. 6, 2025 20:59:15)
- plum_the_fox
-
Scratcher
1000+ posts
Help with rpg hitboxes.
i thought it did.. hold onOk thank you for the health bar but I already watched the RPG one for the movement, it does not include hitboxeshttps://www.youtube.com/watch?v=5lof-Nu1VVE&list=PLy4zsTUHwGJJM6OFblu_t-5I5Yw5SxvhTYou could go check out griffpatch's pen based RPG collision tutorial on YouTube.can you link it? I can't seem to find it.
and https://www.youtube.com/watch?v=dtMy3umcoEI (this one is health bars if you need em)
i found this hitbox video: https://www.youtube.com/watch?v=LTtPP6pw_sc
and i found this hitbox video https://www.youtube.com/watch?v=Ge4RkZlMkak
and then there's this one: https://www.youtube.com/watch?v=ZvQ0Gv4I2Cc
as of now these are all i could find
- WonderingWolf64
-
Scratcher
31 posts
Help with rpg hitboxes.
Ok, thank you for your help! The one that's the most helpful is most likely the second one and I will let you know how it goes.i thought it did.. hold onOk thank you for the health bar but I already watched the RPG one for the movement, it does not include hitboxeshttps://www.youtube.com/watch?v=5lof-Nu1VVE&list=PLy4zsTUHwGJJM6OFblu_t-5I5Yw5SxvhTYou could go check out griffpatch's pen based RPG collision tutorial on YouTube.can you link it? I can't seem to find it.
and https://www.youtube.com/watch?v=dtMy3umcoEI (this one is health bars if you need em)
i found this hitbox video: https://www.youtube.com/watch?v=LTtPP6pw_sc
and i found this hitbox video https://www.youtube.com/watch?v=Ge4RkZlMkak
and then there's this one: https://www.youtube.com/watch?v=ZvQ0Gv4I2Cc
as of now these are all i could find
- plum_the_fox
-
Scratcher
1000+ posts
Help with rpg hitboxes.
okie ^w^Ok, thank you for your help! The one that's the most helpful is most likely the second one and I will let you know how it goes.i thought it did.. hold onOk thank you for the health bar but I already watched the RPG one for the movement, it does not include hitboxeshttps://www.youtube.com/watch?v=5lof-Nu1VVE&list=PLy4zsTUHwGJJM6OFblu_t-5I5Yw5SxvhTYou could go check out griffpatch's pen based RPG collision tutorial on YouTube.can you link it? I can't seem to find it.
and https://www.youtube.com/watch?v=dtMy3umcoEI (this one is health bars if you need em)
i found this hitbox video: https://www.youtube.com/watch?v=LTtPP6pw_sc
and i found this hitbox video https://www.youtube.com/watch?v=Ge4RkZlMkak
and then there's this one: https://www.youtube.com/watch?v=ZvQ0Gv4I2Cc
as of now these are all i could find