Posts tagged with :sprig-dino:
Text
class as a textObject
closure. I did this because private properties in functions were causing syntax errors in my physical Sprig, and I didn't want to just prefix it with something like _
because it doesn't actually enforce private-ness. With a closure, I can have variables out of scope for consuming code. I did the same with GameObject
-> gameObject
, Command
code.
Plot twist: when I opened the Sprig editor to take a screenshot for Scrapbook, my changes were magically there! Maybe I had multiple tabs or something and one was out of date. I should commit this tomorrow because it's getting late.i
for a debug menu! (Note: most of the lag is out of my control, the sprig emulator has iffy performance. Hopefully I can get it working on a real sprig!)
Play: sprig.hackclub.com/share/zqNUQdjMUesAvefyCHnK
Code: github.com/jeremy46231/sprig/blob/2f9116/games/off-grid-platformer.jsSomething Fishy
. It's a fishing game, now with multiple levels, better design, more complex controls, background sound, and more.
gh repo: github.com/suryaanshah/Something-Fishy-Sprig-Game
❗ Important note: One of the session had hakuun down so it actually lasted 75 mins instead of 60.