Thanks for sharing. It is nice that there are comments in the code. Maybe beginners would also enjoy to see how to add sound effects?!
Thanks I need to comment even more! Yes I still need to add sound!
I added an audio context with music, lasers and explosion sound effects and added it to the demo code. I also added more objects to the target array. I hope to make more updates this week.
Great! Thanks for adding sounds! From my point of view it is now complete.
Keeping it simple is essential for starter code. If there are too many things, it might be difficult for a beginner to grasp all of it. One possible approach it to keep the starter code really simple, and have another more advanced starter code. For example, keeping some score and showing it as an overlay over the graphics, might be in the advanced starter code. Having a 3D model as a gun - also in the advanced starter code. NPC – also in advanced starter code.
PS. You may keep the previous version as an ultimate starter code (for absolute beginners).
That’s the plan…Maybe something like this Minecraft like demo I have been working on. Simple gun with some more advanced instructions.