This is a fun mini-project showing one way to bypass scratch's fencing. It's very janky, but this is scratch. I don't have many options when it comes to this stuff. There are two main features of this project. The first is a simple shrinking circle animation. (please note that it will probably not work correctly if you experience any lag or stuttering) When you first start the project, press space to start the animation, Click when the animation is done to restart. The circle will follow your mouse movements, as a bonus feature. You can also press B to change the circle to the Mario 64 bowser icon. Press V to change it back. Press X to enable a red fade effect, and C to disable it. Press F to enable the flashlight. Pressing F again disables the flashlight. You can press G to toggle the flashlight mode, but also to access the target practice minigame. Upon switching to the scope flashlight, this activates a minigame. You have a gun now, which can shoot with LMB, and has 5 bullets, which can be reloaded by holding down R. By default, ammo is the only active modifier. However, there are a few more modifiers. Picking harder modifiers gives you a higher score multiplier. To start off, windspeed causes the game to randomly pick a "windspeed" every 60 seconds, or every new "day". This will offset your shot by the given value, to the left (west) or right (east). Your scope gives you visual information on what the offset is. Sway will make your weapon sway around the position of your mouse. You can hold space to stabilize your shot, but this will use up stamina. If you are not stabilizing, your gun will sway more the lower your stamina is. If you reach 10 stamina or below, you will become exhausted, and you cannot stabilize your shot until you have 60 stamina. A pair of lungs represents your stamina. Jamming will give your shot a random chance to "jam" and will stop you from shooting until the gun is unjammed. When jammed, the game will automatically try to unjam the gun. There is a maximum and minimum amount of time a jam will last, so it won't get jammed for very long or very little. The "jamming frequency" slider changes the odds of a jam happening. the lowest amount, 1, makes every shot jam, while 100 makes only 1 in 100 shots jam. Spawn visuals causes any spawning targets (when not in practice mode) to illuminate themselves when they first spawn, but only for a short time. This includes escorts, which will be mentioned later. Full vision removes the dark barrier from the screen, allowing you to see everything on screen. It also changes the scope to have a full body, and more animations. There are 4 game-modes. No fail, Time-Span, Defense, and Escort. In no fail, there is no fail condition. Targets spawn, and only leave when shot. Time span makes targets escape if they survive too long. This will get rid of your streak, or subtract 1 life if you have it enabled. Defense adds a central defense point. Enemies cannot spawn on it or close to it, but they can run into it. After 15-30 seconds, they will charge at the defense point, and take 1 life and end a streak. Escort changes the defense point to a "goal point". Escorts spawn on the edges of the screen and try to make their way towards the goal. They get scared if too close to targets, making them move at half their speed. If they get REALLY close to a target, they enter panic mode, and run around randomly (Except into targets) until they stop panicking. You can press T to stop targets, and adjust them Incase they aren't pointed toward the goal point, and you can press V to use a parry, which causes all escorts to release a shockwave on themselves which will kill any targets that touch it. You have 1 at the start, but you can get more every 10 streak points. Targets do not seek out escorts, they only move around randomly. Lives are optional, but you only get five when enabled. Once they are out, you are sent back to practice mode, and your score, streak, and Speedrun are reset. They are represented by red outlines on your bullets. You can regenerate lives over-time. Q and E toggle difficulties, which are practice, easy, normal, and hard. You get more score for picking harder difficulties. You get points toward your streak by hitting targets. Missing a target resets your streak. A regular hit gives 0 points, a bull gives you half a point, and a bullseye gives you 1 point. You are given more score for a streak above 10, but points are only given once it is lost. Press P to start a Speedrun. Speedrun scores are not stored within any cloud variables, so all you can really do is screenshot the speedrun result message. A more reliable method to save speedruns is in the works.
Instructions summarized: Start controls: LMB - change backdrop Space - Activate shrinking circle effect B-V - toggle bowser X-C - toggle fade to red F - toggle flashlight G - change flashlight mode (Scope minigame is the second flashlight effect, but there are more after it) Scope mini-game controls: LMB - Fire, interact with practice mode UI (Gun will not fire when the mouse is touching the UI) R (Hold) - Reload (Ammo modifier) Space (Hold) - Stabilize (Swaying modifier) Q, E - Change difficulty (PRACTICE, EASY, MEDIUM, HARD) P - Start speedrun (WR is not tracked in a cloud variable) T (Hold) - Halt escorts (Escort mode) V - Parry escorts (Escort mode) Game-modes: No fail: No lose condition Time-Span: Lose if target survives too long Defense: Defend point Escort: Bring escorts to center Modifiers: Ammo - if ammo runs out, you need to reload Sway - Gun moves to random positions in relation to mouse position Windspeed - Shot is offset to east or west based on windspeed Jamming - Gun will jam randomly based on a pick random 1 to jamming frequency Vision - Blindness is removed Spawn Visuals - Targets and escorts are visible for a tiny period after spawning Lives - 5 lives, displayed as red outlines on bullets, losing all 5 ends the run. Lives regenerate over-time when below 4 lives Extras: Streak - Streak of 10 gives more points than streaks below 10 Accuracy - Shoot the green part for a bullseye (1 streak point), shoot within the first white circle for a bull (0.5 streak points), hit the target for a regular hit (no streak points, continue streak) missing will end your streak, along with failing to meet the objective of the game-mode