Discuss Scratch

haze_e
Scratcher
10 posts

We should make a extension that gives you blocks we might need!

When Stoped block:
when stop button clicked

URL Access block (what i mean is when you enter a url it will show it to you):
(URL = ())

PythonShell Block:
python-code ()

HTMLShell Block:
html-code ()

VR Access Block:
VR Access [Oculus Quest 3 v]

Last edited by haze_e (Oct. 28, 2023 06:31:34)

haze_e
Scratcher
10 posts

We should make a extension that gives you blocks we might need!

Scratch 3.0 update should add:

APIAccess Block:
accessapi (https://example.com/v1/doc/api)

Extension Creator Block:
create-extension define (EnterCode) 

BetterBlock Create (what i mean is that so we can make better blocks and stuff like that):
block-create [name] use [connect v]

Last edited by haze_e (Oct. 28, 2023 06:42:15)

haze_e
Scratcher
10 posts

We should make a extension that gives you blocks we might need!

Scratch News April Fools:

image of pug (use your mind)

This pug named “Mr. Pug DDoS” is hacking scratch! All of you scratcher need to save the day!

Last edited by haze_e (Oct. 28, 2023 06:45:55)

haze_e
Scratcher
10 posts

We should make a extension that gives you blocks we might need!

Example
example of a website in a scratch discuss form.

Last edited by haze_e (Oct. 28, 2023 06:53:45)

-Cubism007-
Scratcher
500+ posts

We should make a extension that gives you blocks we might need!

haze_e wrote:

Scratch News April Fools:

image of pug (use your mind)

This pug named “Mr. Pug DDoS” is hacking scratch! All of you scratcher need to save the day!
?????????????????????????????



Easter eggs are secrets, tricks, and jokes hidden in pieces of media, such as TV series, movies, video games, websites, and so on.
haze_e
Scratcher
10 posts

We should make a extension that gives you blocks we might need!

-Cubism007- wrote:

haze_e wrote:

Scratch News April Fools:

image of pug (use your mind)

This pug named “Mr. Pug DDoS” is hacking scratch! All of you scratcher need to save the day!
?????????????????????????????

-Cubism007- wrote:

haze_e wrote:

Scratch News April Fools:

image of pug (use your mind)

This pug named “Mr. Pug DDoS” is hacking scratch! All of you scratcher need to save the day!
?????????????????????????????

blud i have no idea what are talking about, how did you get those gif or emojis whatever it is, and also “Seja como for o que penses, creio que é melhor dizê-lo com boas palavras. ” means “Whatever you think, I think it's best to say it in good words.”
haze_e
Scratcher
10 posts

We should make a extension that gives you blocks we might need!

<!DOCTYPE html>
<html lang=“en”>

<head>
<meta charset=“UTF-8”>
<meta name=“viewport” content=“width=device-width, initial-scale=1.0”>
<title>PugChat</title>
<h1>PugChat</h1>
<p>Use this to send message by using a discord webhook</p>
<style>
/* Styles from styles.css */
body {
font-family: Arial, sans-serif;
background-color: #f3f3f3;
margin: 0;
padding: 0;
}

#chat {
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

input {
padding: 10px;
width: calc(100% - 82px);
margin-right: 10px;
border-radius: 5px;
border: 1px solid #ccc;
}

button {
background-color: #0084ff;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
}

button:hover {
background-color: #0056b3;
}

#messages div {
margin-bottom: 5px;
padding: 10px;
background-color: #f7f7f7;
border-radius: 5px;
border: 1px solid #ccc;
}

#messages div:nth-child(even) {
background-color: #e5e5e5;
}
</style>
</head>

<body>
<div id=“chat”>
<div id=“settings”>
<label for=“webhookUrl”>Webhook URL:</label>
<input type=“text” id=“webhookUrl” placeholder=“Enter Discord Webhook URL”>
</div>
<div id=“messages”></div>
<label for=“webhookUrl”>Type your message:</label>
<input type=“text” id=“messageInput” placeholder=“Type your message…”>
<button onclick=“sendMessage()”>Send</button>
</div>

