New answers tagged lua
2
votes
Optimizing falling sand simulation
This is how I parallelized falling sand:
The screen is divided into cells, 1 per pixel
The first kernel computes the direction each sand cell wants to go. Let's call this "push".
The second ...
Top 50 recent answers are included
Related Tags
lua × 259c++ × 52
love2d × 50
roblox × 28
scripting × 26
corona-sdk × 22
mathematics × 12
entity-system × 12
collision-detection × 10
2d × 9
physics × 8
architecture × 7
procedural-generation × 7
c# × 6
game-design × 6
algorithm × 6
ios × 6
component-based × 6
tilemap × 5
modding × 5
java × 4
android × 4
3d × 4
rendering × 4
rotation × 4