Game of Life but XXXXXL banner

Game of Life but XXXXXL

6 devlogs
4h 36m 21s

Game of life but reeeaaaaallllllllly big, like probably billions of pixels in size thanks to sparse encoding.
You can hold the Space Bar to start/pause the simulation, use the Middle Mouse Button to move around, the Mouse Scroll to zoom and un-zoom, the Left Mouse Button to place a pixel and Right Mouse Button to place 10k in a 100 x 100 area (makes very cool structures btw). Uses OneLoneCoder’s Pixel Game Engine.

Demo Repository

Loading README...

koshivf

Here’s a big brush no one asked for…
(yes when you hold it then play the simulation using the space bar it does this coll animation)

Attachment
0
koshivf

Finally managed implementing sparse encoding (with “active” and “potential” cells) as well as zooming and panning to better visualize the sheer size of the world (though the panning works terribly bad and is hard to use lol)

note: it does seem like there is a size_limit at one point when you keep un-zooming

0
koshivf

You can now add cells yourself to interact with the game, but at 400 fps it may happen a bit too fast for you to see and enjoy…
(edit: mb small typo in the program I put a - instead of a + so the cells behaved completely differently. Now it’s fixed and it works way better)

0
koshivf

I switched from the console to using OneLoneCoder’s Pixel Game Engine.
It seems better suited for this project though again some slight dimension issues need to be fixed
(or rather I don’t know why the cells only appear in a square instead of the whole window)

Attachment
Attachment
1

Comments

chefpenguino
chefpenguino 29 days ago

woah looks trippy

koshivf

Seems like the ground mechanics now works and it’s very smooth performance-wise, though there are obvious dimension issues.
(Ngl I took some parts of other Game of Life programs as it’s just basically the same everywhere and it seemed like a waste of time to rewrite the entire game.)

Attachment
0