Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

1411506 Posts in 69374 Topics- by 58429 Members - Latest Member: Alternalo

April 25, 2024, 10:39:16 PM

Need hosting? Check out Digital Ocean
(more details in this thread)
TIGSource ForumsCommunityDevLogsBlocks of Life (Conway's Game of Life meets SimEarth)
Pages: [1] 2 3
Print
Author Topic: Blocks of Life (Conway's Game of Life meets SimEarth)  (Read 4656 times)
nuno
Level 2
**


View Profile WWW
« on: January 25, 2018, 04:40:05 AM »

Check this "Launch" post for links to download the game: https://forums.tigsource.com/index.php?topic=63846.msg1375532#msg1375532

Hi all!

Frustrated with my latest developments, I decided to work on a small scale game, which I plan to finish in just 1 or 2 months.

Introducing: Blocks of Life

(I'm going all-in the "great artists steal" thing Tongue)

It's a game-of-life simulation, but using lots of different cell-types, which interact differently with one another. I'm using natural elements, biomes, etc for cell types (for now: water, plain, forest, mountain). Eventually add complex things, like human villages (or cities, as the game-time progresses), maybe animals.

You receive "blocks"(cells), and you can place only the head of the stack, after which the next one will be available.

So not only you have to manage the simulation going on (and try to make it Thrive!), but also paying attention on how to use the blocks you have available.

The game map is limited when you start, and will slowly increase to allow you to expand (think mini-metro)

Here's my first screenshot :D

« Last Edit: March 21, 2018, 03:06:55 AM by nuno » Logged

nuno
Level 2
**


View Profile WWW
« Reply #1 on: January 26, 2018, 03:07:03 AM »

While my mind races with ideas on how to expand and make this a complex-and-interesting-enough simulation, I'm for now trying to come up with a "minimum viable product" and then iterate from there.

I'm basically trying to decide on the cell "types", and how the interaction is done during the simulation. For a start, I'm considering a basic set of : plains, water, mountains and forest.

Unlike Conway's game of life, the simulation wont happen per "cycle", but will be more realtime. I don't want tiles to change suddenly, but to allow the effect of neighboring tiles to affect them gradually. When a certain threshold is met, then the tile changes.

The question now is how to make each tile affect tiles around it, and what are the conditions and triggers to begin affecting tiles.
I've been thinking in a way of how certain tiles help others to thrive (in terms of life), damage it, or are neutral.

For instance, a water tile is beneficial to a forest tile. But perhaps if there is too much water surrounding just one forest tile, it might turn it into something else, like a swamp (forest+water). In this case, it gets really complex, because I need to consider how each tile might affect other tiles individually, not just in terms of being positive or negative.

One way to do this was to give each tile a certain quantity of each of the natural elements, and hardcode how much each type has of each natural element. Let's say: forest has "10% water", "20% earth", "70% wood", while a water tile has "100% water". So the water tile next to a forest tile, would GIVE Water*1*Z(some variable here), and receive Earth*0.2*Y + Wood*0.7*Y

In the meantime, I decided to change the gridmap a bit, and is now a bit more "hex-like", each tile has 6 neighbors instead of 8

« Last Edit: January 26, 2018, 03:38:13 AM by nuno » Logged

nuno
Level 2
**


View Profile WWW
« Reply #2 on: January 29, 2018, 10:57:40 AM »

I figured out that my previous approach to make a nice simulation was taking too much time and getting me in a big risk of boring me out of this game  Cheesy

So for now I'm making it simpler just to get things moving, and then I'll come back to it later to add more complexity and realism.

I expanded the cell types to 7, now including desert, marsh and swamp.

I've also redone the sprites for each cell type and converted the map to an isometric style, looking much better Smiley

Tomorrow I'll begin the simulation itself, so the game will actually start to come to life Smiley



Logged

Penguinoccio
Level 0
**



View Profile
« Reply #3 on: January 29, 2018, 04:33:06 PM »

This looks like it will be interesting
Logged
nuno
Level 2
**


View Profile WWW
« Reply #4 on: January 30, 2018, 08:42:39 AM »

Ok, first basic simulation code done.

Here's nature getting in balance, and forests taking over :D

Logged

nuno
Level 2
**


View Profile WWW
« Reply #5 on: January 31, 2018, 04:01:49 AM »

made some minor UI improvements, and also coded a few options to allow for (possible) future gameplay modes.

first, the player "square" color changes to highlight if it is or not possible to act on the current tile



secondly, a mode where the playable map "grows" as you place blocks, and can never place any block unless its edging an already existent one

Logged

woodsmoke
Level 4
****



View Profile
« Reply #6 on: January 31, 2018, 06:52:40 AM »

Isometric view looks excellent and I like simualations like this. Following!  Blink Blink
Logged

nuno
Level 2
**


View Profile WWW
« Reply #7 on: January 31, 2018, 09:21:02 AM »

I'm at a "fork on the road" right now, trying to figure out where to go from here.

Still not sure if the whole Tetris thing is going to be too disruptive to the simulation aspect or not.
Right now, this is how my idea looks like for the game progression (totally subject to change):

The game is divided into Eras(levels), which will advance as time passes by.

Each Era has its own game speed (on the simulation level), and introduces more complexity to the game.

1st Era is like a terra-gen level. You can only place mountains, deserts and water tiles. Basically, laying out some parts of the map.

2nd Era life begins. You can now place grasslands, forests, and the simulation will also create marshes and swamps.

3rd Era life develops. Animals and pre-historic human beings?

4th Era. Modern human beings

5th Era ??

So the goal is? Dont know  Cheesy Perhaps it could be something like having the greatest biodiversity of species, or helping humanity to develop in a nice way and achieve some goal? or just a time based goal? (game ends when everything is destroyed and there is no life left)

Not sure how to pull this, but as humans develop they will have an impact in the tiles around them. For instance, in the modern era, too many cities in one place means water will become polluted and forests die out.

I'm also thinking about introducing tiles that are not placed on the map, but affect the map. For instance, a "fire" tile will begin a wildfire at that tile. A meteor will destroy tiles in a certain radius, etc. (inspiration from simcity 2k :D)

Not sure if the player would also "place" life in tiles, or it would develop by itself...

Any cool ideas to enrich this simulation? :D
Logged

SchriefFighter
Level 1
*


View Profile
« Reply #8 on: January 31, 2018, 10:07:05 AM »

When in doubt, try out a bunch of different things. See if anything "fits" the game.
Logged
nuno
Level 2
**


View Profile WWW
« Reply #9 on: February 02, 2018, 07:34:19 AM »

Hello folks!

Today's update includes many new shiny things (well, almost).

Camera
Now the game has a camera, which moves around with the player, so the map can be bigger than the screen.

Volcanoes
Volcanoes are a thing! They erupt, burning or creating new tiles around them. They will be more likely to appear at the initial stage of the game, during terraforming. But they also last an unexpected span of time... so you never know when one might erupt again Smiley When a volcano becomes extinct, a mountain takes its place. GIF below (sorry, there is no visual feedback on when the volcanoes erupt, you just see the surrounding tiles changing)



Wasteland
A new tile type, which is basically a burnt grassland/forest. Results from volcanoes and wildfires (see below)

Wildfires
This will be one of the "disasters" that will appear in the game. Not sure if the player will "place it" at will, or if it appears by its own.
Fires spread according to tile types. GIF below



Eras
Right now the game has 4 main eras (stages). Each era has a different speed for the simulation, and different tile types become available of disappear.
In the first era (terragen), the player can only place water, desert/bare, volcanoes and mountains. In the 2nd era, life is introduced (not sure how), so grass/forests and everything else will appear.

More to come sooooon Smiley
Logged

nuno
Level 2
**


View Profile WWW
« Reply #10 on: February 02, 2018, 12:40:03 PM »

Recorded a live playing of the game, with me narrating whats happening and mumbling about ideas and questions :D



Logged

katastrophic88
Level 0
**


View Profile
« Reply #11 on: February 02, 2018, 01:23:28 PM »

I think switching to isometric was a great idea. It really makes it more interesting from an aesthetic standpoint. I think you have a great concept here. Looking forward to reading more of your updates.
Logged
nuno
Level 2
**


View Profile WWW
« Reply #12 on: February 15, 2018, 08:54:23 AM »

Back from a 1+week of no work due to work and life stuff...

Anyway, I'll post soon some new gifs of small changes I did, that allow for more varied play modes. I'm doing this to keep possibilities as open as possible, since I'm not totally clear where to go with the game Wink

Not much done with the simulation part, except improvements to the fire spread which is now more realistic and not totally devastating Smiley

In the meantime, I also spent a few minutes to improve the UI a bit, because I was getting tired of transparent rectangles :D

here's a screenshot of how it looks now

Logged

nuno
Level 2
**


View Profile WWW
« Reply #13 on: February 28, 2018, 01:54:30 PM »

Hi guys! long time no update Smiley

Lots of personal stuff got in the way, including my grandfather's passing.

I've been thinking a lot about this game and was just about to give up on it, due to not finding clarity about its purpose and gameplay. Today I launched it again and had some fun tweaking stuff, got some motivation to work a little and ended up spending my entire day doing improvements.

So I won't drop it, but I decided to cut the features and release a simpler version of this toy/simulation for free... when it's ready Smiley

Today I tweaked a lot of the simulation stuff, to slowly introduce life forms. Right now only microscopic life exists, which is introduced in the 2nd era and will allow grass and marshes to appear.

I also decided to disable many of the different play modes I tried, because I didn't find any purpose for them. So right now the game map expands without limits, but the player has to place new blocks in the edges of existing tiles (no free place).



Hopefully I'll find someone who likes the idea and volunteers to help making some decent tiles Smiley
Logged

lithander
Level 3
***


View Profile WWW
« Reply #14 on: February 28, 2018, 04:47:57 PM »

Well, I actually like the tiles allready. Wink I think the concept is very interesting but was kinda hoping for a turn-based puzzle game instead of something realtime/arcade. If the interaction between neighbouring tiles are intuitive then planning some X tiles ahead to find terraforming combos could be very rewarding! I'm also not sure how in your game I can measure my progress/success? Games like Candy-Crush just reward your moves with scores and ask you to achieve a score above X within Y moves. Maybe that's not the worst idea...
Logged

tjpalmer
Level 1
*



View Profile
« Reply #15 on: February 28, 2018, 07:31:29 PM »

I think being forced to choose a place for a fire as a turn could be interesting if the mechanics are worked out well for that.
Logged

nuno
Level 2
**


View Profile WWW
« Reply #16 on: March 01, 2018, 02:06:37 AM »

Well, I actually like the tiles allready. Wink I think the concept is very interesting but was kinda hoping for a turn-based puzzle game instead of something realtime/arcade. If the interaction between neighbouring tiles are intuitive then planning some X tiles ahead to find terraforming combos could be very rewarding! I'm also not sure how in your game I can measure my progress/success? Games like Candy-Crush just reward your moves with scores and ask you to achieve a score above X within Y moves. Maybe that's not the worst idea...

by turn-based you mean the simulation going forward only when the player places a tile? Could be... maybe I'll try 2 different modes Smiley
I do enjoy watching the simulation run without me interacting. I think the puzzle approach works best for fixed-size maps, which isn't the case here, the map has to grow has there is no way to remove tiles (like in puzzle games when you match then get deleted)

I was thinking that the way to measure progress was measuring the "thriving" factor of the world. This will make more sense as more life species are included in. The more diversity you can have, the more score you get. Some species need forests, others need grass, others desert etc. So depending on how the world develops, some species can thrive and others die. The challenge would be to create environments for all to exist.

Then humans come and mess everything up :D
Logged

Pixelologist
Level 1
*


View Profile
« Reply #17 on: March 01, 2018, 05:51:08 AM »

You mentioned tetris, but I don't see any tetris shaped blocks when you're placing land tiles. What are your plans for including those?
Logged
nuno
Level 2
**


View Profile WWW
« Reply #18 on: March 01, 2018, 06:18:02 AM »

You mentioned tetris, but I don't see any tetris shaped blocks when you're placing land tiles. What are your plans for including those?

I'm not replicating tetris, just taking some ideas. The blocks arrive via the stack on the left, and you have to place them in the map. If the stack is full(reaches the top) you loose. Although I'm not clear if I want this or let the player play at his own pace

maybe Conway's Game of Life meets SimLife+SimEarth+Spore would be a more precise title Wink
Logged

nuno
Level 2
**


View Profile WWW
« Reply #19 on: March 01, 2018, 08:20:26 AM »

sheeps and wolves :D

Logged

Pages: [1] 2 3
Print
Jump to:  

Theme orange-lt created by panic