How to Make a Shop in Scratch | Tutorial

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 121

  • @Zinnea
    @Zinnea  11 місяців тому +22

    What's one thing you would want to have in your shop? :D

    • @not.twinklestar
      @not.twinklestar 11 місяців тому +4

      Flying abilities
      😂 0:01

    • @robloxandgacha4705
      @robloxandgacha4705 11 місяців тому +1

      Hiii

    • @oliivey2302
      @oliivey2302 11 місяців тому +1

      Hello this was really helpful maybe a different weapon type?

    • @Lxrs15
      @Lxrs15 11 місяців тому +2

      It's been awhile since you last uploaded, I missed u! So now I will say hello, ◡̈⋆ʜᴇʟʟᴏ(●’◡’●)╯:D

    • @thesmilingharper
      @thesmilingharper 11 місяців тому +3

      A food shop including my fav foods

  • @Thunder-j8w
    @Thunder-j8w 3 дні тому

    No one made a video teaching me how to do this and when i saw yours you did EXACTLY what I searched up and this help me a lot you deserve more subscribers 😊

  • @heinthuaung86
    @heinthuaung86 11 місяців тому +7

    Thanks a lot. I am currently playing the game (Cadria Item Shop), the one that we can see in thumbnail. I also want to teach my students how to make a game like that. Thanks for the tutorial. You are my savior!

  • @Auroraecho80
    @Auroraecho80 11 місяців тому +10

    Thank you so much! I love showing your tutorials to my 5th grade CS Classes 😊

    • @Abenezer-Minale
      @Abenezer-Minale 10 місяців тому

      Seriously? I'm a 5th grader too. :-()

    • @leviangami5586
      @leviangami5586 9 місяців тому +1

      she came in clutch ngl im going for a scratch tournament great tips

  • @ombhavik488
    @ombhavik488 11 місяців тому +4

    I love your videos. They are really helpful! Can you make a video of raycasting as I struggle with it? That would be so helpful, thanks

  • @stephestopinal1667
    @stephestopinal1667 2 місяці тому +1

    thank you so much I allways wanted to make a shop you made my day

    • @Zinnea
      @Zinnea  Місяць тому

      I am so glad! That's awesome! How's your shop going?

  • @KevinAether_
    @KevinAether_ 11 місяців тому +2

    Have been finding this tutorial 👍

  • @albertcaraos9079
    @albertcaraos9079 10 місяців тому +1

    Galing!👏👏👏

  • @nahthisismyhandle
    @nahthisismyhandle 11 місяців тому +1

    Glad ur doing ok zinnea!

  • @NotAlphaSlayer15
    @NotAlphaSlayer15 8 місяців тому +3

    *so pretty*

    • @connorhicks-qv4ol
      @connorhicks-qv4ol 3 місяці тому

      😅😂😅😂😅😂😅😂😅😂😅😂😅😂😅😅😂😅😂😅😂😅😂😅😂😂😅😂😅😅😂😅😂

  • @Jtheleggnd
    @Jtheleggnd 10 місяців тому +2

    I have a problem where i made more than one upgrade with the same coding (besides the names and that stuff) but it is only focusing on one upgrade.

    • @Ibby2048
      @Ibby2048 3 місяці тому

      You play battle cats?

    • @Jtheleggnd
      @Jtheleggnd 3 місяці тому

      @@Ibby2048 yeah why?

    • @snow_2257
      @snow_2257 3 місяці тому

      Same me too and i dont know how to fix it

  • @Gamer_pro360
    @Gamer_pro360 9 місяців тому

    it help a LOT for my btd game

  • @MeeCarl
    @MeeCarl 11 місяців тому +2

    this guide is soo good, but can u teach us how to use "my blocks" and "sensing"?

    • @DominicLaCroix-yy4ik
      @DominicLaCroix-yy4ik 11 місяців тому +1

      So, my blocks are complicated so I will use sensing instead. For example, If :mouse down:, the rest of your code. Same with most other sensing blocks.

    • @maxybg
      @maxybg 9 місяців тому

      The sensing category is about detecting stuff, such as the mouse pointer's position or the player's username. There are also "booleans" which simply say if a statement is true or false, which can detect, for example, if a sprite is touching the mouse pointer, or if a certain key on your keyboard is pressed.

    • @maxybg
      @maxybg 9 місяців тому +1

      The custom blocks (aka "my blocks") can be used for multiple reasons. It can help with shortening down certain scripts to make them easier to understand for you or someone else who's viewing your code (this is also known as _abstraction_ ), it can make a script happen instantly if the "Run without screen refresh" option is selected in the custom block's settings, or it can help with making less calculations in a script by using the "number" and "boolean" inputs in the settings as well. Once you create a custom block, a _define_ block will appear, and attaching anything to it will cause them to run once that custom block is run in any other scripts.

    • @Hai-ko
      @Hai-ko 2 місяці тому

      Blocks are easy to use. As in. Blocks are just blocks which helps to repeat smth again and again.

  • @mrpink7051
    @mrpink7051 7 місяців тому

    Really helpful! Thank you!

  • @MikadoAvocado_
    @MikadoAvocado_ 11 місяців тому +2

    Trank you i like your Video everytime❤

  • @Kushal_XAnime
    @Kushal_XAnime 8 місяців тому

    Thank you so much😢😊❤

  • @hhh-xt8ry
    @hhh-xt8ry 3 місяці тому

    is it also fine if one uses broadcast message to the character's sprite to change it's costume from then

  • @nguyenthaihung3326
    @nguyenthaihung3326 7 місяців тому +1

    Hey zinnea, i also watch your tutorial but it didn’t work, i also do the bought red shirt? But it keeps showing numbers on that varaiable

    • @casietracy
      @casietracy Місяць тому +1

      You need to make sure that you type your words into the 'set bought red shirt to '. If that doesnt work, go onto Zinneas template and press see inside, to compare code :)

  • @Nopenotme_vr
    @Nopenotme_vr 3 місяці тому +1

    4:36 where did u get thay green block

  • @karamjoud6769
    @karamjoud6769 11 місяців тому +2

    Tysm Zinnea!!! i soo sad that you are "Kicked" from the scratch team :( but that will help me a looooot!

  • @ericcartman2294
    @ericcartman2294 Місяць тому

    Genuinely asking, instead of copying each sprite actions every time, can't you add those actions only once into STAGE once? Or it won't work?

    • @Zinnea
      @Zinnea  Місяць тому

      Hmm, I haven't fully tried it, but I think if you gave all of those actions to the stage, you would have to have tons of different backdrops for all of the different appearances each shop button could have (ex: a backdrop for when item A is purchasable but not item B, a backdrop for when B is purchasable but not A, a backdrop for when they are both purchasable, etc). So technically you could do it, but it may be easier if each sprite controls its own appearance
      One thing you could do is use clones instead of copying each sprite :D

    • @monicapetiz
      @monicapetiz 25 днів тому +1

      @@Zinnea pls answer this as fast as possible because I have to be done with this by wednesday
      I just have a question. I have a backdrop shop. And there are options and when you click on them the backdrop will change to that picture. But how do I leave the shop and keep the backdrop they had when they entered it.
      For example
      They went into he shop with backdrop 2 and then they left the shop without buying anything.
      How do I keep the backdrop when they leave at backdrop 2

    • @Zinnea
      @Zinnea  24 дні тому

      @@monicapetiz Oh cool! OK, one thing you could do is you could try saving the backdrop name (for example, "backdrop 2") with a variable.
      To do this, make a variable called something like "saved backdrop." When they click to go to the shop, before you change the backdrop to the "shop" backdrop, do this code:
      set variable "saved backdrop" to "backdrop name" (purple block from the Looks category)
      Then when the player exits the shop, do this code:
      switch backdrop to "saved backdrop"
      This should set the backdrop to "backdrop2" or whichever backdrop the player was at. Let me know if that works! Sounds like a fun project

  • @sathipal6145
    @sathipal6145 8 місяців тому

    Please make a hospital video where there are all types of rooms like surgery,reception,baby care room,labour room,etc.
    I know it is really hard but I am 99.9% sure you can ❤❤
    If you are unable to make it,it is definitely okay because everything is not possible for one as you are already so talented and made so many nice tutorials for us.
    ❤❤

  • @LemmonTea
    @LemmonTea 11 місяців тому +5

    Hello 👋 ❤

  • @Jazerr
    @Jazerr 3 місяці тому

    How do I make different pages?

  • @MrNigelian
    @MrNigelian 11 місяців тому +1

    OMG UR BACK!!

  • @ElenaNikova
    @ElenaNikova 2 дні тому

    What if we wanna sell a product:
    example - a bag?

  • @BruisedAir
    @BruisedAir 7 місяців тому

    How do you find such good GUI backgrounds? I can't find any good pixel images 😢

    • @Zinnea
      @Zinnea  7 місяців тому

      What I'll do is, I google "2d game menu" and try different variations ("2d game inventory menu," "2d game options menu," "rpg pause screen menu," etc)
      Then, to erase the text in it (so that I can add my own text), I'll upload it into Scratch bitmap, and cover up the text by drawing rectangles over it (I use the eyedropper to match the color of the background)
      Let me know how that goes!

  • @Hijabis.Quest.to_Jannah
    @Hijabis.Quest.to_Jannah 11 місяців тому

    Hey zinnea!! I need ur help! I just wanted to ask, how do I make the score on variables stop at a certain amount of numbers? I need it for an assignment and I was hoping you'd make a video on it or tell me how! Thanks!

    • @DominicLaCroix-yy4ik
      @DominicLaCroix-yy4ik 11 місяців тому +1

      Don’t worry bro I gotcha. You can make a variable (x, for example) stop simply by using the following code: forever, if X > G (the max number) then set X to G

    • @maxybg
      @maxybg 9 місяців тому

      Instead of doing "change variable by ..." you can do "if variable is less than (max amount) then change variable by ..."

  • @sathipal6145
    @sathipal6145 8 місяців тому

    Hi,Sister Zinnea!
    Please make a video on how to make a mall with many shops and floors.
    I just love your tutorials so much ❤❤.

  • @bobcat2073
    @bobcat2073 11 місяців тому

    How do you make the coin menu?

  • @smallDevs
    @smallDevs 11 місяців тому

    Good Job! Thanks!

  • @NenyeOkoye-l6y
    @NenyeOkoye-l6y Місяць тому

    How can you make the world bigger with other people playing in it

  • @BruisedAir
    @BruisedAir 7 місяців тому

    Where do i get more audio from?

    • @Zinnea
      @Zinnea  7 місяців тому

      A couple of my favorite places: OpenGameArt opengameart.org/content/library-of-game-sounds, The Mushroom Kingdom has Mario-specific ones themushroomkingdom.net/, and freesound.org/ (they have a large quantity, sometimes you have to search to find good ones). Let me know if those work for what you need!

  • @caganuraskoksal1206
    @caganuraskoksal1206 6 місяців тому

    W For Helping Thanks!

  • @Fort1711
    @Fort1711 9 місяців тому

    Where is the buy an item once tutorial i really need it

  • @not.twinklestar
    @not.twinklestar 11 місяців тому +4

    3 mins ago!?!!?!??!?❤❤❤❤

    • @Catnapxd4
      @Catnapxd4 7 місяців тому

      4 months ago

  • @oliivey2302
    @oliivey2302 11 місяців тому +1

    This was really helpful I’m making a cuphead like game called Cuphead boss fight pencil boss and I’m trying to make a big world with different bosses so ways to get different weapons is cool

  • @ericascicutella8780
    @ericascicutella8780 9 місяців тому

    how do you drag a variable without making a new one

    • @maxybg
      @maxybg 9 місяців тому

      what?

  • @GamesOnfootball
    @GamesOnfootball 3 місяці тому +1

    Guys mine aint working if you're kind please check if i made any mistakes its called smiley clicker (SMILE UPDATE)

  • @papaapis7556
    @papaapis7556 5 місяців тому

    great now i've gotta figure out how to make a list that dictates whether players have every item or not, i have to make an xp system, and i have to painstakingly draw out every animation that envolves extra skins, code a test your luck with modifiers that you can buy, make a list for that, make some maps that you can buy, and code entire guest characters to be bought, AND ON TOP OF THAT figure out how to make it so the item shop changes every day. no biggie ig

  • @james-qm1xh
    @james-qm1xh 11 місяців тому

    please show me how to make a clone go left if it's pointing left becouse my way makes my fish do the moon walk

  • @Geo_Herrera
    @Geo_Herrera 6 місяців тому

    Theres a problem for me when i have 150 of the currency in my game it still says not enough coins and doesent change the coins how can i fix that

    • @connorhicks-qv4ol
      @connorhicks-qv4ol 3 місяці тому

      The not changing the coins just do
      When green flag clicked Forever if clicked and coins > (price) then Change coins by -(price) for example if your price for it is 15 coins you do
      Change Coins by -15 not 15

  • @Xiaodanfut
    @Xiaodanfut Місяць тому

    Can I make a online shop?

  • @Jeffe_r_y
    @Jeffe_r_y 10 місяців тому

    thats cool but how do i hide my shop thing when i dont open it?

    • @maxybg
      @maxybg 9 місяців тому

      Make a broadcast for when the shop is closed, and hide the shop sprites when it's broadcasted. (when I receive "exit shop" hide)

  • @robloxandgacha4705
    @robloxandgacha4705 11 місяців тому +2

    THANK YOU YOU HELO EVERYTIME

  • @Ethan_0119
    @Ethan_0119 10 місяців тому

    Your so helpful

  • @klonermp22
    @klonermp22 10 місяців тому

    Thanks :)

  • @vallaritheunicorn
    @vallaritheunicorn 11 місяців тому +3

    Yay

  • @nicoleapodaca1958
    @nicoleapodaca1958 6 місяців тому

    A clone for a character that is cute so I would have two of that character

    • @Zinnea
      @Zinnea  6 місяців тому

      That is adorable!

  • @saurabhshrivastava2695
    @saurabhshrivastava2695 6 днів тому

    it is not working

  • @ZbikToKotelLasu
    @ZbikToKotelLasu 7 місяців тому

    thx!

  • @MattAndPock-uk7tz
    @MattAndPock-uk7tz 10 місяців тому

    Why don't you just say 1 or 0 instead of true or false. Same thing, and it's easier

    • @Zinnea
      @Zinnea  10 місяців тому

      It's a good question - I like to use true and false to make the code more readable. So if someone is using my starter code, they can easily see that "Bought red shirt?" is a variable that can either be true or false, instead of wondering whether it's a number that could have more values other than 0 or 1

  • @SpencerGames2000
    @SpencerGames2000 8 місяців тому

    1:23

  • @AyzelNoor-j1g
    @AyzelNoor-j1g 20 днів тому

    I have a sword in my shop

  • @vineethakabala7452
    @vineethakabala7452 22 дні тому

    HOW TO MAKE GEOMETRY DASH PLEASSE

  • @akshayperuri
    @akshayperuri 22 дні тому

    idk

  • @Theworldparrot
    @Theworldparrot 5 місяців тому

    :D

  • @pinkisardar5797
    @pinkisardar5797 3 місяці тому

    Psa 10 pokemon cards

  • @IndiaAhhSuresh
    @IndiaAhhSuresh 24 дні тому

    How do you make it so that the variable at the top saying true or false isn’t there