Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Other Places/Methods to Receive Scripting Help (Updated)
- Tunde123
-
Scratcher
1000+ posts
Other Places/Methods to Receive Scripting Help (Updated)
PLEASE HELP ME IN THIS PROJECT. I AM NOT ABLE TO MAKE IT AN ONLINE MULTIPLAYER GAMEPlease make your own topic about your own project. Especially if you need help with it.
https://scratch.mit.edu/projects/651569634
- Tunde123
-
Scratcher
1000+ posts
Other Places/Methods to Receive Scripting Help (Updated)
lolPlease stay on topic.
- Im_very_sorry
-
Scratcher
1 post
Other Places/Methods to Receive Scripting Help (Updated)
¿Hola puedo trabajar aquí?
- NumberblocksfanTCF
-
Scratcher
48 posts
Other Places/Methods to Receive Scripting Help (Updated)
GUYS!!!!!!!!!!!! I REALLLY NEED HELP!
I AM TRYING TO MAKE A MATH GAME AND IM FAILING!!!!!!!!!!!!!!!!!!!!!!!!!!
THE BAD SCRIPT:
I AM TRYING TO MAKE A MATH GAME AND IM FAILING!!!!!!!!!!!!!!!!!!!!!!!!!!
THE BAD SCRIPT:
define math problem
set [answer v] to ((number :: variables) + (number2 :: variables))
set (number v) to (pick random (1) to (10)
set (number2 v) to (pick random (10) to (1)
if <(answer) = (answer :: variables)> then
say [Correct!]for (2) secs
math problem
else
say [Incorrect!] for (2) secs
math problem
Last edited by NumberblocksfanTCF (March 19, 2022 23:31:59)
- JAIKUMAR1
-
Scratcher
7 posts
Other Places/Methods to Receive Scripting Help (Updated)
GUYS!!!!!!!!!!!! I REALLLY NEED HELP!THIS PROJECT IS YOUR ANS
I AM TRYING TO MAKE A MATH GAME AND IM FAILING!!!!!!!!!!!!!!!!!!!!!!!!!!
THE BAD SCRIPT:define math problem
set [answer v] to ((number :: variables) + (number2 :: variables))
set (number v) to (pick random (1) to (10)
set (number2 v) to (pick random (10) to (1)
if <(answer) = (answer :: variables)> then
say [Correct!]for (2) secs
math problem
else
say [Incorrect!] for (2) secs
math problem
https://scratch.mit.edu/projects/662732622
- TraceyZhang
-
Scratcher
1 post
Other Places/Methods to Receive Scripting Help (Updated)
Edit: It's ok, I fixed it, but I'm not too sure about how to delete this, so I guess it will remain on discuss scratch until I learn how.
Last edited by TraceyZhang (April 22, 2022 12:29:03)
- dorne1
-
Scratcher
35 posts
Other Places/Methods to Receive Scripting Help (Updated)
Ca you help me make a 3d pen game that is very detailed
- Tunde123
-
Scratcher
1000+ posts
Other Places/Methods to Receive Scripting Help (Updated)
Ca you help me make a 3d pen game that is very detailedPlease go to the Collaborations forum if you want to create a project with someone.
- mendelz
-
Scratcher
5 posts
Other Places/Methods to Receive Scripting Help (Updated)
how do you get the Distance to a clown?
- Epsilon_3
-
Scratcher
500+ posts
Other Places/Methods to Receive Scripting Help (Updated)
Also please add this sticky, it contains a bit of useful scripts
- 3jkong
-
Scratcher
35 posts
Other Places/Methods to Receive Scripting Help (Updated)
CAN SOMEONE PLEASE HELP ME? i'M trying to make a platformer movement script but whenever i go into the upgrade shop and out he starts sinking
its here: https://scratch.mit.edu/projects/634164152/ please help me


its here: https://scratch.mit.edu/projects/634164152/ please help me



- Tunde123
-
Scratcher
1000+ posts
Other Places/Methods to Receive Scripting Help (Updated)
CAN SOMEONE PLEASE HELP ME? i'M trying to make a platformer movement script but whenever i go into the upgrade shop and out he starts sinkingPlease create a new topic if you need help with a script.
its here: https://scratch.mit.edu/projects/634164152/ please help me
- Ultra_Mixon
-
Scratcher
3 posts
Other Places/Methods to Receive Scripting Help (Updated)
If anyone is reading this and has experience with buggy cloning glitches, I need some help with my code.
So, I am currently working on a game based on the Kane Pixels version of the Backrooms. I've got the coding for the randomly generating walls (that replace each other so you can not use anything to trace your steps that easily, hehe), but there is one problem–A bug I would like to call the “Giant Wall Prison” glitch, though you can call it whatever you want. I have code set to create four duplicates of a sprite called “Walls” with so far 13 random walls (11 wall patterns and then some that add wall text, corpses, signs of Async being here before, etc. to the original 11 walls) and code to delete and replace them with the help of a variable. While the walls are likely being placed, deleted, and replaced successfully, the walls over time just make more than the set four duplicates or otherwise make seemingly impossible wall overlaps, where you can get stuck in an unsolvable prison maze consisting of at least 10 different walls, unlike the duplicates coded and the original Wall sprite being hidden at all times. Here is the link to the beta project: https://scratch.mit.edu/projects/678363037/
So, I am currently working on a game based on the Kane Pixels version of the Backrooms. I've got the coding for the randomly generating walls (that replace each other so you can not use anything to trace your steps that easily, hehe), but there is one problem–A bug I would like to call the “Giant Wall Prison” glitch, though you can call it whatever you want. I have code set to create four duplicates of a sprite called “Walls” with so far 13 random walls (11 wall patterns and then some that add wall text, corpses, signs of Async being here before, etc. to the original 11 walls) and code to delete and replace them with the help of a variable. While the walls are likely being placed, deleted, and replaced successfully, the walls over time just make more than the set four duplicates or otherwise make seemingly impossible wall overlaps, where you can get stuck in an unsolvable prison maze consisting of at least 10 different walls, unlike the duplicates coded and the original Wall sprite being hidden at all times. Here is the link to the beta project: https://scratch.mit.edu/projects/678363037/
- TinyWasBored
-
New Scratcher
11 posts
Other Places/Methods to Receive Scripting Help (Updated)
Hello. I dont know if im using this correctly. just recently learned about the forums. Im having trouble coding wall collision. My game is a shooter up top based game. https://scratch.mit.edu/projects/712486356 . cant find any way to do wall collision. i tried making a custom block. If you could help that would be great
- gryffindormaniac8
-
Scratcher
6 posts
Other Places/Methods to Receive Scripting Help (Updated)
Hi there,
I was making a project and was wondering about the key pressed block in sensing (i think).
I was trying to find a way to make it almost like a true/false kind of thing, so you could hold down space and something would happen, rather than clicking multiple times.
If anyone has any ideas on how to do this, it would be greatly appreciated!
Here is the block below:
I was making a project and was wondering about the key pressed block in sensing (i think).
I was trying to find a way to make it almost like a true/false kind of thing, so you could hold down space and something would happen, rather than clicking multiple times.
If anyone has any ideas on how to do this, it would be greatly appreciated!
Here is the block below:
<key [ v] pressed?>
Thanks!
- RT_Borg
-
Scratcher
1000+ posts
Other Places/Methods to Receive Scripting Help (Updated)
Hello. I dont know if im using this correctly. just recently learned about the forums. Im having trouble coding wall collision. My game is a shooter up top based game. https://scratch.mit.edu/projects/712486356 . cant find any way to do wall collision. i tried making a custom block. If you could help that would be great
Hi TinyWasBored, welcome to Scratch!
In the future, it's best to make a “New Topic”in Help with Scripts to ask your question.
But since I happened to spot your message, I'll answer here:
Try this instead:
// define with "Run Without Screen Refresh" checked on
define Move
change x by (Speed x)
change y by (Speed y)
if <touching [Wall v] ?> then
change x by ((0) - (Speed x)) // undo the moves
change y by ((0) - (Speed y))
set [Speed x v] to (0) // see note below
set [Speed y v] to (0)
end
when green flag clicked
forever
... // pointing and keyboard
set [Speed x v] to ((Speed x) * (0.8))
set [Speed x v] to ((Speed x) * (0.8))
Move::custom // This instead of the way your script ended
end
In the define, I set the speeds to 0 if touching the wall. This will cause the sprite to stop flat. You can get a little bit of a bouncy effect if you use
set [Speed x v] to ((0) - (Speed x)) // bouncier
set [Speed y v] to ((0) - (Speed y))
I hope this helps. I think most people who regularly help in this forum look for new posts they can help with (by their titles) so if you need more help on this or anything else, create a new topic.
– RT_Borg
- jfmpatrick
-
Scratcher
48 posts
Other Places/Methods to Receive Scripting Help (Updated)
I made a scrolling engine and got it to work, but it became extremely laggy, almost crashing my chromebook! I added a game loop and made all the custom blocks run without screen refresh, but it didn't fix the lag and now the level clones won't show. I have no idea what to do.
Last edited by jfmpatrick (Nov. 9, 2022 17:48:36)
- Discussion Forums
- » Help with Scripts
-
» Other Places/Methods to Receive Scripting Help (Updated)
Thanks