I need help with scratch coding cause it's driving me insane
Page: 1
Yesterday at 22:02:53
i'm trying to add collision to my top down pseudo 3d maze but it glitches at every attempt, can you figure this one out?(i used turbowarp so you'll have to remove the fencing)
if you actually manage to figure it out, please write the code or send an image of it, thanks for listening.
here's the sb3 file :
https://dmm0use-team.itch.io/maze-code
(it's a private link, so the password is SCRATCH)
and before you say "you could have sent this on the scratch forum", i tried to, but i got a quick reminder that scratch's moderation is broken, that's why i'm sending it here
if you actually manage to figure it out, please write the code or send an image of it, thanks for listening.
here's the sb3 file :
https://dmm0use-team.itch.io/maze-code
(it's a private link, so the password is SCRATCH)
and before you say "you could have sent this on the scratch forum", i tried to, but i got a quick reminder that scratch's moderation is broken, that's why i'm sending it here
Today at 19:00:33
whenever I make collisions I just do this inside the sprite's main forever loop:
__________________________________________
|If (sprite) touching (wall sprite) then |
|
|move -5 steps |
____________|
It makes it kinda stutter but it usually works (if the character moves really fast then bump up the -5 to -10 or -15
__________________________________________
|If (sprite) touching (wall sprite) then |
|
|move -5 steps |
____________|
It makes it kinda stutter but it usually works (if the character moves really fast then bump up the -5 to -10 or -15
Page: 1
10424 pts ★ Champion
5688 pts ★ Novice