So in summary you need the functions create_shovel, and update_shovel. The main game loop should call CALL SPRITE every frame. Then just call CREATE_SHOVEL whenever you want to make a new one.
CREATE_SHOVEL just creates a new shovel sprite. I return the shovel's id/handle if successful and -1 if we ran out of sprites. Note the SPFUNC call. That says what function you want called. The desired function can't take parameters or return values.
If you want to create new shovels without the hero sprite you just need to duplicate line 72's CREATE_SHOVEL call in the hero's update function.
When you call CALL SPRITE, in the main loop, it will call UPDATE_SHOVEL for every shovel sprite. UPDATE_SHOVEL is where you put the code to move or delete (SPCLR) your shovel. Note, CALLIDX is your sprite's id/handle here. I use SPVAR to save and load each shovel's unique state information.
Ok, so a good part of how this works is SPFUNC. Using that, you can make sprites move themself around. Also you have to put in CALL SPRITE in the game loop. If you look at the code, lines 13 to 20 is the game loop and line 17 says CALL SPRITE. This is the code where you update the game once per frame.
Next we have a pair of functions CREATE_SHOVEL (lines 38-56), and UPDATE_SHOVEL (lines 77-92).
My number guessing example code sounds like what you are looking for. You can download it by entering the key: 8E7Y33G4
Please give it a download, run, and read and let me know if you have questions.
Even with a framework there is lots of coding to do, and web developers code in several languages in concert. It isn't easy street.
Anyway salary levels will vary wildly depending on where you live. Costal California and New York City pay a lot more, but cost more to live there. I would expect an entry level programmer to make between $30-50k. But your state employment website has better numbers.
Banks, Marketing firms, Insurance, the State. Lots of places need programmers. Try going to a job site and search around. You should be able to see what technology is in demand in your area.
Instead of coding games, I am going suggest you concentrate on languages you can find a job with. In my opinion you should first aim for web developer. That seems to be where most of the jobs are. So I recommend. JavaScript, C#, SQL, and ASP.Net. Game developers are treated horribly. Just look up the EA spouse letter. If you want app development Objective C/Swift for iphone and Java for Android.