I Made MIDJOURNEY in SCRATCH 🌄🔥

The STEAMist
18 May 202404:18

TLDRIn this tutorial, the creator builds an image generator called 'Mid Journey' in Scratch, a platform known for coding and creating games. Starting with a Discord-themed background, the project evolves to include an image generation feature facilitated by an API, showcasing the creation of a 'penguin astronaut' costume. The script details the coding process, including setting up the layout, generating images, and integrating text animation. The final result is a functional image generator with a user interface that prompts for input and displays generated content, demonstrating the capabilities of Scratch for creative projects.

Takeaways

  • 😀 The creator made a 'mid Journey' image generator in Scratch, inspired by the positive response to the 'chachu and penguin mod'.
  • 🎨 'Mid Journey' is an image generator that can create any image and is integrated with Discord, featuring a Discord background.
  • 📐 The layout of 'mid Journey' was initially set up with unnecessary elements that were later removed to focus on the essential components.
  • 🖼️ The image generation process involves using an API to create and import costumes, such as a 'penguin astronaut' costume.
  • 🔄 The script includes a 'when clicked' event for the blue flag, initiating a question prompt and a forever loop for continuous interaction.
  • 🔍 An image is generated in response to user input, with the 'generate' function creating and importing the image as a costume named 'answer'.
  • 📝 The script also includes text generation, with the text appearing animated and set against a black background with white font.
  • 🔠 The font used for the text is 'Sand Serif', chosen for its classic look, as opposed to the playful handwriting font used previously.
  • 🔄 The process involves testing the image generator with different inputs, such as 'LOL', to ensure it works correctly and displays the generated image.
  • 📉 The creator adjusted the size of the generated image to fit the page better, making it more visually appealing.
  • 🎉 The video concludes with a showcase of various images created using the 'mid Journey' generator, demonstrating its versatility and creativity.

Q & A

  • What project is the speaker working on in the video?

    -The speaker is working on creating a 'mid Journey' image generator in Scratch, which is a project that can generate any image and is integrated with Discord.

  • What is the purpose of the 'mid Journey' image generator?

    -The 'mid Journey' image generator is designed to create images based on input prompts and display them on a Discord background.

  • How does the speaker begin the project in Scratch?

    -The speaker begins by opening the Penguin mod in Scratch, creating a new project, and setting up the layout for the image generator.

  • What is the significance of the Discord background in this project?

    -The Discord background serves as the canvas where the generated images will be displayed, providing a familiar and interactive environment for users.

  • What is the role of the 'penguin GPT' in the script?

    -The 'penguin GPT' is used as an API to facilitate the image generation process, allowing the Scratch project to create images based on the input prompts.

  • How does the speaker handle the image generation process in Scratch?

    -The speaker uses a 'generate' command to create images and then imports them as costumes in Scratch, which are then displayed on the screen.

  • What is the 'forever loop' used for in the Scratch code?

    -The 'forever loop' is used to continuously ask for input and generate new images without the need to click the green flag each time.

  • Why does the speaker mention the need to adjust the size of the generated image?

    -The speaker mentions adjusting the size to ensure that the generated image fits well within the Scratch stage and does not take up the whole page.

  • How does the speaker add text to the generated image in Scratch?

    -The speaker uses the 'text' feature in Scratch to add animated text that describes the generated image, setting the font, color, and position to match the background.

  • What is the final result the speaker is aiming for with the 'mid Journey' project?

    -The final result is a functional image generator within Scratch that can take user input, generate images accordingly, and display them with accompanying text on a Discord background.

  • What additional images did the speaker create using the 'mid Journey' generator?

    -The speaker created several additional images using the 'mid Journey' generator, which are described as 'really cool' but not explicitly detailed in the script.

Outlines

00:00

🎨 Creating Mid Journey Image Generator in Scratch

The script begins with the creator's previous success in making a chachu and penguin mod, and now they're introducing a new project: Mid Journey, an image generator built in Scratch. The tool is designed to generate any image and is integrated with Discord, featuring a Discord-themed background. The creator guides the audience through setting up the layout, adjusting its size, and centering it appropriately. They then proceed to clean up the interface by using a square to cover unnecessary elements, preparing the stage for the image generation process.

