Relative Content

Tag Archive for mit-scratch

In scratch how do I normalize Diagonal Movment

I am currently making a movement system in my scratch game and I want to make it so the movement is the same speed nomatter the direction. I am currently detecting when a key is pressed changing a varible then moving x on the x var and y on the y var. Then I slowly make the varible smaller to add a slow drift effect. With this current system I don’t know how to make it so it moves the same distance diagonally as it will say horizontally.

In scratch how do I normalize Diagonal Movment

I am currently making a movement system in my scratch game and I want to make it so the movement is the same speed nomatter the direction. I am currently detecting when a key is pressed changing a varible then moving x on the x var and y on the y var. Then I slowly make the varible smaller to add a slow drift effect. With this current system I don’t know how to make it so it moves the same distance diagonally as it will say horizontally.

Making a Platformer on Scratch

I’m trying to make a platformer game using Scratch, but I’m trying to come up with some ideas for features to add. What should I add? (P.S. I only have a week)

Scratch: Broadcast message spawning more and more clones each time, how to fix

So i have been doing some testing. My clone used a create clone method of making other clones which worked perfectly fine but was way too complicated, but then when i tried the broadcast way, instead sending a broadcast to a system, that system created way too many clones for no reason. I have tried sending the variable to the clone itself and I dont believe it is its fault because a variable only went up 1 time. (the other one going up multiple)