Swarmulation | Rock Paper Scissors Special Edition

Swarmulation | Rock Paper Scissors Special Edition

by 1080GBA

👁 302 ❤️ 30 ⭐ 21 🔄 0
Created: Oct 17, 2022 Last modified: Nov 11, 2022 Shared: Oct 17, 2022

Description

===CREDITS=== ==inspiration== project | https://youtube.com/shorts/D86dl1Hc5uI (the video was posted after i shared the main version of this) ==costumes and effects== top left corner UI | 10% by @skyhigh173 mouse repulsion effect | 50% by @skyhigh173 thumbnail | by @1080GBA (me) ==code== main simulation code | by @griffpatch all listed features in instructions | by @1080GBA (me) all other code | by @1080GBA (me) ==music== Shapez.io music | by Peppsen (YT) ===NOTES=== Ah yes best UI i made ever lol Computers recommended Turbowarp: https://turbowarp.org/723183155?interpolate&fps=60&hqpen&clones=Infinity&offscreen ===TAGS=== #all #trending #AI #boids #simulator #simulation #sandbox #boid #boids #games #clone #griffpatch #rock #paper #scissors #rock_paper_scissors

Instructions

====IMPORTANT==== - use turbowarp: https://turbowarp.org/746746246? interpolate&fps=60&hqpen&clones=Infinity&offscreen - original version: https://scratch.mit.edu/projects/723183155/ ===INTRODUCTION=== Welcome to Swarmulation! As the name suggests, this is a swarm simulation. Here, your can simulate boid colonies with different variables to tweak and see how the boids react to the change! You can even have dark/light mode controls (by pressing c) and trail sizes! Also, besides the new boid types in the simulation, if a rock touches paper it turns into paper; if a paper touches scissors it turns into a scissors; if a scissors touches a rock it turns into rock. ===CONTROLS (11)=== Click the gear (or anywhere near) to enter settings Number keys (1-3) to switch boid types of the next boid - 1:Rock 2:Paper 3:Scissors Arrow keys to switch boid types of the next boid R to reset simulation variables C to switch between light/dark mode Space to spawn boids ==settings controls==(only available in settings) Drag the boids to anywhere* Number keys while hovering over a boid to switch type Tweak variables for simulation ==playmode controls==(only available while simulating) Click anywhere* to drive the boids away! Click the top left corner to switch boid types *except top-left and bottom-left corners ==simulation variables* (5)== desired boid speed: each boid's normal speed speed resolve: how fast boids return to above speed boid view range: how far the boids can see separation: how far apart the boids want to be cohesion: how close the boids want to be direction alignment: how aligned the boids are *variables related to distance are affected by map size ==FEATURES (10)=== Settings page (click gear to open/close) Simulation pausing in settings Boid types Boid type switching (+ auto) Boid amount control FPS counter Boid counter (+ each type) map size controls light/dark mode controls trail size and length controls Spawning boids Graph page ==KNOWN BUGS (10)== (don't comment bugs listed) Boids' view range cannot warp around the edge ==FUTURE FEATURES (7)== (suggest in the comments!) Add obstacles Add a boid types counter Delete individual boids in settings page Simulation variables for each type of boid No warping around the map (can choose to enable) Mobile friendly for spawning and switching boid types

Project Details

Visibility
Visible
Comments
Enabled