<script>
function sendMessage() {
const webhookUrl = document.getElementById('webhookUrl').value;
const messageInput = document.getElementById('messageInput');
const message = messageInput.value;

if (webhookUrl.trim() !== ‘' && message.trim() !== ’') {
sendMessageToDiscord(webhookUrl, message);
displayMessage('You', message);
messageInput.value = ‘';
} else {
alert(’Please enter Webhook URL and Message.');
}
}

function sendMessageToDiscord(webhookUrl, message) {
const data = {
content: message
};

fetch(webhookUrl, {
method: ‘POST’,
headers: {
‘Content-Type’: ‘application/json’
},
body: JSON.stringify(data)
})
.then(response => console.log('Message sent to Discord:', response))
.catch(error => console.error('Error:', error));
}

function displayMessage(sender, message) {
const messagesContainer = document.getElementById('messages');
const messageDiv = document.createElement('div');
messageDiv.textContent = `${sender}: ${message}`;
messagesContainer.appendChild(messageDiv);
}
</script>
</body>

</html>
<script>
const express = require('express');
const fetch = require('node-fetch');
const app = express();
const PORT = 3000;

app.use(express.json());

app.post('/send-message', async (req, res) => {
const { webhookUrl, channelId, message } = req.body;
const url = `${webhookUrl}/${channelId}`;
const data = { content: message };

try {
const response = await fetch(url, {
method: ‘POST’,
headers: {
‘Content-Type’: ‘application/json’,
},
body: JSON.stringify(data),
});
const result = await response.json();
res.json(result);
} catch (error) {
console.error(error);
res.status(500).json({ error: ‘Internal Server Error’ });
}
});

app.listen(PORT, () => {
console.log(`Server is running on port ${PORT}`);
});
</script>

Last edited by haze_e (Oct. 28, 2023 16:26:03)

haze_e
Scratcher
10 posts

We should make a extension that gives you blocks we might need!

(excessively long unnecessary quote removed by moderator - please don't spam)

Last edited by spectre_specs (Oct. 28, 2023 17:26:28)

coolcode22
Scratcher
27 posts

We should make a extension that gives you blocks we might need!

set mouse cursor to (sprite) 
haze_e
Scratcher
10 posts

We should make a extension that gives you blocks we might need!

Roblox DDoS Attack Downloader
haze_e
Scratcher
10 posts

We should make a extension that gives you blocks we might need!

ChatGPT-4/Craiyon 3.0/DALL-E Image Generation Block:
GenerateImage (text) [ChatGPT-4 v] 
haze_e
Scratcher
10 posts

We should make a extension that gives you blocks we might need!

-Cubism007- wrote:

haze_e wrote:

Scratch News April Fools:

image of pug (use your mind)

This pug named “Mr. Pug DDoS” is hacking scratch! All of you scratcher need to save the day!
?????????????????????????????
Como você consegue aquele gif ou emoji que era como você com um emoji do Windows 10 e um emoji do Linux.
thedogcoder440
Scratcher
100+ posts

We should make a extension that gives you blocks we might need!

don't make a list of suggestions. Make separate topics
1.

TOLoRS wrote:

1.2 “When stop sign clicked” hat block
This block would allow users to click the stop sign to run a script. However, the stop sign is designed to stop all the scripts in the project. With this block in place, more scripts will start when you want the project to stop, thus defeating the purpose of the stop sign. Regardless, there are workarounds for this block using the timer or ghost effect blocks; these can be found in this post.

This suggestion extends to any block that causes a script to be run as a result of the stop sign being clicked, not just the specific hat block below. For more information, see this post.

2. for showing the URL could be:
add [the URL] to [URL v]
show list [URL v]

3. python + HTML blocks

TOLoRS wrote:

2.2 Text-based syntax in Scratch
Some users wish to code Scratch not with the blocks, but with typing code instead (similar to how more advanced programming languages work). Others are interested in an option to view, convert, or download Scratch code to other programming languages. However, the Scratch Team has discussed this possibility multiple times and has decided every time that it would not be beneficial for beginners or teachers.

This suggestion extends to coding, viewing, converting, or downloading Scratch in any text-based language, including BBCode, Javascript, some form of pseudocode, or some other programming language. If you wish to code using another language, then you can learn it on your own, but it would have to be done outside of Scratch. For those who are interested, it may be worth checking out Tosh. It is a text-based programming language that serves as a text editor for Scratch projects. Another option is MakeCode Arcade, a programming language that can convert between block-based and text-based programming within the editor.


4. Is it like have usb controllers added to scratch? if is then rejected or something (cant find the link)

Ocular(find dupes)

my other signature was eaten because it had too many characters in it… SOOoooo
goodbye

nahh, anyways: Game creator, Forums, Finds dupes in the most annoying way possible

LANGUAGES:
Scratch|Python|English|Italian

siggys be longer :(
Paddle2See
Scratch Team
1000+ posts

We should make a extension that gives you blocks we might need!

Please create a separate topic for each suggestion you have, rather than creating a list of suggestions. That way, the conversation stays focused and each idea can get the attention it needs.

Before making a new topic, please check out the following:
Thank you!

Scratch Team Member, kayak and pickleball enthusiast, cat caregiver.

This is my forum signature! On a forum post, it is okay for Scratchers to advertise in their forum signature. The signature is the stuff that shows up below the horizontal line on the post. It will show up on every post I make.
(credit to Za-Chary)



;

Powered by DjangoBB