Simple Collision Function
by Scathe
![Pool Shark Remake](https://games.phoneky.com/pics/poolsharkremakeretroarcadegames1x.jpg)
![Cursed Egg (Ellipses)](https://games.phoneky.com/pics/cursedeggellipses1x.png)
![Simple Animation Function](https://games.phoneky.com/pics/simpleanimationfunction1x.png)
![Wave function collapse - Simple tiled model](https://games.phoneky.com/pics/wavefunctioncollapsesimpletiledmodel1x.png)
![Go West RPG](https://games.phoneky.com/pics/gowestrpg1x.png)
![Graphical Artifact (GART) function](https://games.phoneky.com/pics/graphicalartifactgartfunction1x.png)
![Puzzle Cave - Raiders Of The Lost Potato](https://games.phoneky.com/pics/puzzlecaveraidersofthelostpotato1x.png)
![PICO-TASY ZONE(Fantasy Zone demake) boss rush](https://games.phoneky.com/pics/picotasyzonefantasyzonedemakebossrush1x.png)
![PICORIUS (demake of DARIUS boss rush)](https://games.phoneky.com/pics/picoriusdemakeofdariusbossrush1x.png)
![PICODIUS (demake of GRADIUS) BOSS RUSH](https://games.phoneky.com/pics/picodiusdemakeofgradiusbossrush1x.png)
![StreetWalker](https://games.phoneky.com/pics/streetwalker1x.png)
![Quest for Blue](https://games.phoneky.com/pics/questforblue1x.png)
![Inspiration.](https://games.phoneky.com/pics/inspiration1x.png)
![Dune Remake](https://games.phoneky.com/pics/duneremake1x.jpg)
![Real Time Celester](https://games.phoneky.com/pics/realtimecelester1x.png)
![Operation Pico](https://games.phoneky.com/pics/operationpico1x.png)
![Particle Effects](https://games.phoneky.com/pics/particleeffects1x.png)
![Sprite Animator](https://games.phoneky.com/pics/spriteanimator1x.png)
![Simple Rotation Example](https://games.phoneky.com/pics/simplerotationexample1x.png)
![60 FPS Interlace Color Test](https://games.phoneky.com/pics/60fpsinterlacecolortest67171x.png)
![Frozen Helm](https://games.phoneky.com/pics/frozenhelm1x.png)
![Brave Pixel](https://games.phoneky.com/pics/bravepixel1x.png)
![3D Terrain](https://games.phoneky.com/pics/3dterrain40011x.png)
![PicoPalette](https://games.phoneky.com/pics/picopalette1x.png)
![A selection of easing functions](https://games.phoneky.com/pics/aselectionofeasingfunctions1x.png)
![Stick](https://games.phoneky.com/pics/stick1x.png)
![Stick v1.01](https://games.phoneky.com/pics/stickv1011x.png)
![Pikobones - COTL dice game remake](https://games.phoneky.com/pics/pikobonescotldicegameremake1x.png)
![Thopter Escape](https://games.phoneky.com/pics/thopterescape1x.png)
![Totally Accurate Holiday Bowling](https://games.phoneky.com/pics/totallyaccurateholidaybowling1x.png)
![Orbital v1.0](https://games.phoneky.com/pics/orbitalv101x.png)
![Aztec - LOWREZJAM 2022](https://games.phoneky.com/pics/azteclowrezjam20221x.png)
![piColossal Adventure](https://games.phoneky.com/pics/picolossaladventure1x.png)
![Clever Pixel - LOWREZJAM 2020](https://games.phoneky.com/pics/cleverpixellowrezjam20201x.png)
![DOOMY a tiny FPS in 1024 bytes](https://games.phoneky.com/pics/doomyatinyfpsin1024bytes1x.png)
![Ursa Maior](https://games.phoneky.com/pics/ursamaior1x.png)
![Picoport 0.1](https://games.phoneky.com/pics/picoport011x.png)
![Aeroplane Adventure 1.9](https://games.phoneky.com/pics/aeroplaneadventure191x.png)
![Platformer engine with crates and moving platforms](https://games.phoneky.com/pics/platformerenginewithcratesandmovingplatforms1x.png)
![No Broomstick in the Mall](https://games.phoneky.com/pics/nobroomstickinthemall1x.png)
![Super PICO Runner Brothers](https://games.phoneky.com/pics/superpicorunnerbrothers1x.png)
![The Dead Should Die](https://games.phoneky.com/pics/thedeadshoulddie1x.png)
![Lander](https://games.phoneky.com/pics/lander1x.png)
![straycatcity](https://games.phoneky.com/pics/straycatcity1x.png)
![Lander on Planet Cheese](https://games.phoneky.com/pics/landeronplanetcheese1x.png)
![Attack of the Green Blobs](https://games.phoneky.com/pics/attackofthegreenblobs1x.png)
![Red Barron 2.3](https://games.phoneky.com/pics/redbarron235931x.png)
![Platformer Base 1.0](https://games.phoneky.com/pics/platformerbase101x.png)
Simple Collision Function
I've seen some questions about how to do collision detection in Pico-8, so figured I'd make another bare-bones demo, this one demonstrating collision detection with map tiles andor world bounds. The function itself is 24 lines and 125 tokens, and includes flags for turning collisions on or off on an object (such as the player). Here's the full function: