ScratchData LogoScratchData
Back to TinyCaliber's profile

tinycaliber's Ammo System

TITinyCaliber•Created May 13, 2018
tinycaliber's Ammo System
0
0
10 views
View on Scratch

Instructions

click the buttons

Description

based off of an ammo system on a project that has yet to be published (and probably never will be) this is probably the best kind of ammo system, with support for different types of mags (such as pistol mags containing 12 bullets, sniper mags containing 5 bullets, revolver mags containing 6 bullets, and so on) as well. -------------------------------------------------------------------------------------------- I have yet to implement the ability to choose which kind of gun that you would like to shoot. I have experimented with this, though, and found a massive bug. You are able to switch gun types fine, however when you click the "shoot" button, it will not subtract one bullet from the "bulletsInMag" variable. I did not see any flaws in the code. If someone is able to find the solution to this problem please let me know.

Project Details

Project ID222634115
CreatedMay 13, 2018
Last ModifiedSeptember 16, 2020
SharedMay 15, 2018
Visibilityvisible
CommentsAllowed