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.
For a quick start however, this might help: Snap!'s list block is a reporter (ovally shaped block that reports a value and can be used as an input to other blocks (e.g. the item _ of _). If you want to use the add block to add stuff to a list programmatically, you have to create a variable.
A demo video of my latest project. The CoCube is on it's mat. On the screen there is a copy of the mat and a CoCube sprite. The mat contains black dots so the camera on the bottom of the CoCube can always know where it is. What happens on the mat happens on the screen. But you can also drag and drop the sprite to move the CoCube on the mat.
Snap! has an installable PWA option, which makes a desktop app that works offline without internet connection and still lets you access (almost) all assets and resources, such as costumes, backgrounds, sounds and libraries when offline.
10.4.0: Notable Changes: "Quicksteps" Evaluation - Dynamic Scheduling: Keep stepping non-animating processes between animation frames, makes "warp" and "turbo mode" largely obsolete for number crunching and improves musical thread synching Floating point precision random numbers - pick a random float by entering an integer with a decimal point into at least one of the "pick random" reporter's ...
Useful Tips in Snap! This is a list of the most useful tips in the Snap! editor in case you don't know. This is a wiki post, you can edit this post, but: Rules for editing Follow the above rules. Editing this post without following the rules may have a risk of being reverted. Tips (you may edit this part and below) 1 - Previous costume Do not use switch to costume ((costume #) - (1)) block and ...
I’m looking to find the minimum or maximum numeric value in a list. In an older (2020) post, I see references to green operator blocks for min and max. But I can’t seem to locate them in the Operators list. Have they been replaced by something else? Or is there another efficient way to accomplish this? Thank you.
Hello everybody! Immediately felt in love with Snap! once I got to know it, and wanted to thank you, devs and forum users, for all of your work and participation. It inspires! I have a question regarding objects' attributes. Maybe it's quite obvious as it is and/or well-explained in a certain Reference chapter I skipped, but there's the one thing I wanted to implement in my tiny deckbuilding ...
WARNING! this topic contains: strong opinions, sarcasm, rants (PG-13) JavaScript (R) 😏 ——— I'm trying to understand how I can implement JavaScript code as part of a Snap! function. Used Blockly as an input device, wrote a really simple function, tried to make the code fit into the block. I failed ... can anyone tell me what seems to be the cause? Thanks in advance!