Group Details Private

china users

paying users from China

  • RE: Clear prints buttons don't work again

    @charles-m

    This works fine. When would it crash?

    posted in Feedback
  • RE: Clear prints buttons don't work again

    @charles-m

    Can you please share the project link? We will look into why it crashes.

    posted in Feedback
  • RE: Clear prints buttons don't work again

    @charles-m

    Please use the draw and clear blocks in the “Pen” category for now.

    posted in Feedback
  • RE: Problem on the CreatiCode Website

    @dreamsmp_luck

    Thank you. We’ll look into this.

    posted in Help
  • RE: How to add a code snippet?

    @dreamsmp_luck

    You can right click on any sprite and select share. Please make sure the code in that sprite is serving one purpose so it is reusable by others.

    posted in General Discussion
  • RE: Project randomly started crashing

    @drankwarrior4490-gmail

    This project can be loaded properly now.

    posted in Help
  • RE: AI worked pretty well!

    @白刃の亡霊

    Thank you for the example.

    posted in Test
  • Generate Vector Images Using AI

    Image Formats: Vector vs Bitmap

     
    In Scratch, a costume image can be a “bitmap” or a “vector” format:

    • Bitmap images are stored as a matrix of small square boxes called “pixels”
    • Vector images are stored as a few shapes, where each shape is represented by its outline and fill colors.

    You can easily tell the difference when you zoom in an image:

    vec1.gif

     

    There are several important benefits when we use a vector image:

    First, vector images will always look the same when you scale them up, but bitmap images look worse due to lower resolution when you switch to full screen mode.

    Second, a vector image’s file size is usually much smaller than a bitmap for the same content. For example, imagine we need to draw a big square. In bitmap format, we need to specify every pixel’s color, but in vector format we only need to specify the edge length and one color. Therefore, if your project would run faster and smoother when you use vector images

    Third, vector images are much easier to modify. Since it is composed of individual shapes, you can move/resize/recolor each shape without affecting other parts of the image.

     
    Note that the vector format is not always better. If the image has a lot of details, then the bitmap format should used. For example, if almost every pixel in the image has different colors, then there is no easy way to describe it using simple shapes in the vector format, and we should just store each pixel’s information using the bitmap format.

    In summary, choose the vector format if the image is made of a few simple shapes in uniform or gradient colors.

     
     

    How to Generate a Vector Image Using AI

     

    On MIT Scratch, there are only a limited number of vector images from the library. On CreatiCode, you can use AI to generate new vector images based on your project. The basic idea is to generate a bitmap image using AI, then convert it to a vector format using another AI tool.

    Below are the steps:

     
     

    Step 1 - Generate a bitmap image

     
    As shown, you can start by selecting the “AI” tool for adding a sprite.

    d7bc7681-d7b4-4d3c-a8aa-7335457de412-image.png

     

    In the input box, describe the object, specify it is a vector image, and then click “generate”. For example:

    86a760ff-b7d0-4489-a89c-0940332e1c8c-image.png

     

    Important notes:

    • This AI tool can only generate images in the bitmap format, even if our prompt says “vector image”. It will try to generate an image that looks like a typical vector image (a few shapes of simple colors)

    • The prompt must contain the keyword “vector” to ensure the AI generates an image in this style. You can add additional instructions to further emphasize this, such as “with simple shapes”, “flat vector illustration”, “for costumes in MIT Scratch”, etc.

    • You might need to refine the description or regenerate the image.

     
    Once you have the image you like, click on it to add it as a new costume.

     
     

    Step 2 - Clean up the costume image (optional)

     

    The costume will be in bitmap format. Before converting it to a vector image, you might need to clean it up.

    For example, the image may contain a shadow. You can use the erazer tool to remove it manually, or use the new magic wand tool to select and delete it.

    vec3.gif

     
    For another example, sometimes the AI generated image has some transparent parts. You can use the “fill” tool to fill some colors in there.

    fill.gif

     
     

    Step 3 - Convert the bitmap costume to a vector image

     

    You can click the “Vectorize” button to convert any bitmap costume to a new vector costume:

    vec4.gif

     
     
    A new vector format costume will be added, and the original bitmap costume is not changed. This is a true vector image, as you can select individual parts and change them:

    vec5.gif

     
     
    Note that the original MIT Scratch provides a button to convert a bitmap image to vector, but it is not really a true vector image. It only represents the entire image as one big shape, and you still can’t edit individual parts.

     
     

    Create Vector Images from Drawings

     

    Since you can convert any bitmap costume to a vector costume, you can also draw a costume of your own, then convert it.

    For example, suppose we use a few simple shapes to create a small house, and then use the “variations” tool to convert it to a cartoon:

    draw1.gif

     
     
    Next, we can convert this cartoon house to a vector image. Note that it needs to be in the “bitmap” mode first, since the “vectorize” button is only available in the bitmap mode:

    house.gif

     
     
     

    Search for Vector Images

     

    The vector images generated by any user is shared with the community. You can open the AI image tool for sprites (not backdrops), and select the “Vector” type to search for them:

    ee7852cf-8b7b-43a0-9193-c3fb71e9b8d8-image.png

    posted in Tutorials
  • RE: Weird bug in Creaticode

    @白刃の亡霊

    This seems to be caused by the new buttons we added at the bottom of the costume editor, which takes too much space. We will fix this ASAP.

    posted in Feedback
  • RE: Title won't ever work even when refreshed

    @dreamsmp_luck

    Sorry this issue has been resolved.

    posted in Help