Forum Discussion

AndrewBlemings-'s avatar
AndrewBlemings-
Community Member
8 days ago

We're Choppin' Wood, Y'all

I wanted to develop a quick prototype that leveraged JavaScript to modify a progress bar, calculate some math, and move an image to follow the pointer. There isn't much to it beyond what you see in the first five seconds, but some of the general mechanics of gamification are present and can scale up.

Chopping Wood | Review 360

The .story file is available for download from the version dropdown:

 

2 Replies

  • This is super neat, AndrewBlemings-​! I'd love to know what larger contexts you can see yourself using this in, or if there's a next step to it you're thinking about?

    • AndrewBlemings-'s avatar
      AndrewBlemings-
      Community Member

      Thanks, Mary Emma! I don't have any plans for evolving this particular project more, but my aim definitely was to combine a few different JS-related mechanics together into something thematically cohesive.

      I've developed a prototype elsewhere recently that changed the mouse pointer to an image of a barcode scanner, so this file leveraged that a bit, using a hitbox to make the pointer more conditional (the axe only follows the mouse when over the tree.)

      I have a personal affinity for progress bars and wanted to get one coded in SL, something I hope to further leverage in future content for my employer, whether it be a hint button that has a cooldown period after each use (indicated by a progress bar) or a more gamified indicator of a character's stress or health level.

      I do also see a lot of potential with the exposed update() loop SL now offers so I was curious to implement a more nuanced kind of learner input, specifically one that requires the learner to click-and-hold as opposed to the simpler click-once type of trigger I've traditionally created. I don't have a specific implementation planned for this mechanic, but it's a building block of interaction I'm sure I can use to elevate future content.