--- link: https://www.youtube.com/watch?v=VLZjd_Y1gJ8 author: John Jackson date: April 23, 2020 rating: 4 --- # Recreating Noitas Sand Simulation in C and OpenGL | Game Engineering #C++ #OpenGL #Game #Engine #Games Exploring and attempting to recreate Noitas "Falling-Sand" Simulation from scratch using C and OpenGL. Be sure to like and subscribe, you cool people. That way I can continue to make more vids like this. NOTE: Theres a typo @2:07. I wrote "bytes" when it should be "bits" for the gs_vec2, color_t, and b32 member variables for the particle struct. So the overall size should be *drastically* different (only 24 bytes in total). Sorry for the confusion! 00:00 - Introduction 00:33 - Gunslinger 00:58 - Research/Resources 01:13 - Cellular Automata 01:52 - Sand Algorithm 03:15 - Water 05:25 - Wood/Walls 05:53 - Fire 06:32 - Gunpowder/Salt/Lava/Oil/Acid 07:37 - Polish/UI/Drag-Drop Images 08:56 - Final Sand Sim Presentation / Exploding Pictures Project source: https://github.com/GameEngineering/EP01_SandSim Gunslinger: https://github.com/MrFrenik/gunslinger/ Get Noita: https://store.steampowered.com/app/881100/Noita/ Get Powder Toy: https://powdertoy.co.uk/ Music: Blue Dot Sessions - Lakdeside Path: https://www.sessions.blue/?fwp_sessions=duck-lake Resources Used: Nolla Games GDC: https://www.youtube.com/watch?v=prXuyMCgbTc&t=0s Noita Gameplay Showcase - https://www.youtube.com/watch?v=1pUItG5RUTM&t=0s Noita Technical Explanation - https://www.youtube.com/watch?v=0We8a8AFPp8&t=0s Game Of Life: https://www.youtube.com/watch?v=ouipbDkwHWA&t=84s Game Of LIfe: https://www.youtube.com/watch?v=C2vgICfQawE&t=322s Stuff To Read: https://medium.com/starts-with-a-bang/it-from-bit-is-the-universe-a-cellular-automaton-4a5b1426ba6d https://80.lv/articles/noita-a-game-based-on-falling-sand-simulation/ https://maxbittker.com/making-sandspiel Special Thanks: Guilherme Teres from Uniday Studio: https://www.youtube.com/channel/UCntWQfGQ_KN4ABafiwSiuGA/featured Everyone in my Discord channel. Thanks for hanging around and being awesome.