Mindmap

Keywords

💡Mid Journey

Mid Journey refers to the image generator project being created in the video. It is a software tool that can produce images based on given prompts. In the context of the video, the creator is building a Mid Journey generator within the Scratch platform, which is typically used for educational programming. The script mentions setting up the layout and generating images such as a 'penguin astronaut', illustrating the creative potential of the Mid Journey generator.

💡Scratch

Scratch is a block-based visual programming language and online community aimed at children. It allows users to create their own interactive stories, games, and animations. In this video, the creator is using Scratch to build an image generator, demonstrating how Scratch can be utilized for creative coding projects beyond its educational scope.

💡Image Generator

An image generator is a tool or software that creates images automatically based on user input or predefined parameters. In the video, the main project is to build an image generator named 'Mid Journey' in Scratch, which can generate unique images like a 'penguin astronaut', showcasing the flexibility of such tools in artistic creation.

💡Discord

Discord is a popular communication platform designed for creating communities, mainly used for gaming but also for various other interests. The script mentions that the Mid Journey image generator will have a Discord background, indicating that the tool is likely to be integrated or used within the Discord platform, suggesting a social aspect to the image generation process.

💡API

API stands for Application Programming Interface, which is a set of rules and protocols for building software applications. In the context of the video, the creator uses an API for image generation, allowing the Scratch project to communicate with the image generator service. The script refers to an API created by 'movie Lop', which is used to generate images within the Scratch environment.

💡Sprite

In the context of Scratch and other animation software, a sprite represents an object or character that can be manipulated in the project. The video script discusses deleting the 'penguin Sprite' and replacing it with the generated image, indicating the dynamic nature of sprites in creating interactive content.

💡Costume

In Scratch, a costume is the appearance or 'skin' of a sprite. The script mentions importing generated images as costumes for the sprite, allowing the sprite to change its appearance dynamically. This is a key aspect of creating animations and interactive stories in Scratch.

💡Chatbot Management

Chatbot Management refers to the process of overseeing and controlling chatbots, which are computer programs designed to simulate conversation with human users. The script contrasts the previous use of chatbot management with the current focus on image generation, indicating a shift in the project's functionality.

💡Forever Loop

A forever loop is a programming construct that repeats a block of code indefinitely until the program is stopped. In Scratch, this is represented by a 'forever' block. The script describes using a forever loop to continuously ask for input and generate images, demonstrating the use of loops in creating interactive programs.

💡Text Animation

Text animation involves animating text to make it dynamic and visually appealing. The video script mentions creating text that says 'generating image' with an animated effect, adding a layer of interactivity and visual interest to the image generation process.

💡UI

UI stands for User Interface, which is the space where interactions between humans and computers occur. The script describes creating a user-friendly interface for the Mid Journey image generator within Scratch, emphasizing the importance of a clear and accessible UI for effective user interaction.

Highlights

Introduction of creating a new mod in Scratch called 'Mid Journey', an image generator.

Building upon the success of the Chachu and Penguin mod.

Setting up the Mid Journey layout with a Discord background.

Centering and resizing the layout for optimal user experience.

Removing unnecessary elements to focus on the image generation area.

Using the drawing feature to create a square for image display.

Switching to the first Sprite and preparing to delete the penguin Sprite.

Integrating the penguin GPT and API for image generation.

A shout out to Movie Lop for creating the image generation script.

Switching from chatbot management to image generation in the code.

Demonstrating the image generation process with the 'generate penguin space' command.

Importing the generated image as a costume named 'penguin'.

Creating an interactive experience with 'when clicked' and 'forever loop'.

Using the 'ask and wait' block to engage the user.

Generating and displaying the image with the 'switch costume' block.

Testing the image generation with the input 'LOL'.

Adjusting the size and position of the generated image.

Adding text animation to the generated image.

Finalizing the text display with font, color, and position settings.

Showcasing the final result with 'scratch programming' as the input.

Sharing additional images created using the Mid Journey mod.

Closing remarks and encouragement to watch the Chach BT video.