Hello, and welcome Snap!. It is recommended that you start a new topic for things like this, seeing as this topic was about helping kingico1133 in particular with their game, not help making games in general. In answer to your question, you may want to check out the (pick random (1) to (10) block. This will produce a random number in the specified range. You can then use the glide block like ...
Snap!6 is here, and it's all about scale. Thousands of miles apart, yet online together, our team of UC Berkeley researchers, SAP engineers and educators from multiple countries and continents just had a party releasing the biggest update to Snap! for years. Over the past months we've rewritten Snap's Morphic kernel to optimize graphics rendering while demanding significantly less memory. And ...
Snap!6 is here, and it's all about scale - Blog - Snap! Forum
We’ve just released @SnapCloud v10.5 featuring sound recording capabilities on iOS devices and a new block for getting tilt sensor data from your phone or tablet ...
So I have had to work sideways, using SNAP! whilst that could work on both platforms without using any custom blocks. Your solution, unique to SNAP! is a very good example using SNAP! Good for your older students, perhaps, but hopeless for my young coding students!
List tutorial - update - Tutorials (Here's how to...) - Snap! Forum
Snap! is a blocks-based programming language built by UC Berkeley and used by hundreds of thousands of programmers around the world. (Also, ignore the costumes for the enemy, sword, and player, and how tile collision doesn't work correctly with those costumes. Those are placeholders, and once I have the actual costumes, it will work much better.
Scripts, unsaved changes and save blocks are mine. I got the idea to make them from looking at the Snap! API on Github and the saving source code.