How to make a shop in Scratch | Tutorial. #shorts #coding #scratch #tutorial #programming
Жүктеу.....
Пікірлер: 199
@ameridev Жыл бұрын
tip: instead of doing "(variable = 50) or (variable > 50)" try doing "(variable > 49)" cause it's shorter and detects if it is 50 or higher!
@ominousplayer
Жыл бұрын
fr why don’t people do that, it’s so much faster
@samuraigaming0
Жыл бұрын
@@ominousplayer I regularly use it myself but its only effective using integers, say we have 5.01 and its going to detect if its 6 or higher it would return false while if we put higher than 5 it would return correct. While its obviously possible to just put higher than 5.999 to counter this most people just use 5 and higher to make it less messier
@ameridev
Жыл бұрын
@@samuraigaming0 ok here is a much worse way to do it "reset timer, wait until timer = 5.99, if var > timer then"
@Rhidayah
Жыл бұрын
There is no >=50 ?
@ameridev
Жыл бұрын
@@Rhidayah there is (value) > (value)
@user-nv8nq4gd7i Жыл бұрын
1 bread for 50$: Zimbabwe vibes
@whatisthis6259
Жыл бұрын
Lol
@derrikwalker7548
11 ай бұрын
I’ll make Zimbabwe 1 bread for 600 million
@OtterScratcher
8 ай бұрын
villager vibes
@user-qc3tx7lw7u
Ай бұрын
Here in Serbia it's actually 50 of our currency lol it's basically 50 cents
@Circle-s4t3 ай бұрын
Tip: Add [wait {0.3} seconds] to prevent you from accidentally buying a lot.
@gamingwithraien4639
2 ай бұрын
Here's a better way: wait until ( not ( (mouse down) or (touching mouse) ) ) the reason we use not (x or y) is because it only activates if x and y is false
@Circle-s4t
2 ай бұрын
Ty for the suggestion
@DexCrE214 күн бұрын
Simpler script: When sprite clicked: if = 50 or greater than 50 then change by (-50) else say
@BouncerzOfGeometryDash3 ай бұрын
“How did you become poor?” *”i clicked a flag”
@SamiSaba2
Ай бұрын
Conclusion: don’t click flags
@ritubajaj7333
4 күн бұрын
🎉😂
@Treewha9984 күн бұрын
Now make an auto sorting inventory with 24 slots all center aligned, with different actions and animations tutorial pls. 😊
@TheBestBaguette Жыл бұрын
Very nice
@CougarXWGM Жыл бұрын
It was simple and awesome!
@ScratchTuto
Жыл бұрын
THX
@whatisthis6259
Жыл бұрын
@@ScratchTutocan you do a tutorial on how to use text instead of that base vanilla variable. Like. An art of money instead of just “show variable”
@whatisthis6259
Жыл бұрын
@@ScratchTutohard to explain but basically like using text to have the value and show a sprite text for the value so it looks better
@ScratchTuto
Жыл бұрын
@@whatisthis6259yeah i know what you mean and thats a good idea and i would make a tutorial on it but i dont make videos anymore
@whatisthis6259
Жыл бұрын
@@ScratchTuto I understand, I’ll look somewhere else
@yngbro Жыл бұрын
TYSM! I needed this, don’t get why it’s money > 50 when it should be money > 49 but really helpful, instant like
@ScratchTuto
Жыл бұрын
Yeah it was a dumb mistake. But im happy if this video helped you🥰
@yngbro
Жыл бұрын
@@ScratchTuto it defintley did, I might subscribe just for this one vid!
@Muho_is_me
2 ай бұрын
@@ScratchTutoanother dumb mistake was not using the when sprite clicked so that your money wouldnt die when you hold
@I_hate_Yanis Жыл бұрын
Realistic : Fowever (set money =0)
@Qwwwis
17 күн бұрын
Change Money by -40
@Anqi-ew1lc2 ай бұрын
Tip : Add ( wait until > ) to ensure you don't click it once and lose ALL of your money accidentally.
@Muho_is_me
2 ай бұрын
Or you know... Use when sprite clicked
@Anqi-ew1lc
2 ай бұрын
@@Muho_is_me NO I HATE THAT BLOCK
@Muho_is_me
2 ай бұрын
@@Anqi-ew1lc whi?
@Real-Benny998
Ай бұрын
@@Muho_is_me It might be easier but some people like putting that instead (I like doing it because it looks cleaner, and also hitboxes)
@_MasterChief-11713 күн бұрын
tip: make a list instead of a variable for the bread, so you don't have to make a new variable for every item in the store
@Marshmellow_Cat Жыл бұрын
Instead of the big > 50 or = 50, just use > 49
@aqibshariff7558
5 ай бұрын
ty
@ezprochannel2801
Ай бұрын
For the issue, what if people has 49.5?
@Marshmellow_Cat
Ай бұрын
@@ezprochannel2801 Well depends on if you can get money with a decimal, if the player can't possibly be able to get money in the decimal value then no need But if the player can have money in a decimal value then just use >49.9 or something like that
@MysteriousObjectsOfficial
Ай бұрын
what about putting a variable?
@cybertrevor94663 ай бұрын
Bro! you are the best!
@Goku.D.Uzumaki7Ай бұрын
Thanks!!:)
@Alcatonic Жыл бұрын
Something i learned is that when you want to upgrade a item like if your making a rpg and they get a better sword in which does 10 instead of 5 dmg you should give it 0.01 seconds before showing when you look at your items or something because i ran into a couple of bugs where it goes too fast, doesnt register and just stresses me out about it bugging with other items or something
@Anqi-ew1lc
2 ай бұрын
Tip for your tip : NEVER USE WAIT 0.01 or 0.001, this does the same thing as wait 0 so it saves like 0.1 seconds so thats cool? :)
@Muho_is_me
2 ай бұрын
@@Anqi-ew1lc 0 seconds also does something Im not what this comment is meaning i think he was just talking about a weird edge case that happens in his game but just so you know wait 0 seconds actualy waits a single Frame İm not sure if this helps anything but good to know i guess I always use it when something happens before something that it shouldnt
@elishaakoson75097 ай бұрын
Thank You :D
@ImThe0GVoice2 ай бұрын
You: My item cost 50$ Me: FOR FRICKING BREAD??!
@MeloBrineOfficialАй бұрын
Amazing
@Xoin-4kj2 ай бұрын
Thanks for this even tho I know how to make one it’s just an easier way to make it❤️
@Muho_is_me
2 ай бұрын
Just use; When this sprite clicked İf money > 49 Change bread by 1 Change money by -50 When flag clicked Set bread to 0 Set money to 100 Its alot more smaller and it also fixes the issue of acsedently buying way too much breads becouse you holded
@yngbro6 ай бұрын
14:01 his stomach looks like sonic-
@jayakrish59995 ай бұрын
it is amazinggggggggggggggggggg
@christiangomez456 Жыл бұрын
this type of stuff is easy ngl
@whatisthis6259
Жыл бұрын
It’s for new comers. And everyone sees things in more or less difficulty than others
@CamdynWhitaker2 ай бұрын
Thanks dude!
@Gameclipsx-rz9bv3 ай бұрын
Tip: instead of the or block you should just do variable1>variable2-1.
@SHERMANATOR48 Жыл бұрын
you don't need that many blocks, you can easily simplify it
@TonofSplenda11 ай бұрын
Instead of doing the "forever - if mouse down and touching mouse pointer" all you need to do is grab the when sprite clicked block from the Events category.
@connor_awesome648223 күн бұрын
Instead of having money equals 50 or money is greater than 50, you can just have an if money is greater than 49, it does the same thing but very slightly faster
@margarettezamora50856 ай бұрын
i saw a safari now is working yaaaaaaaay🎉
@MUHAMMADADAMFEERASBINAIZATMoe Жыл бұрын
thanks now i can program this in scratch
@Tango36952 ай бұрын
Just use when sprite is clicked instead of mouse pointer and mouse down it’s way cleaner
@Muho_is_me
2 ай бұрын
Yeah im surprised no one is saying them
@user-qz4vu5xs6c6 ай бұрын
Please make horizontal
@Melodicxy Жыл бұрын
Cool
@Mblambatuja Жыл бұрын
Nice and good fir beginners! But you could have just done money > 49 instead of money = 50 or money > 50 still good tutorial tho keep it up!
@bb22075
Жыл бұрын
Here is the code: if > then change [score v] by ((0) - (bread price)) change [bread price v] by (25) change [bread v] by (1) Try fixing your shop with this!😊
@NowNormal
Жыл бұрын
only works with integers Edit: i fixed the typo
@sieugach Жыл бұрын
You can change the wait .1 sec to wait until not mouse down and place that wait block on top of the cange bread by 1 and change money by -50
@Logangamez89892 ай бұрын
Scratch: *has a block for “isClicked”* Him: If (mouseOver? && mouseDown?)
@Abhinava_Playz_YT3 ай бұрын
for more idea:put a sound of buying like TING or what u want
@Purejedino12 ай бұрын
love you
@domddev6 ай бұрын
using lists and clones would make this thing easier
@user-qz7zs2cz7x
4 ай бұрын
Yeps u studied for scratch
@ZaeNonQ Жыл бұрын
1 bread is 50$? Thats expensive ngl
@ScratchTuto
Жыл бұрын
Yeah big inflation
@ZaeNonQ
Жыл бұрын
@@ScratchTuto pov : covid
@WaterPin
Жыл бұрын
its An Apple IBread
@ZaeNonQ
Жыл бұрын
@@WaterPin pov : apple made bread
@Courett
Жыл бұрын
@@ZaeNonQ bro, stop acting like you get 5$ a month, thats literally the cheapest bread ive seen
@edgarbaumann60029 ай бұрын
it works! i spent hour trying to figure it out my self
@user-qz7zs2cz7x
4 ай бұрын
YOU SPENT A HOUR ON THIS, YOU ARE SO BASIC THAT YOU CANT EVENT FOLLOW SCRATCH'S TEAM TUTORIALS
@Sethanon3000 Жыл бұрын
You could also do when this sprite clicked, if money is greater than 49 then.
@Luutinen123 Жыл бұрын
Nicee
@Charlie_Edits11 Жыл бұрын
Thats one expensive bread 🤣
@ScratchTuto
Жыл бұрын
Zimbabwe moment
@Charlie_Edits11
Жыл бұрын
@@ScratchTuto lol
@cougher900011 ай бұрын
if you're using more than a item, use lists instead of variables for the price
@wuiuoluminum2
11 ай бұрын
Hey, that's a pretty good idea!
@cougher9000
11 ай бұрын
@@wuiuoluminum2 also, if your using clones for buttons, use "for all sprites" instead of "for this sprite only" because if you use a local variable/list (for this sprite only) clones will have different value to the main sprite and different clones, tho if your using stamps (which most people dont do) use a local variable/list
@Alotsis Жыл бұрын
0:01
@--416911 ай бұрын
1:15
@rasheedalatif6987 Жыл бұрын
Ok
@krisdevos84527 ай бұрын
Ok that easy i knew that always When this spire clicked If money is more than (>) 50/49 Then Broadcast: bread give (or you can have a variable which you use) Change money by -50 Boom done. This is for mobile not computer btw
@rubysmith5007 Жыл бұрын
I can’t see the screen it’s way to blurry
@ScratchTuto
Жыл бұрын
When i watch it in my pc its fine but im also trying to make the quality better in future so sorry for that
@windest22
Жыл бұрын
@ScratchTuto when i watch a short ,the whole half of short goes up
@bonehair32112 ай бұрын
0:00
@Browncupcakesyt Жыл бұрын
I subscribe
@ScratchTuto
Жыл бұрын
thx
@user-tz5lc3xe2d5 ай бұрын
It's easier in penguinmod because of new blocks
@Iran_mapping9302 ай бұрын
When this sprite clicked If Money = 50 or Money > 50 Change Money by -50 Change bread by 1
@BTCR99 Жыл бұрын
I found a easier way to do it but i have to video link it
@youraveragerobloxian09 ай бұрын
{when green flag is clicked} {when sprite clicked} {set [money] to (100)} {if then} {set [bread] to (0)} {change [money] by (-50)} e {change [bread] by (1)}
@user-hg4um5ix3r Жыл бұрын
siuu
@Ca13b42 ай бұрын
Theres an eisier way
@mloopy4613 ай бұрын
All i all i all i all i wanted was a bit o bred (Start)
@R2Matt5 ай бұрын
I want to make a off brand Fortnite game whats the best way i can run a item-shop
@shauryavardhan2556 Жыл бұрын
Bread 👍
@bouboodoubee292 ай бұрын
How to do mobile controls
@Greeneyes12345_officialАй бұрын
Instead of (50 or more than 50) you could have just (more than 49)
@artwork-studios8 ай бұрын
Inflation be like:
@Pixelgod42 ай бұрын
It didn’t work on ipad
@thebROhsho6 ай бұрын
i dont undersatnd how to get the vairable to turn into to a block
@TheMusicGuy725 ай бұрын
The bread variable is just useless 💀
@asparagus67 Жыл бұрын
I ruined the 666 likes
@Whateverwhatever648 Жыл бұрын
I wan’t to make online shop
@Yuki_yora Жыл бұрын
How can we interact with the item after buying it?
@Cleacat Жыл бұрын
You dont need to put = and > just make ,money > 50 - 1,
@Wesley3268 Жыл бұрын
why not to use money>49 boolean instead? it's easier
@saba1percent8 ай бұрын
yo i tried this it worked but when i bought item 2nd time it didnt work it when i collected money it automatiacally buyed
@andrewkelley4560 Жыл бұрын
more code for you Forever if money= -1 or Money
@hemanthaldkar95993 ай бұрын
Money going to negetive 😢
@just_hanys3 ай бұрын
why is it in a forever loop? Isn't it better and easier to just put "when this sprite clicked" ?
@Matiu42
2 ай бұрын
It is trying to make it so that "whenflag clicked" not "when this Sprite clicked" 😅
@DemianCrackOriginal6 ай бұрын
just use money > 49
@graybaconlikethesadness8 ай бұрын
There's no mouse pointer block
@spealded Жыл бұрын
🗿
@BreadOriginal3 ай бұрын
On mobile??
@FirzadAmsyar3 ай бұрын
For phone????
@user-EPEWWO919K4 ай бұрын
money
@Muho_is_me2 ай бұрын
Why not just; When sprite clicked İf money bigger then 49 Change bread by 1 Change money by -50 Its alot faster and you wont waste all your money when you hold *You had one job and failed miserebly*
@Muho_is_me
2 ай бұрын
Oh and have a when flag clicked to reset the varilables
@nocontext69420 Жыл бұрын
Dosn't work the money is showing up and when i click nothing happens 😡
@xPlay5rАй бұрын
Too simple. You literally can buy a bread for all your money. Also, buyer can not understand why he can't buy it. Recommend using 2 if's to one of them to say, that you have no thats much money.
@megahakerekk Жыл бұрын
Good tip: money>49
@louisyama9145
Жыл бұрын
What if you can have decimal numbers for money (ex: 49.5), then you would get bread despite having 0.5 less money than needed. I think rounding the money down would fix the problem (if there is a way to round down in scratch)
@megahakerekk
Жыл бұрын
@@louisyama9145 money>49.9😳
@beetlegivesmeluck9 ай бұрын
IT DIDNT WORK YOU DIDNT SHOW THE FULL SCREEN
@HomePonyLulu11 ай бұрын
...
@Sonicomgea Жыл бұрын
100%
@DanielTrpcevskiShorts11 ай бұрын
You can just put ( if money > 49 ) Change ( bread ) by 1 Change ( money ) by -50 Easy!
@Joethefish Жыл бұрын
Do real programming
@SplattackerOfBLT3 ай бұрын
you take too short
@bolikobg1034 Жыл бұрын
Bro tf who needs it i have a game in scratch retail tycoon 2 the owner is bolkata and its me just try it
@ScratchTuto
Жыл бұрын
?? maybe someone that is learning scratch
@bolikobg1034
Жыл бұрын
@@ScratchTuto ok but can you check my game on scratch its Retail Tycoon 2. The owner name is bolkata and its me pls
@windest22
Жыл бұрын
@@ScratchTuto example:me
@TheGoof7592 ай бұрын
F10 doesn’t work guys don’t use this goof
@natalieshillitto96753 ай бұрын
Wtf nobody needs this
@cybertrevor9466
3 ай бұрын
Shut up! He is way better than you!
@Shadow-dd1qpАй бұрын
meh
@BlackRobScratch7 ай бұрын
Very nice
@allietaylor6361 Жыл бұрын
0:00
@R2Matt5 ай бұрын
I want to make a off brand Fortnite game whats the best way i can run a item-shop
Пікірлер: 199
tip: instead of doing "(variable = 50) or (variable > 50)" try doing "(variable > 49)" cause it's shorter and detects if it is 50 or higher!
@ominousplayer
Жыл бұрын
fr why don’t people do that, it’s so much faster
@samuraigaming0
Жыл бұрын
@@ominousplayer I regularly use it myself but its only effective using integers, say we have 5.01 and its going to detect if its 6 or higher it would return false while if we put higher than 5 it would return correct. While its obviously possible to just put higher than 5.999 to counter this most people just use 5 and higher to make it less messier
@ameridev
Жыл бұрын
@@samuraigaming0 ok here is a much worse way to do it "reset timer, wait until timer = 5.99, if var > timer then"
@Rhidayah
Жыл бұрын
There is no >=50 ?
@ameridev
Жыл бұрын
@@Rhidayah there is (value) > (value)
1 bread for 50$: Zimbabwe vibes
@whatisthis6259
Жыл бұрын
Lol
@derrikwalker7548
11 ай бұрын
I’ll make Zimbabwe 1 bread for 600 million
@OtterScratcher
8 ай бұрын
villager vibes
@user-qc3tx7lw7u
Ай бұрын
Here in Serbia it's actually 50 of our currency lol it's basically 50 cents
Tip: Add [wait {0.3} seconds] to prevent you from accidentally buying a lot.
@gamingwithraien4639
2 ай бұрын
Here's a better way: wait until ( not ( (mouse down) or (touching mouse) ) ) the reason we use not (x or y) is because it only activates if x and y is false
@Circle-s4t
2 ай бұрын
Ty for the suggestion
Simpler script: When sprite clicked: if = 50 or greater than 50 then change by (-50) else say
“How did you become poor?” *”i clicked a flag”
@SamiSaba2
Ай бұрын
Conclusion: don’t click flags
@ritubajaj7333
4 күн бұрын
🎉😂
Now make an auto sorting inventory with 24 slots all center aligned, with different actions and animations tutorial pls. 😊
Very nice
It was simple and awesome!
@ScratchTuto
Жыл бұрын
THX
@whatisthis6259
Жыл бұрын
@@ScratchTutocan you do a tutorial on how to use text instead of that base vanilla variable. Like. An art of money instead of just “show variable”
@whatisthis6259
Жыл бұрын
@@ScratchTutohard to explain but basically like using text to have the value and show a sprite text for the value so it looks better
@ScratchTuto
Жыл бұрын
@@whatisthis6259yeah i know what you mean and thats a good idea and i would make a tutorial on it but i dont make videos anymore
@whatisthis6259
Жыл бұрын
@@ScratchTuto I understand, I’ll look somewhere else
TYSM! I needed this, don’t get why it’s money > 50 when it should be money > 49 but really helpful, instant like
@ScratchTuto
Жыл бұрын
Yeah it was a dumb mistake. But im happy if this video helped you🥰
@yngbro
Жыл бұрын
@@ScratchTuto it defintley did, I might subscribe just for this one vid!
@Muho_is_me
2 ай бұрын
@@ScratchTutoanother dumb mistake was not using the when sprite clicked so that your money wouldnt die when you hold
Realistic : Fowever (set money =0)
@Qwwwis
17 күн бұрын
Change Money by -40
Tip : Add ( wait until > ) to ensure you don't click it once and lose ALL of your money accidentally.
@Muho_is_me
2 ай бұрын
Or you know... Use when sprite clicked
@Anqi-ew1lc
2 ай бұрын
@@Muho_is_me NO I HATE THAT BLOCK
@Muho_is_me
2 ай бұрын
@@Anqi-ew1lc whi?
@Real-Benny998
Ай бұрын
@@Muho_is_me It might be easier but some people like putting that instead (I like doing it because it looks cleaner, and also hitboxes)
tip: make a list instead of a variable for the bread, so you don't have to make a new variable for every item in the store
Instead of the big > 50 or = 50, just use > 49
@aqibshariff7558
5 ай бұрын
ty
@ezprochannel2801
Ай бұрын
For the issue, what if people has 49.5?
@Marshmellow_Cat
Ай бұрын
@@ezprochannel2801 Well depends on if you can get money with a decimal, if the player can't possibly be able to get money in the decimal value then no need But if the player can have money in a decimal value then just use >49.9 or something like that
@MysteriousObjectsOfficial
Ай бұрын
what about putting a variable?
Bro! you are the best!
Thanks!!:)
Something i learned is that when you want to upgrade a item like if your making a rpg and they get a better sword in which does 10 instead of 5 dmg you should give it 0.01 seconds before showing when you look at your items or something because i ran into a couple of bugs where it goes too fast, doesnt register and just stresses me out about it bugging with other items or something
@Anqi-ew1lc
2 ай бұрын
Tip for your tip : NEVER USE WAIT 0.01 or 0.001, this does the same thing as wait 0 so it saves like 0.1 seconds so thats cool? :)
@Muho_is_me
2 ай бұрын
@@Anqi-ew1lc 0 seconds also does something Im not what this comment is meaning i think he was just talking about a weird edge case that happens in his game but just so you know wait 0 seconds actualy waits a single Frame İm not sure if this helps anything but good to know i guess I always use it when something happens before something that it shouldnt
Thank You :D
You: My item cost 50$ Me: FOR FRICKING BREAD??!
Amazing
Thanks for this even tho I know how to make one it’s just an easier way to make it❤️
@Muho_is_me
2 ай бұрын
Just use; When this sprite clicked İf money > 49 Change bread by 1 Change money by -50 When flag clicked Set bread to 0 Set money to 100 Its alot more smaller and it also fixes the issue of acsedently buying way too much breads becouse you holded
14:01 his stomach looks like sonic-
it is amazinggggggggggggggggggg
this type of stuff is easy ngl
@whatisthis6259
Жыл бұрын
It’s for new comers. And everyone sees things in more or less difficulty than others
Thanks dude!
Tip: instead of the or block you should just do variable1>variable2-1.
you don't need that many blocks, you can easily simplify it
Instead of doing the "forever - if mouse down and touching mouse pointer" all you need to do is grab the when sprite clicked block from the Events category.
Instead of having money equals 50 or money is greater than 50, you can just have an if money is greater than 49, it does the same thing but very slightly faster
i saw a safari now is working yaaaaaaaay🎉
thanks now i can program this in scratch
Just use when sprite is clicked instead of mouse pointer and mouse down it’s way cleaner
@Muho_is_me
2 ай бұрын
Yeah im surprised no one is saying them
Please make horizontal
Cool
Nice and good fir beginners! But you could have just done money > 49 instead of money = 50 or money > 50 still good tutorial tho keep it up!
@bb22075
Жыл бұрын
Here is the code: if > then change [score v] by ((0) - (bread price)) change [bread price v] by (25) change [bread v] by (1) Try fixing your shop with this!😊
@NowNormal
Жыл бұрын
only works with integers Edit: i fixed the typo
You can change the wait .1 sec to wait until not mouse down and place that wait block on top of the cange bread by 1 and change money by -50
Scratch: *has a block for “isClicked”* Him: If (mouseOver? && mouseDown?)
for more idea:put a sound of buying like TING or what u want
love you
using lists and clones would make this thing easier
@user-qz7zs2cz7x
4 ай бұрын
Yeps u studied for scratch
1 bread is 50$? Thats expensive ngl
@ScratchTuto
Жыл бұрын
Yeah big inflation
@ZaeNonQ
Жыл бұрын
@@ScratchTuto pov : covid
@WaterPin
Жыл бұрын
its An Apple IBread
@ZaeNonQ
Жыл бұрын
@@WaterPin pov : apple made bread
@Courett
Жыл бұрын
@@ZaeNonQ bro, stop acting like you get 5$ a month, thats literally the cheapest bread ive seen
it works! i spent hour trying to figure it out my self
@user-qz7zs2cz7x
4 ай бұрын
YOU SPENT A HOUR ON THIS, YOU ARE SO BASIC THAT YOU CANT EVENT FOLLOW SCRATCH'S TEAM TUTORIALS
You could also do when this sprite clicked, if money is greater than 49 then.
Nicee
Thats one expensive bread 🤣
@ScratchTuto
Жыл бұрын
Zimbabwe moment
@Charlie_Edits11
Жыл бұрын
@@ScratchTuto lol
if you're using more than a item, use lists instead of variables for the price
@wuiuoluminum2
11 ай бұрын
Hey, that's a pretty good idea!
@cougher9000
11 ай бұрын
@@wuiuoluminum2 also, if your using clones for buttons, use "for all sprites" instead of "for this sprite only" because if you use a local variable/list (for this sprite only) clones will have different value to the main sprite and different clones, tho if your using stamps (which most people dont do) use a local variable/list
0:01
1:15
Ok
Ok that easy i knew that always When this spire clicked If money is more than (>) 50/49 Then Broadcast: bread give (or you can have a variable which you use) Change money by -50 Boom done. This is for mobile not computer btw
I can’t see the screen it’s way to blurry
@ScratchTuto
Жыл бұрын
When i watch it in my pc its fine but im also trying to make the quality better in future so sorry for that
@windest22
Жыл бұрын
@ScratchTuto when i watch a short ,the whole half of short goes up
0:00
I subscribe
@ScratchTuto
Жыл бұрын
thx
It's easier in penguinmod because of new blocks
When this sprite clicked If Money = 50 or Money > 50 Change Money by -50 Change bread by 1
I found a easier way to do it but i have to video link it
{when green flag is clicked} {when sprite clicked} {set [money] to (100)} {if then} {set [bread] to (0)} {change [money] by (-50)} e {change [bread] by (1)}
siuu
Theres an eisier way
All i all i all i all i wanted was a bit o bred (Start)
I want to make a off brand Fortnite game whats the best way i can run a item-shop
Bread 👍
How to do mobile controls
Instead of (50 or more than 50) you could have just (more than 49)
Inflation be like:
It didn’t work on ipad
i dont undersatnd how to get the vairable to turn into to a block
The bread variable is just useless 💀
I ruined the 666 likes
I wan’t to make online shop
How can we interact with the item after buying it?
You dont need to put = and > just make ,money > 50 - 1,
why not to use money>49 boolean instead? it's easier
yo i tried this it worked but when i bought item 2nd time it didnt work it when i collected money it automatiacally buyed
more code for you Forever if money= -1 or Money
Money going to negetive 😢
why is it in a forever loop? Isn't it better and easier to just put "when this sprite clicked" ?
@Matiu42
2 ай бұрын
It is trying to make it so that "whenflag clicked" not "when this Sprite clicked" 😅
just use money > 49
There's no mouse pointer block
🗿
On mobile??
For phone????
money
Why not just; When sprite clicked İf money bigger then 49 Change bread by 1 Change money by -50 Its alot faster and you wont waste all your money when you hold *You had one job and failed miserebly*
@Muho_is_me
2 ай бұрын
Oh and have a when flag clicked to reset the varilables
Dosn't work the money is showing up and when i click nothing happens 😡
Too simple. You literally can buy a bread for all your money. Also, buyer can not understand why he can't buy it. Recommend using 2 if's to one of them to say, that you have no thats much money.
Good tip: money>49
@louisyama9145
Жыл бұрын
What if you can have decimal numbers for money (ex: 49.5), then you would get bread despite having 0.5 less money than needed. I think rounding the money down would fix the problem (if there is a way to round down in scratch)
@megahakerekk
Жыл бұрын
@@louisyama9145 money>49.9😳
IT DIDNT WORK YOU DIDNT SHOW THE FULL SCREEN
...
100%
You can just put ( if money > 49 ) Change ( bread ) by 1 Change ( money ) by -50 Easy!
Do real programming
you take too short
Bro tf who needs it i have a game in scratch retail tycoon 2 the owner is bolkata and its me just try it
@ScratchTuto
Жыл бұрын
?? maybe someone that is learning scratch
@bolikobg1034
Жыл бұрын
@@ScratchTuto ok but can you check my game on scratch its Retail Tycoon 2. The owner name is bolkata and its me pls
@windest22
Жыл бұрын
@@ScratchTuto example:me
F10 doesn’t work guys don’t use this goof
Wtf nobody needs this
@cybertrevor9466
3 ай бұрын
Shut up! He is way better than you!
meh
Very nice
0:00
I want to make a off brand Fortnite game whats the best way i can run a item-shop