Це відео не доступне.
Перепрошуємо.
Making Shops in Makecode Arcade
Вставка
- Опубліковано 24 кві 2023
- Learn how to make shops or stores in Makecode Arcade! Here we make a sprite that acts as a merchant or a shopkeeper, and we can spend coins in exchange for power-ups/items! Enjoy!
thank you very much! your videos are a big help for my coding class; greetings form Mexico city!
do you know how I can get rid of the coins i have spent on the upgrade once I have bought it? thank you!
Add a "change coins by ((cost) * (-1))" into the purchase function, in the same place where you give the player the item.